Searched refs:bat_status (Results 1 – 6 of 6) sorted by relevance
25 static int bat_status = POWER_SUPPLY_STATUS_UNKNOWN; variable54 val->intval = bat_status; in wm97xx_bat_get_property()99 int old_status = bat_status; in wm97xx_bat_update()103 bat_status = (charge_gpiod) ? in wm97xx_bat_update()109 if (old_status != bat_status) { in wm97xx_bat_update()111 bat_status); in wm97xx_bat_update()
221 u8 bat_status; in da9052_bat_check_status() local237 bat_status = v[0]; in da9052_bat_check_status()240 dcinsel = bat_status & DA9052_STATUSA_DCINSEL; in da9052_bat_check_status()241 dcindet = bat_status & DA9052_STATUSA_DCINDET; in da9052_bat_check_status()242 vbussel = bat_status & DA9052_STATUSA_VBUSSEL; in da9052_bat_check_status()243 vbusdet = bat_status & DA9052_STATUSA_VBUSDET; in da9052_bat_check_status()
38 unsigned int bat_status; member141 ecbat->bat_status = val; in yoga_c630_psy_maybe_update_bat_status()194 if (ecbat->bat_status != 0) in yoga_c630_psy_is_charged()222 if (ecbat->bat_status & LENOVO_EC_BAT_STATUS_DISCHARGING) in yoga_c630_psy_bat_get_property()224 else if (ecbat->bat_status & LENOVO_EC_BAT_STATUS_CHARGING) in yoga_c630_psy_bat_get_property()
315 bool status, bat_status; in mshw0011_isr() local332 bat_status = bst.battery_state; in mshw0011_isr()333 if (bat_status != cdata->bat_charging) in mshw0011_isr()337 cdata->bat_charging = bat_status; in mshw0011_isr()
323 int bat_status; member
1748 if (battery->bat_status != WACOM_POWER_SUPPLY_STATUS_AUTO) in wacom_battery_get_property()1749 val->intval = battery->bat_status; in wacom_battery_get_property()