Lines Matching defs:count
109 int i, ret, count;
117 count = ret;
119 smi->spi_devs = devm_kcalloc(dev, count, sizeof(*smi->spi_devs), GFP_KERNEL);
123 for (i = 0; i < count && inst_array[i].type; i++) {
162 if (smi->spi_num < count) {
192 int i, ret, count;
200 count = ret;
202 smi->i2c_devs = devm_kcalloc(dev, count, sizeof(*smi->i2c_devs), GFP_KERNEL);
206 for (i = 0; i < count && inst_array[i].type; i++) {
225 if (smi->i2c_num < count) {