Lines Matching refs:chip_index
361 int err, chip_index;366 for (chip_index = 0; chip_index < ARRAY_SIZE(dev_self); chip_index++) {367 if (!dev_self[chip_index])371 if (chip_index == ARRAY_SIZE(dev_self)) {396 dev_self[chip_index] = self;397 self->index = chip_index;492 return chip_index;506 dev_self[chip_index] = NULL;