Home
last modified time | relevance | path

Searched refs:pmic_bus_read (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/power/
H A Daxp209.c48 while ((rc = pmic_bus_read(AXP209_DCDC2_VOLTAGE, &current)) == 0 && in axp_set_dcdc2()
90 rc = pmic_bus_read(AXP209_LDO24_VOLTAGE, &reg); in axp_set_aldo2()
118 rc = pmic_bus_read(AXP209_VRC_DCDC2_LDO3, &cfg); in axp_set_aldo3()
133 rc = pmic_bus_read(AXP209_OUTPUT_CTRL, &cfg); in axp_set_aldo3()
178 rc = pmic_bus_read(AXP209_LDO24_VOLTAGE, &reg); in axp_set_aldo4()
199 rc = pmic_bus_read(AXP209_CHIP_VERSION, &ver); in axp_init()
H A Daxp152.c29 while ((rc = pmic_bus_read(AXP152_DCDC2_VOLTAGE, &current)) == 0 && in axp_set_dcdc2()
72 rc = pmic_bus_read(AXP152_CHIP_VERSION, &ver); in axp_init()
H A Daxp221.c218 ret = pmic_bus_read(AXP221_CHIP_ID, &axp_chip_id); in axp_init()
254 ret = pmic_bus_read(AXP221_SID + i, &dest[i]); in axp_get_sid()
H A Daxp818.c246 ret = pmic_bus_read(AXP818_CHIP_ID, &axp_chip_id); in axp_init()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dpmic_bus.c61 int pmic_bus_read(u8 reg, u8 *data) in pmic_bus_read() function
100 ret = pmic_bus_read(reg, &val); in pmic_bus_setbits()
116 ret = pmic_bus_read(reg, &val); in pmic_bus_clrbits()
/openbmc/u-boot/drivers/gpio/
H A Daxp_gpio.c89 ret = pmic_bus_read(AXP_POWER_STATUS, &val); in axp_gpio_get_value()
96 ret = pmic_bus_read(AXP_VBUS_IPSOUT, &val); in axp_gpio_get_value()
105 ret = pmic_bus_read(AXP_GPIO_STATE, &val); in axp_gpio_get_value()
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dpmic_bus.h12 int pmic_bus_read(u8 reg, u8 *data);