Searched refs:axp_chip_id (Results 1 - 4 of 4) sorted by relevance

/u-boot/drivers/power/
H A Daxp313.c98 u8 axp_chip_id; local
105 ret = pmic_bus_read(AXP313_CHIP_VERSION, &axp_chip_id);
109 axp_chip_id &= AXP313_CHIP_VERSION_MASK;
110 switch (axp_chip_id) {
116 debug("unknown PMIC: 0x%x\n", axp_chip_id);
H A Daxp305.c55 u8 axp_chip_id; local
62 ret = pmic_bus_read(AXP305_CHIP_VERSION, &axp_chip_id);
66 if ((axp_chip_id & AXP305_CHIP_VERSION_MASK) != 0x40)
H A Daxp221.c211 u8 axp_chip_id; local
218 ret = pmic_bus_read(AXP221_CHIP_ID, &axp_chip_id);
222 if (!(axp_chip_id == 0x6 || axp_chip_id == 0x7 || axp_chip_id == 0x17))
H A Daxp818.c239 u8 axp_chip_id; local
246 ret = pmic_bus_read(AXP818_CHIP_ID, &axp_chip_id);
250 if (!(axp_chip_id == 0x51))

Completed in 51 milliseconds