Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dbq24190_charger.c241 u8 ss_reg; member
1508 u8 ss_reg, chrg_fault; in bq24190_battery_get_status() local
1518 ret = bq24190_read(bdi, BQ24190_REG_SS, &ss_reg); in bq24190_battery_get_status()
1529 if (!(ss_reg & BQ24190_REG_SS_PG_STAT_MASK) || chrg_fault) { in bq24190_battery_get_status()
1532 ss_reg &= BQ24190_REG_SS_CHRG_STAT_MASK; in bq24190_battery_get_status()
1533 ss_reg >>= BQ24190_REG_SS_CHRG_STAT_SHIFT; in bq24190_battery_get_status()
1535 switch (ss_reg) { in bq24190_battery_get_status()
1742 static int bq24190_configure_usb_otg(struct bq24190_dev_info *bdi, u8 ss_reg) in bq24190_configure_usb_otg() argument
1747 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()
1761 u8 ss_reg = 0, f_reg = 0; in bq24190_check_status() local
[all …]