Home
last modified time | relevance | path

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

/drivers/regulator/
Dqcom_spmi-regulator.c471 static inline int spmi_vreg_read(struct spmi_regulator *vreg, u16 addr, u8 *buf, in spmi_vreg_read()
477 static inline int spmi_vreg_write(struct spmi_regulator *vreg, u16 addr, in spmi_vreg_write()
483 static int spmi_vreg_update_bits(struct spmi_regulator *vreg, u16 addr, u8 val, in spmi_vreg_update_bits()
491 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_common_is_enabled() local
501 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_common_enable() local
509 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_enable() local
521 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_vs_ocp() local
529 struct spmi_regulator *vreg = rdev_get_drvdata(rdev); in spmi_regulator_common_disable() local
535 static int spmi_regulator_select_voltage(struct spmi_regulator *vreg, in spmi_regulator_select_voltage()
591 static int spmi_sw_selector_to_hw(struct spmi_regulator *vreg, in spmi_sw_selector_to_hw()
[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.c48 static int rpm_reg_write_active(struct qcom_rpm_reg *vreg, in rpm_reg_write_active()
61 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_enable() local
78 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_is_enabled() local
85 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_disable() local
102 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_get_voltage() local
112 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_voltage() local
129 struct qcom_rpm_reg *vreg = rdev_get_drvdata(rdev); in rpm_reg_set_load() local
461 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
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
D88pm8607.c252 #define PM8607_DVC(vreg, ureg, ubit, ereg, ebit) \ argument
273 #define PM8607_LDO(_id, vreg, shift, ereg, ebit) \ argument
Drn5t618-regulator.c31 #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \ argument
/drivers/phy/
Dphy-qcom-ufs.c246 struct ufs_qcom_phy_vreg *vreg, const char *name, bool optional) in __ufs_qcom_phy_init_vreg()
308 struct ufs_qcom_phy_vreg *vreg, const char *name) in ufs_qcom_phy_init_vreg()
315 struct ufs_qcom_phy_vreg *vreg, bool on) in ufs_qcom_phy_cfg_vreg()
355 struct ufs_qcom_phy_vreg *vreg) in ufs_qcom_phy_enable_vreg()
437 struct ufs_qcom_phy_vreg *vreg) in ufs_qcom_phy_disable_vreg()
/drivers/hwmon/pmbus/
Dzl6100.c145 int ret, vreg; in zl6100_read_word_data() local
243 int ret, vreg; in zl6100_write_word_data() local
/drivers/scsi/ufs/
Dufshcd-pltfrm.c135 struct ufs_vreg *vreg = NULL; in ufshcd_populate_vreg() local
Dufshcd.c5315 static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg, in ufshcd_config_vreg_load()
5333 struct ufs_vreg *vreg) in ufshcd_config_vreg_lpm()
5345 struct ufs_vreg *vreg) in ufshcd_config_vreg_hpm()
5356 struct ufs_vreg *vreg, bool on) in ufshcd_config_vreg()
5386 static int ufshcd_enable_vreg(struct device *dev, struct ufs_vreg *vreg) in ufshcd_enable_vreg()
5408 static int ufshcd_disable_vreg(struct device *dev, struct ufs_vreg *vreg) in ufshcd_disable_vreg()
5471 static int ufshcd_get_vreg(struct device *dev, struct ufs_vreg *vreg) in ufshcd_get_vreg()
/drivers/power/supply/
Dbq25890_charger.c69 u8 vreg; /* regulation voltage */ member