Lines Matching defs:index
824 * index instead of the chnl_array[x].chnl_no value.
1027 int index, err;
1036 index = 0;
1040 i2c_childlist[index].i2ctype = I2C_GPIO;
1041 envctrl_init_i2c_child(dp, &(i2c_childlist[index++]));
1043 i2c_childlist[index].i2ctype = I2C_ADC;
1044 envctrl_init_i2c_child(dp, &(i2c_childlist[index++]));
1075 for (--index; index >= 0; --index) {
1077 (I2C_ADC == i2c_childlist[index].i2ctype) ? "adc" :
1078 ((I2C_GPIO == i2c_childlist[index].i2ctype) ? "gpio" : "unknown"),
1079 i2c_childlist[index].addr, (0 == index) ? "\n" : " ");
1094 for (index = 0; index < ENVCTRL_MAX_CPU * 2; index++)
1095 kfree(i2c_childlist[index].tables);
1102 int index;
1109 for (index = 0; index < ENVCTRL_MAX_CPU * 2; index++)
1110 kfree(i2c_childlist[index].tables);