Home
last modified time | relevance | path

Searched refs:batt_detect (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dmax8925_power.c76 unsigned batt_detect:1; /* detecing MB by ID pin */ member
420 if (info->batt_detect) in max8925_init_charger()
458 int batt_detect; in max8925_power_dt_init() local
481 of_property_read_u32(np, "batt-detect", &batt_detect); in max8925_power_dt_init()
486 pdata->batt_detect = batt_detect; in max8925_power_dt_init()
552 info->batt_detect = pdata->batt_detect; in max8925_power_probe()
/openbmc/linux/include/linux/mfd/
H A Dmax8925.h218 unsigned batt_detect:1; member