Searched refs:spwr_battery_present (Results 1 – 1 of 1) sorted by relevance
155 static bool spwr_battery_present(struct spwr_battery_device *bat) in spwr_battery_present() function 175 if (!spwr_battery_present(bat)) in spwr_battery_load_bix() 193 if (!spwr_battery_present(bat)) in spwr_battery_load_bst() 301 present = spwr_battery_present(bat); in spwr_battery_recheck_full() 308 if (!present && spwr_battery_present(bat)) { in spwr_battery_recheck_full() 557 if (!spwr_battery_present(bat) && psp != POWER_SUPPLY_PROP_PRESENT) { in spwr_battery_get_property() 568 val->intval = spwr_battery_present(bat); in spwr_battery_get_property() 695 if (!spwr_battery_present(bat)) { in alarm_store() 767 if (spwr_battery_present(bat)) { in spwr_battery_register()