Lines Matching refs:chip
56 def get_chip_index(chip):
58 Given a chip name, return its index in the global CHIPS list.
60 return next(idx for idx, obj in enumerate(CHIPS) if obj.name == chip)
67 oldest_chip_index = min([get_chip_index(chip) for chip in chips])
82 chipflags = [chip.name in chips for chip in CHIPS]
87 parentflags = [chip.name in parent for chip in CHIPS]
92 for idx, chip, flag in zip(itertools.count(), CHIPS, chipflags):
98 for idx, chip, flag in zip(itertools.count(), reversed(CHIPS), reversed(chipflags)):
106 for chip, flag in zip(CHIPS[prefix:suffix], chipflags[prefix:suffix]):
108 comment.append(chip.name)
362 parser.add_argument('--chip', dest='chips', type=str, nargs='*',