Searched refs:pmic_bus_read (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/drivers/power/ |
H A D | axp209.c | 48 while ((rc = pmic_bus_read(AXP209_DCDC2_VOLTAGE, ¤t)) == 0 && in axp_set_dcdc2() 90 rc = pmic_bus_read(AXP209_LDO24_VOLTAGE, ®); 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, ®); in axp_set_aldo4() 199 rc = pmic_bus_read(AXP209_CHIP_VERSION, &ver); in axp_init()
|
H A D | axp152.c | 29 while ((rc = pmic_bus_read(AXP152_DCDC2_VOLTAGE, ¤t)) == 0 && in axp_set_dcdc2() 72 rc = pmic_bus_read(AXP152_CHIP_VERSION, &ver); in axp_init()
|
H A D | axp221.c | 218 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 D | axp818.c | 246 ret = pmic_bus_read(AXP818_CHIP_ID, &axp_chip_id); in axp_init()
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | pmic_bus.c | 61 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 D | axp_gpio.c | 89 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 D | pmic_bus.h | 12 int pmic_bus_read(u8 reg, u8 *data);
|