Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq24257_charger.c164 static const u32 bq24257_vbat_map[] = { variable
173 #define BQ24257_VBAT_MAP_SIZE ARRAY_SIZE(bq24257_vbat_map)
375 val->intval = bq24257_vbat_map[bq->init_data.vbat]; in bq24257_power_supply_get_property()
379 val->intval = bq24257_vbat_map[BQ24257_VBAT_MAP_SIZE - 1]; in bq24257_power_supply_get_property()
897 bq->init_data.vbat = bq24257_find_idx(property, bq24257_vbat_map, in bq24257_fw_probe()