Lines Matching refs:chips

62 def get_disambiguation_suffix(chips):
65 is supported in the given set of chips.
67 oldest_chip_index = min([get_chip_index(chip) for chip in chips])
70 def get_chips_comment(chips, parent=None):
72 Generate a user-friendly comment describing the given set of chips.
76 parent is an optional set of chips supporting a parent structure, e.g.
77 where chips may be the set of chips supporting a specific enum value,
78 parent would be the set of chips supporting the field containing the enum,
79 the idea being that no comment is necessary if all chips that support the
82 chipflags = [chip.name in chips for chip in CHIPS]
136 # The following contain: Object(address, chips, name, regmap/field/enumentry)
148 chips=set(regmap.chips),
156 if type_ref is not None and regtype_emit[key].isdisjoint(regmap.chips):
157 regtype_emit[key].update(regmap.chips)
167 chips=set(regmap.chips),
176 if enum_ref is not None and enum_emit[key].isdisjoint(regmap.chips):
177 enum_emit[key].update(regmap.chips)
183 chips=set(regmap.chips),
197 prev.chips.update(line.chips)
226 prev.chips.update(line.chips)
243 prev.chips.update(line.chips)
255 line.name += '_' + get_disambiguation_suffix(line.chips)
262 line.name += '_' + get_disambiguation_suffix(line.chips)
304 comment = get_chips_comment(register_line.chips)
323 comment = get_chips_comment(field_line.chips, register_line.chips)
349 comment = get_chips_comment(value_line.chips, field_line.chips)
362 parser.add_argument('--chip', dest='chips', type=str, nargs='*',
363 help='Chip for which to generate the header (all chips if unspecified)')