Searched refs:pmic_read (Results 1 – 8 of 8) sorted by relevance
/external/u-boot/drivers/power/regulator/ |
D | pbias_regulator.c | 210 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in pbias_regulator_get_value() 225 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in pbias_regulator_set_value() 248 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in pbias_regulator_get_enable() 266 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in pbias_regulator_set_enable()
|
D | s2mps11_regulator.c | 142 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()
|
D | max77686.c | 334 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()
|
D | sandbox.c | 93 ret = pmic_read(dev->parent, reg, ®_val, 1); in out_get_value() 152 ret = pmic_read(dev->parent, reg, ®_val, 1); in out_get_mode()
|
/external/u-boot/drivers/power/pmic/ |
D | pmic-uclass.c | 105 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/ |
D | pwr_regulator.c | 209 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in stm32mp_pwr_regulator_get_enable() 227 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in stm32mp_pwr_regulator_set_enable() 249 rc = pmic_read(dev->parent, 0, (uint8_t *)®, sizeof(reg)); in stm32mp_pwr_regulator_set_enable()
|
/external/u-boot/test/dm/ |
D | pmic.c | 79 ut_assertok(pmic_read(dev, i, &in_buffer, 1)); in dm_test_power_pmic_io()
|
/external/u-boot/include/power/ |
D | pmic.h | 264 int pmic_read(struct udevice *dev, uint reg, uint8_t *buffer, int len);
|