/linux-6.1.9/drivers/regulator/ |
D | max8660.c | 102 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 …]
|
D | lp3971.c | 109 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()
|
D | mc13xxx-regulator-core.c | 31 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()
|
D | lp3972.c | 224 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()
|
D | pcap-regulator.c | 144 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()
|
D | rt4801-regulator.c | 62 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()
|
D | tps65217-regulator.c | 67 int rid = rdev_get_id(dev); in tps65217_pmic_enable() 81 int rid = rdev_get_id(dev); in tps65217_pmic_disable() 96 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_voltage_sel() 117 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_enable() 130 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_disable()
|
D | wm8350-regulator.c | 97 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 …]
|
D | wm831x-dcdc.c | 144 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 …]
|
D | da9052-regulator.c | 86 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()
|
D | tps65218-regulator.c | 71 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_voltage_sel() 94 int rid = rdev_get_id(dev); in tps65218_pmic_enable() 108 int rid = rdev_get_id(dev); in tps65218_pmic_disable() 121 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_enable() 134 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_disable()
|
D | mc13892-regulator.c | 336 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()
|
D | max8997-regulator.c | 128 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 …]
|
D | tps6524x-regulator.c | 462 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()
|
D | rt5120-regulator.c | 61 int rid = rdev_get_id(rdev); in rt5120_buck_set_mode() 81 int ret, rid = rdev_get_id(rdev); in rt5120_buck_get_mode() 99 int rid = rdev_get_id(rdev), ret; in rt5120_regulator_get_error_flags() 143 int rid = rdev_get_id(rdev); in rt5120_regulator_set_suspend_enable() 152 int rid = rdev_get_id(rdev); in rt5120_regulator_set_suspend_disable()
|
D | tps6507x-regulator.c | 208 int data, rid = rdev_get_id(dev); in tps6507x_pmic_is_enabled() 226 int rid = rdev_get_id(dev); in tps6507x_pmic_enable() 239 int rid = rdev_get_id(dev); in tps6507x_pmic_disable() 253 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel() 299 int data, rid = rdev_get_id(dev); in tps6507x_pmic_set_voltage_sel()
|
D | mcp16502.c | 182 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()
|
D | s2mpa01.c | 56 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()
|
D | max77802-regulator.c | 97 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()
|
D | tps65910-regulator.c | 394 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()
|
D | tps65132-regulator.c | 64 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()
|
D | max14577-regulator.c | 17 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()
|
D | lp8788-buck.c | 260 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()
|
D | rtq6752-regulator.c | 54 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()
|
D | mtk-dvfsrc-regulator.c | 64 int id = rdev_get_id(rdev); in dvfsrc_set_voltage_sel() 83 int id = rdev_get_id(rdev); in dvfsrc_get_voltage_sel()
|