Lines Matching refs:chips
215 - the chips field of register mappings is sorted
217 Lazily computes the set of all chips mentioned by register mappings.
239 chips = set(getattr(regmap, 'chips', ['undef']))
242 self.__chips.update(chips)
250 other_chips = getattr(other, 'chips', ['undef'])
255 other.chips = sorted(list(chips.union(other_chips)))
268 other_chips = getattr(other, 'chips', ['undef'])
270 type_ref != other_type_ref and chips.intersection(other_chips):
537 def chips(self):
539 Yields all chips.
544 def merge_chips(self, chips, newchip):
546 Merge register mappings of the given chips into a single chip of the
551 chips = set(chips)
560 if chips.isdisjoint(regmap.chips):
566 if chips.isdisjoint(other.chips):
570 'Attempting to merge chips with incompatible addresses of {0}'.format(regmap.name))
662 regmap_accum.chips = [newchip]
666 joining_chips = chips.intersection(regmap.chips)
670 remaining_chips = set(regmap.chips).difference(chips)
674 regmap.chips = sorted(remaining_chips.union([newchip]))
680 regmap.chips = sorted(remaining_chips)
717 chips = getattr(regmap, 'chips', [])
718 suffix = '_' + chips[0] if chips else ''
786 if 'chips' in regmap:
787 regmap['chips'] = placeholder(regmap['chips'])