Searched refs:bat_status (Results 1 – 9 of 9) 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()
29 int bat_status; member143 power->bat_status = in nvec_power_bat_notifier()147 power->bat_status = in nvec_power_bat_notifier()151 power->bat_status = in nvec_power_bat_notifier()155 power->bat_status = POWER_SUPPLY_STATUS_UNKNOWN; in nvec_power_bat_notifier()162 power->bat_status = POWER_SUPPLY_STATUS_UNKNOWN; in nvec_power_bat_notifier()246 val->intval = power->bat_status; in nvec_battery_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()
136 int bat_status; member
321 int bat_status; member
89 int bat_status, int bat_capacity, in __wacom_notify_battery() argument93 bool changed = battery->bat_status != bat_status || in __wacom_notify_battery()100 battery->bat_status = bat_status; in __wacom_notify_battery()112 int bat_status, int bat_capacity, bool bat_charging, in wacom_notify_battery() argument122 __wacom_notify_battery(&wacom->battery, bat_status, bat_capacity, in wacom_notify_battery()1984 wacom_wac->hid_data.bat_status = POWER_SUPPLY_STATUS_UNKNOWN; in wacom_wac_battery_event()1990 wacom_wac->hid_data.bat_status = WACOM_POWER_SUPPLY_STATUS_AUTO; in wacom_wac_battery_event()1998 wacom_wac->hid_data.bat_status = WACOM_POWER_SUPPLY_STATUS_AUTO; in wacom_wac_battery_event()2005 wacom_wac->hid_data.bat_status = WACOM_POWER_SUPPLY_STATUS_AUTO; in wacom_wac_battery_event()2023 int status = wacom_wac->hid_data.bat_status; in wacom_wac_battery_report()
1735 if (battery->bat_status != WACOM_POWER_SUPPLY_STATUS_AUTO) in wacom_battery_get_property()1736 val->intval = battery->bat_status; in wacom_battery_get_property()
490 static int bat_status(void) in bat_status() function559 val->intval = bat_status(); in bat_get_property()