Searched refs:spmi_vreg_write (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | qcom_spmi-regulator.c | 573 static inline int spmi_vreg_write(struct spmi_regulator *vreg, u16 addr, in spmi_vreg_write() function 602 return spmi_vreg_write(vreg, SPMI_VS_REG_OCP, ®, 1); in spmi_regulator_vs_ocp() 824 return spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_RANGE, buf, 2); in spmi_regulator_common_set_voltage() 841 return spmi_vreg_write(vreg, SPMI_FTSMPS426_REG_VOLTAGE_LSB, buf, 2); in spmi_regulator_ftsmps426_set_voltage() 904 return spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_SET, &sel, 1); in spmi_regulator_single_range_set_voltage() 1732 ret = spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_RANGE, ctrl_reg, 8); in spmi_regulator_init_registers()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | qcom_spmi-regulator.c | 630 static inline int spmi_vreg_write(struct spmi_regulator *vreg, u16 addr, in spmi_vreg_write() function 663 return spmi_vreg_write(vreg, SPMI_VS_REG_OCP, ®, 1); in spmi_regulator_vs_ocp() 885 return spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_RANGE, buf, 2); in spmi_regulator_common_set_voltage() 902 return spmi_vreg_write(vreg, SPMI_FTSMPS426_REG_VOLTAGE_LSB, buf, 2); in spmi_regulator_ftsmps426_set_voltage() 965 return spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_SET, &sel, 1); in spmi_regulator_single_range_set_voltage() 1896 ret = spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_RANGE, ctrl_reg, 8); in spmi_regulator_init_registers()
|
Completed in 7 milliseconds