Lines Matching full:rid
208 int data, rid = rdev_get_id(dev); in tps6507x_pmic_is_enabled() local
211 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_is_enabled()
214 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_is_enabled()
226 int rid = rdev_get_id(dev); in tps6507x_pmic_enable() local
229 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_enable()
232 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_enable()
239 int rid = rdev_get_id(dev); in tps6507x_pmic_disable() local
242 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_disable()
245 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_disable()
253 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel() local
256 switch (rid) { in tps6507x_pmic_get_voltage_sel()
262 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_get_voltage_sel()
269 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_get_voltage_sel()
299 int data, rid = rdev_get_id(dev); in tps6507x_pmic_set_voltage_sel() local
302 switch (rid) { in tps6507x_pmic_set_voltage_sel()
308 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_set_voltage_sel()
315 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_set_voltage_sel()