Lines Matching refs:regulator_id
114 int regulator_id, millivolts;
119 regulator_id = rdev_get_id(rdev);
120 if (regulator_id >= PCF50633_NUM_REGULATORS)
125 regnr = pcf50633_regulator_registers[regulator_id];
127 switch (regulator_id) {
187 int regulator_id;
192 regulator_id = rdev_get_id(rdev);
193 if (regulator_id >= PCF50633_NUM_REGULATORS)
196 regnr = pcf50633_regulator_registers[regulator_id];
200 return pcf50633_regulator_voltage_value(regulator_id, volt_bits);
207 int regulator_id;
211 regulator_id = rdev_get_id(rdev);
213 switch (regulator_id) {
224 return pcf50633_regulator_voltage_value(regulator_id, index);
230 int regulator_id;
233 regulator_id = rdev_get_id(rdev);
234 if (regulator_id >= PCF50633_NUM_REGULATORS)
238 regnr = pcf50633_regulator_registers[regulator_id] + 1;
247 int regulator_id;
250 regulator_id = rdev_get_id(rdev);
251 if (regulator_id >= PCF50633_NUM_REGULATORS)
255 regnr = pcf50633_regulator_registers[regulator_id] + 1;
264 int regulator_id = rdev_get_id(rdev);
267 regulator_id = rdev_get_id(rdev);
268 if (regulator_id >= PCF50633_NUM_REGULATORS)
272 regnr = pcf50633_regulator_registers[regulator_id] + 1;