Home
last modified time | relevance | path

Searched refs:rdev_get_id (Results 1 – 25 of 58) sorted by relevance

123

/linux-5.19.10/drivers/regulator/
Dmax8660.c102 u8 mask = (rdev_get_id(rdev) == MAX8660_V3) ? 1 : 4; in max8660_dcdc_is_enabled()
110 u8 bit = (rdev_get_id(rdev) == MAX8660_V3) ? 1 : 4; in max8660_dcdc_enable()
118 u8 mask = (rdev_get_id(rdev) == MAX8660_V3) ? ~1 : ~4; in max8660_dcdc_disable()
126 u8 reg = (rdev_get_id(rdev) == MAX8660_V3) ? MAX8660_ADTV2 : MAX8660_SDTV2; in max8660_dcdc_get_voltage_sel()
139 reg = (rdev_get_id(rdev) == MAX8660_V3) ? MAX8660_ADTV2 : MAX8660_SDTV2; in max8660_dcdc_set_voltage_sel()
145 bits = (rdev_get_id(rdev) == MAX8660_V3) ? 0x03 : 0x30; in max8660_dcdc_set_voltage_sel()
200 u8 mask = (rdev_get_id(rdev) == MAX8660_V6) ? 2 : 4; in max8660_ldo67_is_enabled()
208 u8 bit = (rdev_get_id(rdev) == MAX8660_V6) ? 2 : 4; in max8660_ldo67_enable()
216 u8 mask = (rdev_get_id(rdev) == MAX8660_V6) ? ~2 : ~4; in max8660_ldo67_disable()
224 u8 shift = (rdev_get_id(rdev) == MAX8660_V6) ? 0 : 4; in max8660_ldo67_get_voltage_sel()
[all …]
Dlp3971.c109 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_is_enabled()
120 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_enable()
129 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_disable()
138 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_get_voltage_sel()
151 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_set_voltage_sel()
171 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_is_enabled()
182 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_enable()
191 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_disable()
200 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_get_voltage_sel()
213 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_set_voltage_sel()
Dmc13xxx-regulator-core.c31 int id = rdev_get_id(rdev); in mc13xxx_regulator_enable()
44 int id = rdev_get_id(rdev); in mc13xxx_regulator_disable()
56 int ret, id = rdev_get_id(rdev); in mc13xxx_regulator_is_enabled()
71 int id = rdev_get_id(rdev); in mc13xxx_regulator_set_voltage_sel()
82 int ret, id = rdev_get_id(rdev); in mc13xxx_regulator_get_voltage()
115 int id = rdev_get_id(rdev); in mc13xxx_fixed_regulator_set_voltage()
Dlp3972.c224 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_is_enabled()
235 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_enable()
245 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_disable()
255 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_get_voltage_sel()
269 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_set_voltage_sel()
317 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_is_enabled()
328 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_enable()
340 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_disable()
352 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_get_voltage_sel()
365 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_set_voltage_sel()
Dpcap-regulator.c144 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_set_voltage_sel()
158 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_get_voltage_sel()
172 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_enable()
183 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_disable()
194 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_is_enabled()
Drt4801-regulator.c62 int id = rdev_get_id(rdev), ret; in rt4801_set_voltage_sel()
77 int id = rdev_get_id(rdev); in rt4801_get_voltage_sel()
88 int id = rdev_get_id(rdev), ret; in rt4801_enable()
109 int id = rdev_get_id(rdev); in rt4801_disable()
126 int id = rdev_get_id(rdev); in rt4801_is_enabled()
Dtps65217-regulator.c75 int rid = rdev_get_id(dev); in tps65217_pmic_enable()
89 int rid = rdev_get_id(dev); in tps65217_pmic_disable()
104 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_voltage_sel()
125 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_enable()
138 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_disable()
Dwm8350-regulator.c97 int isink = rdev_get_id(rdev); in wm8350_isink_enable()
141 int isink = rdev_get_id(rdev); in wm8350_isink_disable()
181 int isink = rdev_get_id(rdev); in wm8350_isink_is_enabled()
197 int isink = rdev_get_id(rdev); in wm8350_isink_enable_time()
266 int sel, volt_reg, dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_voltage()
303 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_enable()
343 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_disable()
383 int dcdc = rdev_get_id(rdev); in wm8350_dcdc25_set_suspend_enable()
408 int dcdc = rdev_get_id(rdev); in wm8350_dcdc25_set_suspend_disable()
434 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_mode()
[all …]
Dwm831x-dcdc.c144 if (ret & (1 << rdev_get_id(rdev))) { in wm831x_dcdc_get_status()
146 rdev_get_id(rdev) + 1); in wm831x_dcdc_get_status()
151 if (rdev_get_id(rdev) < 2) { in wm831x_dcdc_get_status()
152 if (ret & (WM831X_DC1_OV_STS << rdev_get_id(rdev))) { in wm831x_dcdc_get_status()
154 rdev_get_id(rdev) + 1); in wm831x_dcdc_get_status()
158 if (ret & (WM831X_DC1_HC_STS << rdev_get_id(rdev))) { in wm831x_dcdc_get_status()
160 rdev_get_id(rdev) + 1); in wm831x_dcdc_get_status()
169 if (!(ret & (1 << rdev_get_id(rdev)))) in wm831x_dcdc_get_status()
653 if (ret & (1 << rdev_get_id(rdev))) { in wm831x_boostp_get_status()
655 rdev_get_id(rdev) + 1); in wm831x_boostp_get_status()
[all …]
Dda9052-regulator.c86 int offset = rdev_get_id(rdev); in da9052_dcdc_get_current_limit()
114 int offset = rdev_get_id(rdev); in da9052_dcdc_set_current_limit()
155 int id = rdev_get_id(rdev); in da9052_list_voltage()
179 int id = rdev_get_id(rdev); in da9052_map_voltage()
210 int id = rdev_get_id(rdev); in da9052_regulator_set_voltage_sel()
241 int id = rdev_get_id(rdev); in da9052_regulator_set_voltage_time_sel()
Dtps65218-regulator.c79 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_voltage_sel()
102 int rid = rdev_get_id(dev); in tps65218_pmic_enable()
116 int rid = rdev_get_id(dev); in tps65218_pmic_disable()
129 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_enable()
142 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_disable()
Dmc13892-regulator.c336 int id = rdev_get_id(rdev); in mc13892_gpo_regulator_enable()
355 int id = rdev_get_id(rdev); in mc13892_gpo_regulator_disable()
371 int ret, id = rdev_get_id(rdev); in mc13892_gpo_regulator_is_enabled()
401 int ret, id = rdev_get_id(rdev); in mc13892_sw_regulator_get_voltage_sel()
441 int volt, mask, id = rdev_get_id(rdev); in mc13892_sw_regulator_set_voltage_sel()
493 int ret, id = rdev_get_id(rdev); in mc13892_vcam_set_mode()
509 int ret, id = rdev_get_id(rdev); in mc13892_vcam_get_mode()
Dmax8997-regulator.c128 int rid = rdev_get_id(rdev); in max8997_list_voltage_charger_cv()
151 int rid = rdev_get_id(rdev); in max8997_list_voltage()
171 int rid = rdev_get_id(rdev); in max8997_get_enable_register()
290 int rid = rdev_get_id(rdev); in max8997_get_voltage_register()
401 int rid = rdev_get_id(rdev); in max8997_set_voltage_charger_cv()
454 int rid = rdev_get_id(rdev); in max8997_set_voltage_ldobuck()
495 int rid = rdev_get_id(rdev); in max8997_set_voltage_buck_time_sel()
542 int rid = rdev_get_id(rdev); in max8997_assess_side_effect()
619 int rid = rdev_get_id(rdev); in max8997_set_voltage_buck()
695 int rid = rdev_get_id(rdev); in max8997_set_voltage_safeout_sel()
[all …]
Dtps6524x-regulator.c462 info = &supply_info[rdev_get_id(rdev)]; in set_voltage_sel()
477 info = &supply_info[rdev_get_id(rdev)]; in get_voltage_sel()
499 info = &supply_info[rdev_get_id(rdev)]; in set_current_limit()
520 info = &supply_info[rdev_get_id(rdev)]; in get_current_limit()
540 info = &supply_info[rdev_get_id(rdev)]; in enable_supply()
551 info = &supply_info[rdev_get_id(rdev)]; in disable_supply()
562 info = &supply_info[rdev_get_id(rdev)]; in is_supply_enabled()
Dtps6507x-regulator.c216 int data, rid = rdev_get_id(dev); in tps6507x_pmic_is_enabled()
234 int rid = rdev_get_id(dev); in tps6507x_pmic_enable()
247 int rid = rdev_get_id(dev); in tps6507x_pmic_disable()
261 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel()
307 int data, rid = rdev_get_id(dev); in tps6507x_pmic_set_voltage_sel()
Dmcp16502.c182 return MCP16502_REG_BASE(rdev_get_id(rdev), A); in mcp16502_get_state_reg()
184 return MCP16502_REG_BASE(rdev_get_id(rdev), LPM); in mcp16502_get_state_reg()
186 return MCP16502_REG_BASE(rdev_get_id(rdev), HIB); in mcp16502_get_state_reg()
272 ret = regmap_read(rdev->regmap, MCP16502_STAT_BASE(rdev_get_id(rdev)), in mcp16502_get_status()
292 int id = rdev_get_id(rdev); in mcp16502_set_voltage_time_sel()
Ds2mpa01.c56 switch (rdev_get_id(rdev)) { in s2mpa01_regulator_set_voltage_time_sel()
97 switch (rdev_get_id(rdev)) { in s2mpa01_set_ramp_delay()
187 if (rdev_get_id(rdev) >= S2MPA01_BUCK1 && in s2mpa01_set_ramp_delay()
188 rdev_get_id(rdev) <= S2MPA01_BUCK4) { in s2mpa01_set_ramp_delay()
Dmax77802-regulator.c97 int id = rdev_get_id(rdev); in max77802_set_suspend_disable()
113 int id = rdev_get_id(rdev); in max77802_set_mode()
138 int id = rdev_get_id(rdev); in max77802_get_mode()
163 int id = rdev_get_id(rdev); in max77802_set_suspend_mode()
212 int id = rdev_get_id(rdev); in max77802_enable()
Dtps65910-regulator.c394 int reg, id = rdev_get_id(dev); in tps65910_set_mode()
419 int ret, reg, value, id = rdev_get_id(dev); in tps65910_get_mode()
440 int ret, id = rdev_get_id(dev); in tps65910_get_voltage_dcdc_sel()
517 int ret, reg, value, id = rdev_get_id(dev); in tps65910_get_voltage_sel()
560 int ret, id = rdev_get_id(dev); in tps65911_get_voltage_sel()
599 int id = rdev_get_id(dev), vsel; in tps65910_set_voltage_dcdc_sel()
637 int reg, id = rdev_get_id(dev); in tps65910_set_voltage_sel()
668 int reg, id = rdev_get_id(dev); in tps65911_set_voltage_sel()
702 int volt, mult = 1, id = rdev_get_id(dev); in tps65910_list_voltage_dcdc()
725 int step_mv = 0, id = rdev_get_id(dev); in tps65911_list_voltage()
Dmax14577-regulator.c17 int rid = rdev_get_id(rdev); in max14577_reg_is_enabled()
44 if (rdev_get_id(rdev) != MAX14577_CHARGER) in max14577_reg_get_current_limit()
66 if (rdev_get_id(rdev) != MAX14577_CHARGER) in max14577_reg_set_current_limit()
Dtps65132-regulator.c64 int id = rdev_get_id(rdev); in tps65132_regulator_enable()
90 int id = rdev_get_id(rdev); in tps65132_regulator_disable()
111 int id = rdev_get_id(rdev); in tps65132_regulator_is_enabled()
Dlp8788-buck.c260 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck12_set_voltage_sel()
276 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck12_get_voltage_sel()
294 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck_enable_time()
308 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck_set_mode()
329 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck_get_mode()
Drtq6752-regulator.c54 int rid = rdev_get_id(rdev), ret; in rtq6752_set_vdd_enable()
82 int rid = rdev_get_id(rdev), ret; in rtq6752_set_vdd_disable()
110 int rid = rdev_get_id(rdev), ret; in rtq6752_get_error_flags()
Dmtk-dvfsrc-regulator.c64 int id = rdev_get_id(rdev); in dvfsrc_set_voltage_sel()
83 int id = rdev_get_id(rdev); in dvfsrc_get_voltage_sel()
Dact8945a-regulator.c85 int id = rdev_get_id(rdev); in act8945a_set_suspend_state()
158 int id = rdev_get_id(rdev); in act8945a_set_mode()
212 int id = rdev_get_id(rdev); in act8945a_get_mode()

123