/linux-6.1.9/drivers/regulator/ |
D | qcom_spmi-regulator.c | 624 static inline int spmi_vreg_read(struct spmi_regulator *vreg, u16 addr, u8 *buf, in spmi_vreg_read() 630 static inline int spmi_vreg_write(struct spmi_regulator *vreg, u16 addr, in spmi_vreg_write() 636 static int spmi_vreg_update_bits(struct spmi_regulator *vreg, u16 addr, u8 val, in spmi_vreg_update_bits() 644 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_enable() local 657 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_ocp() local 666 static int spmi_regulator_select_voltage(struct spmi_regulator *vreg, in spmi_regulator_select_voltage() 722 static int spmi_sw_selector_to_hw(struct spmi_regulator *vreg, in spmi_sw_selector_to_hw() 751 static int spmi_hw_selector_to_sw(struct spmi_regulator *vreg, u8 hw_sel, in spmi_hw_selector_to_sw() 786 spmi_regulator_find_range(struct spmi_regulator *vreg) in spmi_regulator_find_range() 803 static int spmi_regulator_select_voltage_same_range(struct spmi_regulator *vreg, in spmi_regulator_select_voltage_same_range() [all …]
|
D | qcom_rpm-regulator.c | 189 static int rpm_reg_write(struct qcom_rpm_reg *vreg, in rpm_reg_write() 209 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_mV_sel() local 236 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_uV_sel() local 262 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_get_voltage() local 269 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_mV_enable() local 288 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_uV_enable() local 307 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_switch_enable() local 326 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_mV_disable() local 345 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_uV_disable() local 364 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_switch_disable() local [all …]
|
D | qcom-labibb-regulator.c | 110 struct labibb_regulator *vreg = rdev_get_drvdata(rdev); in qcom_labibb_ocp_hw_enable() local 128 struct labibb_regulator *vreg = rdev_get_drvdata(rdev); in qcom_labibb_ocp_hw_disable() local 145 static int qcom_labibb_check_ocp_status(struct labibb_regulator *vreg) in qcom_labibb_check_ocp_status() 181 struct labibb_regulator *vreg; in qcom_labibb_ocp_recovery_worker() local 257 struct labibb_regulator *vreg = chip; in qcom_labibb_ocp_isr() local 313 struct labibb_regulator *vreg = rdev_get_drvdata(rdev); in qcom_labibb_set_ocp() local 388 static int qcom_labibb_check_sc_status(struct labibb_regulator *vreg) in qcom_labibb_check_sc_status() 430 struct labibb_regulator *vreg; in qcom_labibb_sc_recovery_worker() local 535 struct labibb_regulator *vreg = chip; in qcom_labibb_sc_isr() local 563 struct labibb_regulator *vreg = rdev_get_drvdata(rdev); in qcom_labibb_set_current_limit() local [all …]
|
D | qcom-rpmh-regulator.c | 161 static int rpmh_regulator_send_request(struct rpmh_vreg *vreg, in rpmh_regulator_send_request() 178 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in _rpmh_regulator_vrm_set_voltage_sel() local 198 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_set_voltage_sel() local 215 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_get_voltage_sel() local 222 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_is_enabled() local 230 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_set_enable_state() local 262 static int rpmh_regulator_vrm_set_mode_bypass(struct rpmh_vreg *vreg, in rpmh_regulator_vrm_set_mode_bypass() 288 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_set_mode() local 303 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_get_mode() local 323 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_get_optimum_mode() local [all …]
|
D | pcap-regulator.c | 144 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_set_voltage_sel() local 158 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_get_voltage_sel() local 172 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_enable() local 183 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_disable() local 194 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_is_enabled() local
|
D | qcom_smd-regulator.c | 44 static int rpm_reg_write_active(struct qcom_rpm_reg *vreg) in rpm_reg_write_active() 88 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_enable() local 103 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_is_enabled() local 110 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_disable() local 125 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_get_voltage() local 135 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_voltage() local 151 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_load() local 1325 static int rpm_regulator_init_vreg(struct qcom_rpm_reg *vreg, struct device *dev, in rpm_regulator_init_vreg() 1374 struct qcom_rpm_reg *vreg; in rpm_reg_probe() local
|
D | mt6358-regulator.c | 37 #define MT6358_BUCK(match, vreg, min, max, step, \ argument 65 #define MT6358_LDO(match, vreg, ldo_volt_table, \ argument 89 #define MT6358_LDO1(match, vreg, min, max, step, \ argument 114 #define MT6358_REG_FIXED(match, vreg, \ argument 133 #define MT6366_BUCK(match, vreg, min, max, step, \ argument 161 #define MT6366_LDO(match, vreg, ldo_volt_table, \ argument 185 #define MT6366_LDO1(match, vreg, min, max, step, \ argument 210 #define MT6366_REG_FIXED(match, vreg, \ argument
|
D | mt6331-regulator.c | 47 #define MT6331_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument 72 #define MT6331_LDO_AO(match, vreg, ldo_volt_table, vosel, vosel_mask) \ argument 88 #define MT6331_LDO_S(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument 112 #define MT6331_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument 136 #define MT6331_REG_FIXED(match, vreg, enreg, enbit, qibit, volt, \ argument
|
D | mt6332-regulator.c | 47 #define MT6332_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument 72 #define MT6332_LDO_LINEAR(match, vreg, min, max, step, volt_ranges, \ argument 100 #define MT6332_LDO_AO(match, vreg, ldo_volt_table, vosel, vosel_mask) \ argument 116 #define MT6332_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument 139 #define MT6332_REG_FIXED(match, vreg, enreg, enbit, qibit, volt, stbit) \ argument
|
D | tps6586x-regulator.c | 109 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument 133 uv_step, vreg, shift, nbits, ereg0, \ argument 157 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument 164 #define TPS6586X_LDO_LINEAR(_id, _pname, n_volt, min_uv, uv_step, vreg, \ argument 172 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument 179 #define TPS6586X_DVM(_id, _pname, n_volt, min_uv, uv_step, vreg, shift, \ argument
|
D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 357 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 361 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 365 #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
|
D | hi6421-regulator.c | 129 #define HI6421_LDO(_id, _match, v_table, vreg, vmask, ereg, emask, \ argument 168 #define HI6421_LDO_LINEAR(_id, _match, _min_uV, n_volt, vstep, vreg, vmask,\ argument 208 #define HI6421_LDO_LINEAR_RANGE(_id, _match, n_volt, volt_ranges, vreg, vmask,\ argument 245 #define HI6421_BUCK012(_id, _match, vreg, vmask, ereg, emask, sleepmask,\ argument 282 #define HI6421_BUCK345(_id, _match, v_table, vreg, vmask, ereg, emask, \ argument
|
D | mt6323-regulator.c | 39 #define MT6323_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument 63 #define MT6323_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument 85 #define MT6323_REG_FIXED(match, vreg, enreg, enbit, volt, \ argument
|
D | mt6397-regulator.c | 37 #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument 65 #define MT6397_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument 85 #define MT6397_REG_FIXED(match, vreg, enreg, enbit, volt) \ argument
|
D | mt6380-regulator.c | 91 #define MT6380_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument 115 #define MT6380_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument 136 #define MT6380_REG_FIXED(match, vreg, enreg, enbit, volt, \ argument
|
D | hi655x-regulator.c | 107 #define HI655X_LDO(_ID, vreg, vmask, ereg, dreg, \ argument 128 #define HI655X_LDO_LINEAR(_ID, vreg, vmask, ereg, dreg, \ argument
|
D | 88pm8607.c | 247 #define PM8607_DVC(vreg, ureg, ubit, ereg, ebit) \ argument 270 #define PM8607_LDO(_id, vreg, shift, ereg, ebit) \ argument
|
D | 88pm800-regulator.c | 86 #define PM800_BUCK(match, vreg, ereg, ebit, amax, volt_ranges, n_volt) \ argument 116 #define PM800_LDO(match, vreg, ereg, ebit, amax, ldo_volt_table) \ argument
|
D | rn5t618-regulator.c | 25 #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \ argument
|
D | hi6421v530-regulator.c | 73 #define HI6421V530_LDO(_ID, v_table, vreg, vmask, ereg, emask, \ argument
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | debugfs.c | 39 u32 vreg; member 63 u32 preg, vreg; in mmio_diff_handler() local
|
/linux-6.1.9/include/linux/spi/ |
D | cc2520.h | 18 int vreg; member
|
/linux-6.1.9/drivers/hwmon/pmbus/ |
D | zl6100.c | 140 int ret, vreg; in zl6100_read_word_data() local 238 int ret, vreg; in zl6100_write_word_data() local
|
/linux-6.1.9/arch/arm64/kernel/ |
D | signal32.c | 117 union __fpsimd_vreg vreg = { in compat_preserve_vfp_context() local 160 union __fpsimd_vreg vreg; in compat_restore_vfp_context() local
|
/linux-6.1.9/drivers/ufs/host/ |
D | ufshcd-pltfrm.c | 127 struct ufs_vreg *vreg = NULL; in ufshcd_populate_vreg() local
|