Searched refs:bdpsy (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | bd70528-charger.c | 147 struct bd70528_psy *bdpsy) in bd70528_get_irqs() argument 181 bdpsy->psy); in bd70528_get_irqs() 193 ret = regmap_update_bits(bdpsy->regmap, in bd70528_get_irqs() 201 static int bd70528_get_charger_status(struct bd70528_psy *bdpsy, int *val) in bd70528_get_charger_status() argument 206 ret = regmap_read(bdpsy->regmap, BD70528_REG_CHG_CURR_STAT, &v); in bd70528_get_charger_status() 208 dev_err(bdpsy->dev, "Charger state read failure %d\n", in bd70528_get_charger_status() 241 static int bd70528_get_charge_type(struct bd70528_psy *bdpsy, int *val) in bd70528_get_charge_type() argument 246 ret = regmap_read(bdpsy->regmap, BD70528_REG_CHG_CURR_STAT, &v); in bd70528_get_charge_type() 248 dev_err(bdpsy->dev, "Charger state read failure %d\n", in bd70528_get_charge_type() 281 static int bd70528_get_battery_health(struct bd70528_psy *bdpsy, int *val) in bd70528_get_battery_health() argument [all …]
|