Lines Matching refs:pdata

144 	struct tps65910_regulator_pdata *pdata = dev_get_plat(dev);  in tps65910_regulator_get_value()  local
145 int vin = pdata->supply; in tps65910_regulator_get_value()
159 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_ldo_get_value() local
162 if (!pdata) in tps65910_ldo_get_value()
164 vin = pdata->supply; in tps65910_ldo_get_value()
166 switch (pdata->unit) { in tps65910_ldo_get_value()
197 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_regulator_set_value() local
206 if (pdata->supply < *(ldo->vin_min + sel)) in tps65910_regulator_set_value()
219 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_ldo_set_value() local
220 int vin = pdata->supply; in tps65910_ldo_set_value()
222 switch (pdata->unit) { in tps65910_ldo_set_value()
252 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_get_enable() local
254 reg = get_ctrl_reg_from_unit_addr(pdata->unit); in tps65910_get_enable()
270 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_set_enable() local
272 reg = get_ctrl_reg_from_unit_addr(pdata->unit); in tps65910_set_enable()
308 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_buck_get_value() local
310 switch (pdata->unit) { in tps65910_buck_get_value()
327 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in buck_set_vdd1_vdd2_value() local
329 switch (pdata->unit) { in buck_set_vdd1_vdd2_value()
372 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_buck_set_value() local
374 if (pdata->unit == TPS65910_UNIT_VIO) in tps65910_buck_set_value()
383 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_boost_get_value() local
385 vout = (pdata->supply >= 3000000) ? 5000000 : 0; in tps65910_boost_get_value()
394 struct tps65910_regulator_pdata *pdata = dev_get_plat(dev); in tps65910_regulator_of_to_plat() local
396 pdata->unit = dev_get_driver_data(dev); in tps65910_regulator_of_to_plat()
397 if (pdata->unit > TPS65910_UNIT_VMMC) in tps65910_regulator_of_to_plat()
399 supply_name = supply_names[regulator_supplies[pdata->unit]]; in tps65910_regulator_of_to_plat()
407 pdata->supply = regulator_get_value(supply); in tps65910_regulator_of_to_plat()
408 if (pdata->supply < 0) { in tps65910_regulator_of_to_plat()