Home
last modified time | relevance | path

Searched refs:rdev_get_drvdata (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/linux/drivers/regulator/
H A Dmax8660.c100 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_is_enabled()
109 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_enable()
117 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_disable()
125 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_get_voltage_sel()
135 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_set_voltage_sel()
164 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_ldo5_get_voltage_sel()
173 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_ldo5_set_voltage_sel()
198 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_ldo67_is_enabled()
207 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_ldo67_enable()
215 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_ldo67_disable()
[all …]
H A Dmax8925-regulator.c45 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_set_voltage_sel()
53 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_get_voltage_sel()
68 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_enable()
79 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_disable()
89 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_is_enabled()
104 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_set_dvm_voltage()
119 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_set_dvm_enable()
127 struct max8925_regulator_info *info = rdev_get_drvdata(rdev); in max8925_set_dvm_disable()
H A Dstm32-vrefbuf.c43 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_enable()
78 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_disable()
98 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_is_enabled()
116 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_set_voltage_sel()
136 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_get_voltage_sel()
239 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_remove()
254 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_runtime_suspend()
264 struct stm32_vrefbuf *priv = rdev_get_drvdata(rdev); in stm32_vrefbuf_runtime_resume()
H A Dlp3971.c108 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_is_enabled()
119 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_enable()
128 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_disable()
137 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_get_voltage_sel()
150 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_set_voltage_sel()
170 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_dcdc_is_enabled()
181 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_dcdc_enable()
190 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_dcdc_disable()
199 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_dcdc_get_voltage_sel()
212 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_dcdc_set_voltage_sel()
H A Dpwm-regulator.c56 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_init_state()
74 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_get_voltage_sel()
85 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_set_voltage_sel()
107 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_list_voltage()
117 struct pwm_regulator_data *drvdata = rdev_get_drvdata(dev); in pwm_regulator_enable()
126 struct pwm_regulator_data *drvdata = rdev_get_drvdata(dev); in pwm_regulator_disable()
137 struct pwm_regulator_data *drvdata = rdev_get_drvdata(dev); in pwm_regulator_is_enabled()
147 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_get_voltage()
187 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_set_voltage()
H A Dtwl6030-regulator.c108 return twlreg_read(rdev_get_drvdata(rdev), TWL_MODULE_PM_RECEIVER, in twlreg_grp()
123 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030reg_is_enabled()
148 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030reg_enable()
165 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030reg_disable()
182 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030reg_get_status()
214 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030reg_set_mode()
261 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030ldo_set_voltage_sel()
272 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030ldo_get_voltage_sel()
314 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030smps_list_voltage()
402 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl6030smps_map_voltage()
[all …]
H A Dlp3972.c223 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_ldo_is_enabled()
234 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_ldo_enable()
244 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_ldo_disable()
254 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_ldo_get_voltage_sel()
268 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_ldo_set_voltage_sel()
316 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_dcdc_is_enabled()
327 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_dcdc_enable()
339 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_dcdc_disable()
351 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_dcdc_get_voltage_sel()
364 struct lp3972 *lp3972 = rdev_get_drvdata(dev); in lp3972_dcdc_set_voltage_sel()
H A Dcros-ec-regulator.c27 struct cros_ec_regulator_data *data = rdev_get_drvdata(dev); in cros_ec_regulator_enable()
39 struct cros_ec_regulator_data *data = rdev_get_drvdata(dev); in cros_ec_regulator_disable()
51 struct cros_ec_regulator_data *data = rdev_get_drvdata(dev); in cros_ec_regulator_is_enabled()
68 struct cros_ec_regulator_data *data = rdev_get_drvdata(dev); in cros_ec_regulator_list_voltage()
78 struct cros_ec_regulator_data *data = rdev_get_drvdata(dev); in cros_ec_regulator_get_voltage()
95 struct cros_ec_regulator_data *data = rdev_get_drvdata(dev); in cros_ec_regulator_set_voltage()
H A Daat2870-regulator.c35 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_set_voltage_sel()
44 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_get_voltage_sel()
58 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_enable()
67 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_disable()
75 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_is_enabled()
H A Dtps65218-regulator.c70 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_voltage_sel()
93 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_enable()
107 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_disable()
120 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_suspend_enable()
133 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_suspend_disable()
193 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_input_current_lim()
211 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_current_limit()
H A Dtwl-regulator.c99 return twlreg_read(rdev_get_drvdata(rdev), TWL_MODULE_PM_RECEIVER, in twlreg_grp()
196 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030reg_enable()
210 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030reg_disable()
240 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030reg_set_mode()
368 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030ldo_list_voltage()
377 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030ldo_set_voltage_sel()
385 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030ldo_get_voltage_sel()
414 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030smps_set_voltage()
424 struct twlreg_info *info = rdev_get_drvdata(rdev); in twl4030smps_get_voltage()
H A Dmc13xxx-regulator-core.c29 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); in mc13xxx_regulator_enable()
42 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); in mc13xxx_regulator_disable()
54 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); in mc13xxx_regulator_is_enabled()
69 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); in mc13xxx_regulator_set_voltage_sel()
80 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); in mc13xxx_regulator_get_voltage()
H A Dqcom_spmi-regulator.c644 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_enable()
657 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_ocp()
862 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_common_map_voltage()
874 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_common_set_voltage()
894 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_ftsmps426_set_voltage()
908 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_set_voltage_time_sel()
919 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_common_get_voltage()
934 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_ftsmps426_get_voltage()
950 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_single_map_voltage()
958 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_single_range_set_voltage()
[all …]
H A Dda9055-regulator.c84 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_buck_get_mode()
110 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_buck_set_mode()
132 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_ldo_get_mode()
148 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_ldo_set_mode()
170 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_regulator_get_voltage_sel()
202 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_regulator_set_voltage_sel()
245 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_regulator_set_suspend_voltage()
267 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_suspend_enable()
280 struct da9055_regulator *regulator = rdev_get_drvdata(rdev); in da9055_suspend_disable()
H A Dpcap-regulator.c145 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_set_voltage_sel()
159 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_get_voltage_sel()
173 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_enable()
184 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_disable()
195 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_is_enabled()
H A Drt4801-regulator.c61 struct rt4801_priv *priv = rdev_get_drvdata(rdev); in rt4801_set_voltage_sel()
76 struct rt4801_priv *priv = rdev_get_drvdata(rdev); in rt4801_get_voltage_sel()
87 struct rt4801_priv *priv = rdev_get_drvdata(rdev); in rt4801_enable()
108 struct rt4801_priv *priv = rdev_get_drvdata(rdev); in rt4801_disable()
125 struct rt4801_priv *priv = rdev_get_drvdata(rdev); in rt4801_is_enabled()
H A Dad5398.c70 struct ad5398_chip_info *chip = rdev_get_drvdata(rdev); in ad5398_get_current_limit()
86 struct ad5398_chip_info *chip = rdev_get_drvdata(rdev); in ad5398_set_current_limit()
126 struct ad5398_chip_info *chip = rdev_get_drvdata(rdev); in ad5398_is_enabled()
143 struct ad5398_chip_info *chip = rdev_get_drvdata(rdev); in ad5398_enable()
164 struct ad5398_chip_info *chip = rdev_get_drvdata(rdev); in ad5398_disable()
H A Danatop-regulator.c38 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_set_voltage_time_sel()
62 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_enable()
82 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_core_set_voltage_sel()
98 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_core_get_voltage_sel()
108 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_get_bypass()
123 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_set_bypass()
H A Dstm32-pwr.c47 struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); in stm32_pwr_reg_is_ready()
57 struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); in stm32_pwr_reg_is_enabled()
67 struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); in stm32_pwr_reg_enable()
86 struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); in stm32_pwr_reg_disable()
H A Dwm8350-regulator.c96 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable()
140 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_disable()
180 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_is_enabled()
196 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable_time()
265 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_voltage()
302 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_enable()
342 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_disable()
382 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc25_set_suspend_enable()
407 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc25_set_suspend_disable()
433 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_mode()
[all …]
H A Dwm831x-ldo.c68 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_suspend_voltage()
81 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_get_mode()
107 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_mode()
158 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_get_status()
322 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_aldo_set_suspend_voltage()
335 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_aldo_get_mode()
353 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_aldo_set_mode()
382 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_aldo_get_status()
529 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_alive_ldo_set_suspend_voltage()
542 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_alive_ldo_get_status()
H A Dda903x-regulator.c102 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da903x_set_voltage_sel()
117 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da903x_get_voltage_sel()
137 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da903x_enable()
146 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da903x_disable()
155 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da903x_is_enabled()
171 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da9030_set_ldo1_15_voltage_sel()
192 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da9030_map_ldo14_voltage()
214 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da9030_list_ldo14_voltage()
234 struct da903x_regulator_info *info = rdev_get_drvdata(rdev); in da9034_set_dvc_voltage_sel()
H A Dtps65217-regulator.c66 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_enable()
80 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_disable()
95 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_voltage_sel()
116 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_suspend_enable()
129 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_suspend_disable()
H A Dfixed.c49 struct fixed_voltage_data *priv = rdev_get_drvdata(rdev); in reg_clock_enable()
63 struct fixed_voltage_data *priv = rdev_get_drvdata(rdev); in reg_clock_disable()
73 struct fixed_voltage_data *priv = rdev_get_drvdata(rdev); in reg_domain_enable()
88 struct fixed_voltage_data *priv = rdev_get_drvdata(rdev); in reg_domain_disable()
103 struct fixed_voltage_data *priv = rdev_get_drvdata(rdev); in reg_is_enabled()
H A Dvctrl-regulator.c83 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_get_voltage()
98 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_set_voltage()
154 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_get_voltage_sel()
162 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_set_voltage_sel()
229 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_list_voltage()
401 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_enable()
410 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_disable()
419 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_is_enabled()

123456