Lines Matching full:rid
216 int data, rid = rdev_get_id(dev); in tps6507x_pmic_is_enabled() local
219 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_is_enabled()
222 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_is_enabled()
234 int rid = rdev_get_id(dev); in tps6507x_pmic_enable() local
237 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_enable()
240 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_enable()
247 int rid = rdev_get_id(dev); in tps6507x_pmic_disable() local
250 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_disable()
253 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_disable()
261 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel() local
264 switch (rid) { in tps6507x_pmic_get_voltage_sel()
270 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_get_voltage_sel()
277 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_get_voltage_sel()
307 int data, rid = rdev_get_id(dev); in tps6507x_pmic_set_voltage_sel() local
310 switch (rid) { in tps6507x_pmic_set_voltage_sel()
316 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_set_voltage_sel()
323 if (tps->info[rid]->defdcdc_default) in tps6507x_pmic_set_voltage_sel()