Home
last modified time | relevance | path

Searched refs:pmic_read (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/power/regulator/
Dpbias_regulator.c210 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in pbias_regulator_get_value()
225 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in pbias_regulator_set_value()
248 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in pbias_regulator_get_enable()
266 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in pbias_regulator_set_enable()
Ds2mps11_regulator.c142 ret = pmic_read(dev->parent, addr, &val, 1); in s2mps11_buck_val()
180 ret = pmic_read(dev->parent, addr, &val, 1); in s2mps11_buck_mode()
399 ret = pmic_read(dev->parent, addr, &val, 1); in s2mps11_ldo_val()
438 ret = pmic_read(dev->parent, addr, &val, 1); in s2mps11_ldo_mode()
Dmax77686.c334 ret = pmic_read(dev->parent, adr, &val, 1); in max77686_ldo_val()
388 ret = pmic_read(dev->parent, adr, &val, 1); in max77686_buck_val()
429 ret = pmic_read(dev->parent, adr, &val, 1); in max77686_ldo_mode()
564 ret = pmic_read(dev->parent, adr, &val, 1); in max77686_buck_mode()
Dsandbox.c93 ret = pmic_read(dev->parent, reg, &reg_val, 1); in out_get_value()
152 ret = pmic_read(dev->parent, reg, &reg_val, 1); in out_get_mode()
/external/u-boot/drivers/power/pmic/
Dpmic-uclass.c105 int pmic_read(struct udevice *dev, uint reg, uint8_t *buffer, int len) in pmic_read() function
143 ret = pmic_read(dev, reg, (uint8_t *)&val, priv->trans_len); in pmic_reg_read()
178 ret = pmic_read(dev, reg, (uint8_t *)&val, priv->trans_len); in pmic_clrsetbits()
/external/u-boot/arch/arm/mach-stm32mp/
Dpwr_regulator.c209 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in stm32mp_pwr_regulator_get_enable()
227 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in stm32mp_pwr_regulator_set_enable()
249 rc = pmic_read(dev->parent, 0, (uint8_t *)&reg, sizeof(reg)); in stm32mp_pwr_regulator_set_enable()
/external/u-boot/test/dm/
Dpmic.c79 ut_assertok(pmic_read(dev, i, &in_buffer, 1)); in dm_test_power_pmic_io()
/external/u-boot/include/power/
Dpmic.h264 int pmic_read(struct udevice *dev, uint reg, uint8_t *buffer, int len);