Home
last modified time | relevance | path

Searched refs:POWER_SUPPLY_STATUS_CHARGING (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/hid/
H A Dhid-input-test.c28 KUNIT_EXPECT_EQ(test, dev->battery_charge_status, POWER_SUPPLY_STATUS_CHARGING); in hid_test_input_set_battery_charge_status()
47 dev->battery_charge_status = POWER_SUPPLY_STATUS_CHARGING; in hid_test_input_get_battery_property()
53 dev->battery_charge_status = POWER_SUPPLY_STATUS_CHARGING; in hid_test_input_get_battery_property()
56 KUNIT_EXPECT_EQ(test, val.intval, POWER_SUPPLY_STATUS_CHARGING); in hid_test_input_get_battery_property()
/linux/drivers/power/supply/
H A Dapm_power.c187 if (status == POWER_SUPPLY_STATUS_CHARGING) in do_calculate_time()
301 if ((status.intval == POWER_SUPPLY_STATUS_CHARGING) || in apm_battery_apm_get_power_status()
324 if (status.intval == POWER_SUPPLY_STATUS_CHARGING) { in apm_battery_apm_get_power_status()
340 if (status.intval == POWER_SUPPLY_STATUS_CHARGING) { in apm_battery_apm_get_power_status()
H A Dcpcap-charger.c224 if (ddata->status == POWER_SUPPLY_STATUS_CHARGING) in cpcap_charger_get_property()
231 if (ddata->status == POWER_SUPPLY_STATUS_CHARGING) in cpcap_charger_get_property()
238 val->intval = ddata->status == POWER_SUPPLY_STATUS_CHARGING; in cpcap_charger_get_property()
391 case POWER_SUPPLY_STATUS_CHARGING: in cpcap_charger_update_state()
658 case POWER_SUPPLY_STATUS_CHARGING: in cpcap_usb_detect()
720 POWER_SUPPLY_STATUS_CHARGING); in cpcap_usb_detect()
H A Dcollie_battery.c172 if (old == POWER_SUPPLY_STATUS_CHARGING || in collie_bat_update()
180 bat->status = POWER_SUPPLY_STATUS_CHARGING; in collie_bat_update()
293 collie_bat_main.status == POWER_SUPPLY_STATUS_CHARGING) in collie_bat_suspend()
H A Dmax77650-charger.c202 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max77650_charger_get_property()
220 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max77650_charger_get_property()
H A Dcros_peripheral_charger.c152 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_pchg_get_status()
156 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_pchg_get_status()
H A Daxp20x_battery.c298 val->intval = POWER_SUPPLY_STATUS_CHARGING; in axp20x_battery_get_prop()
455 val->intval = POWER_SUPPLY_STATUS_CHARGING; in axp717_battery_get_prop()
787 case POWER_SUPPLY_STATUS_CHARGING: in axp20x_battery_set_prop()
820 case POWER_SUPPLY_STATUS_CHARGING: in axp717_battery_set_prop()
H A Drn5t618_power.c145 return POWER_SUPPLY_STATUS_CHARGING; in rn5t618_decode_status()
453 if (val->intval != POWER_SUPPLY_STATUS_CHARGING) in rn5t618_adp_get_property()
573 if (val->intval != POWER_SUPPLY_STATUS_CHARGING) in rn5t618_usb_get_property()
H A Dbq24735-charger.c268 val->intval = POWER_SUPPLY_STATUS_CHARGING; in bq24735_charger_get_property()
295 case POWER_SUPPLY_STATUS_CHARGING: in bq24735_charger_set_property()
H A Dda9052-battery.c263 bat->status = POWER_SUPPLY_STATUS_CHARGING; in da9052_bat_check_status()
270 bat->status = POWER_SUPPLY_STATUS_CHARGING; in da9052_bat_check_status()
H A Dwm831x_backup.c127 val->intval = POWER_SUPPLY_STATUS_CHARGING; in wm831x_backup_get_prop()
H A Dmax8998_charger.c71 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8998_battery_get_property()
H A Dip5xxx_power.c200 *val = POWER_SUPPLY_STATUS_CHARGING; in ip5xxx_battery_get_status()
445 case POWER_SUPPLY_STATUS_CHARGING: in ip5xxx_battery_set_property()
H A Dmax14577_charger.c82 *val = POWER_SUPPLY_STATUS_CHARGING; in max14577_get_charger_state()
113 if (charging == POWER_SUPPLY_STATUS_CHARGING) in max14577_get_charge_type()
H A Dpmu_battery.c92 val->intval = POWER_SUPPLY_STATUS_CHARGING; in pmu_bat_get_property()
H A Dlt3651-charger.c53 val->intval = POWER_SUPPLY_STATUS_CHARGING; in lt3651_charger_get_property()
H A Dact8945a_charger.c105 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
111 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
H A Dtwl4030_madc_battery.c120 val->intval = POWER_SUPPLY_STATUS_CHARGING; in twl4030_madc_bat_get_property()
H A Dpower_supply_leds.c116 case POWER_SUPPLY_STATUS_CHARGING: in power_supply_update_bat_leds()
H A Dsbs-charger.c68 val->intval = POWER_SUPPLY_STATUS_CHARGING; in sbs_get_property()
H A Dolpc_battery.c103 val->intval = POWER_SUPPLY_STATUS_CHARGING; in olpc_bat_get_status()
117 val->intval = POWER_SUPPLY_STATUS_CHARGING; in olpc_bat_get_status()
H A Dacer_a500_battery.c87 return POWER_SUPPLY_STATUS_CHARGING; in a500_battery_get_status()
H A Dwm97xx_battery.c106 POWER_SUPPLY_STATUS_CHARGING) : in wm97xx_bat_update()
H A Dipaq_micro_battery.c123 return POWER_SUPPLY_STATUS_CHARGING; in get_status()
H A Dgeneric-adc-battery.c138 adc_bat->status = POWER_SUPPLY_STATUS_CHARGING; in gab_work()

1234