Home
last modified time | relevance | path

Searched defs:vreg (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/drivers/regulator/
Dqcom_spmi-regulator.c490 static inline int spmi_vreg_read(struct spmi_regulator *vreg, u16 addr, u8 *buf, in spmi_vreg_read()
496 static inline int spmi_vreg_write(struct spmi_regulator *vreg, u16 addr, in spmi_vreg_write()
502 static int spmi_vreg_update_bits(struct spmi_regulator *vreg, u16 addr, u8 val, in spmi_vreg_update_bits()
510 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_enable() local
522 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_ocp() local
528 static int spmi_regulator_select_voltage(struct spmi_regulator *vreg, in spmi_regulator_select_voltage()
584 static int spmi_sw_selector_to_hw(struct spmi_regulator *vreg, in spmi_sw_selector_to_hw()
613 static int spmi_hw_selector_to_sw(struct spmi_regulator *vreg, u8 hw_sel, in spmi_hw_selector_to_sw()
648 spmi_regulator_find_range(struct spmi_regulator *vreg) in spmi_regulator_find_range()
665 static int spmi_regulator_select_voltage_same_range(struct spmi_regulator *vreg, in spmi_regulator_select_voltage_same_range()
[all …]
Dqcom-rpmh-regulator.c147 static int rpmh_regulator_send_request(struct rpmh_vreg *vreg, in rpmh_regulator_send_request()
164 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in _rpmh_regulator_vrm_set_voltage_sel() local
184 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_set_voltage_sel() local
201 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_get_voltage_sel() local
208 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_is_enabled() local
216 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_set_enable_state() local
248 static int rpmh_regulator_vrm_set_mode_bypass(struct rpmh_vreg *vreg, in rpmh_regulator_vrm_set_mode_bypass()
274 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_set_mode() local
289 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_get_mode() local
307 struct rpmh_vreg *vreg = rdev_get_drvdata(rdev); in rpmh_regulator_vrm_set_load() local
[all …]
Dqcom_rpm-regulator.c197 static int rpm_reg_write(struct qcom_rpm_reg *vreg, in rpm_reg_write()
217 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_mV_sel() local
244 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_uV_sel() local
270 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_get_voltage() local
277 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_mV_enable() local
296 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_uV_enable() local
315 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_switch_enable() local
334 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_mV_disable() local
353 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_uV_disable() local
372 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_switch_disable() local
[all …]
Dqcom_smd-regulator.c46 static int rpm_reg_write_active(struct qcom_rpm_reg *vreg, in rpm_reg_write_active()
59 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_enable() local
76 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_is_enabled() local
83 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_disable() local
100 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_get_voltage() local
110 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_voltage() local
127 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_load() local
682 struct qcom_rpm_reg *vreg; in rpm_reg_probe() local
Dpcap-regulator.c152 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_set_voltage_sel() local
166 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_get_voltage_sel() local
180 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_enable() local
191 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_disable() local
202 struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)]; in pcap_regulator_is_enabled() local
Dtps6586x-regulator.c112 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument
136 uv_step, vreg, shift, nbits, ereg0, \ argument
160 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
167 #define TPS6586X_LDO_LINEAR(_id, _pname, n_volt, min_uv, uv_step, vreg, \ argument
175 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
182 #define TPS6586X_DVM(_id, _pname, n_volt, min_uv, uv_step, vreg, shift, \ argument
Dda903x.c313 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
333 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
355 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
358 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
361 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
365 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
369 #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
Dhi6421-regulator.c169 #define HI6421_LDO(_id, v_table, vreg, vmask, ereg, emask, \ argument
205 #define HI6421_LDO_LINEAR(_id, _min_uV, n_volt, vstep, vreg, vmask, \ argument
242 #define HI6421_LDO_LINEAR_RANGE(_id, n_volt, volt_ranges, vreg, vmask, \ argument
276 #define HI6421_BUCK012(_id, vreg, vmask, ereg, emask, sleepmask, \ argument
310 #define HI6421_BUCK345(_id, v_table, vreg, vmask, ereg, emask, \ argument
Dmt6323-regulator.c43 #define MT6323_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument
67 #define MT6323_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument
89 #define MT6323_REG_FIXED(match, vreg, enreg, enbit, volt, \ argument
Dmt6397-regulator.c49 #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument
77 #define MT6397_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument
97 #define MT6397_REG_FIXED(match, vreg, enreg, enbit, volt) \ argument
Dmt6380-regulator.c100 #define MT6380_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument
124 #define MT6380_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument
145 #define MT6380_REG_FIXED(match, vreg, enreg, enbit, volt, \ argument
Dhi655x-regulator.c117 #define HI655X_LDO(_ID, vreg, vmask, ereg, dreg, \ argument
139 #define HI655X_LDO_LINEAR(_ID, vreg, vmask, ereg, dreg, \ argument
D88pm800.c94 #define PM800_BUCK(match, vreg, ereg, ebit, amax, volt_ranges, n_volt) \ argument
124 #define PM800_LDO(match, vreg, ereg, ebit, amax, ldo_volt_table) \ argument
Drn5t618-regulator.c31 #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \ argument
D88pm8607.c252 #define PM8607_DVC(vreg, ureg, ubit, ereg, ebit) \ argument
273 #define PM8607_LDO(_id, vreg, shift, ereg, ebit) \ argument
Dhi6421v530-regulator.c77 #define HI6421V530_LDO(_ID, v_table, vreg, vmask, ereg, emask, \ argument
Dsc2731-regulator.c130 #define SC2731_REGU_LINEAR(_id, en_reg, en_mask, vreg, vmask, \ argument
/Linux-v4.19/drivers/phy/qualcomm/
Dphy-qcom-ufs.c214 struct ufs_qcom_phy_vreg *vreg, in ufs_qcom_phy_init_vreg()
286 struct ufs_qcom_phy_vreg *vreg, bool on) in ufs_qcom_phy_cfg_vreg()
321 struct ufs_qcom_phy_vreg *vreg) in ufs_qcom_phy_enable_vreg()
398 struct ufs_qcom_phy_vreg *vreg) in ufs_qcom_phy_disable_vreg()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Ddebugfs.c39 u32 vreg; member
64 u32 preg, vreg; in mmio_diff_handler() local
/Linux-v4.19/include/linux/spi/
Dcc2520.h23 int vreg; member
/Linux-v4.19/drivers/hwmon/pmbus/
Dzl6100.c145 int ret, vreg; in zl6100_read_word_data() local
243 int ret, vreg; in zl6100_write_word_data() local
/Linux-v4.19/drivers/scsi/ufs/
Dufshcd-pltfrm.c133 struct ufs_vreg *vreg = NULL; in ufshcd_populate_vreg() local
Dufshcd.c6753 static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg, in ufshcd_config_vreg_load()
6771 struct ufs_vreg *vreg) in ufshcd_config_vreg_lpm()
6783 struct ufs_vreg *vreg) in ufshcd_config_vreg_hpm()
6794 struct ufs_vreg *vreg, bool on) in ufshcd_config_vreg()
6824 static int ufshcd_enable_vreg(struct device *dev, struct ufs_vreg *vreg) in ufshcd_enable_vreg()
6846 static int ufshcd_disable_vreg(struct device *dev, struct ufs_vreg *vreg) in ufshcd_disable_vreg()
6909 static int ufshcd_get_vreg(struct device *dev, struct ufs_vreg *vreg) in ufshcd_get_vreg()
/Linux-v4.19/arch/arm64/kernel/
Dsignal32.c175 union __fpsimd_vreg vreg = { in compat_preserve_vfp_context() local
218 union __fpsimd_vreg vreg; in compat_restore_vfp_context() local
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dsnoc.h82 struct ath10k_wcn3990_vreg_info *vreg; member

12