Searched refs:POWER_SUPPLY_STATUS_CHARGING (Results 1 – 25 of 97) sorted by relevance
1234
28 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()
187 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()
224 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()
172 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()
202 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max77650_charger_get_property()220 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max77650_charger_get_property()
152 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()
298 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()
145 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()
268 val->intval = POWER_SUPPLY_STATUS_CHARGING; in bq24735_charger_get_property()295 case POWER_SUPPLY_STATUS_CHARGING: in bq24735_charger_set_property()
263 bat->status = POWER_SUPPLY_STATUS_CHARGING; in da9052_bat_check_status()270 bat->status = POWER_SUPPLY_STATUS_CHARGING; in da9052_bat_check_status()
127 val->intval = POWER_SUPPLY_STATUS_CHARGING; in wm831x_backup_get_prop()
71 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8998_battery_get_property()
200 *val = POWER_SUPPLY_STATUS_CHARGING; in ip5xxx_battery_get_status()445 case POWER_SUPPLY_STATUS_CHARGING: in ip5xxx_battery_set_property()
82 *val = POWER_SUPPLY_STATUS_CHARGING; in max14577_get_charger_state()113 if (charging == POWER_SUPPLY_STATUS_CHARGING) in max14577_get_charge_type()
92 val->intval = POWER_SUPPLY_STATUS_CHARGING; in pmu_bat_get_property()
53 val->intval = POWER_SUPPLY_STATUS_CHARGING; in lt3651_charger_get_property()
105 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()111 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
120 val->intval = POWER_SUPPLY_STATUS_CHARGING; in twl4030_madc_bat_get_property()
116 case POWER_SUPPLY_STATUS_CHARGING: in power_supply_update_bat_leds()
68 val->intval = POWER_SUPPLY_STATUS_CHARGING; in sbs_get_property()
103 val->intval = POWER_SUPPLY_STATUS_CHARGING; in olpc_bat_get_status()117 val->intval = POWER_SUPPLY_STATUS_CHARGING; in olpc_bat_get_status()
87 return POWER_SUPPLY_STATUS_CHARGING; in a500_battery_get_status()
106 POWER_SUPPLY_STATUS_CHARGING) : in wm97xx_bat_update()
123 return POWER_SUPPLY_STATUS_CHARGING; in get_status()
138 adc_bat->status = POWER_SUPPLY_STATUS_CHARGING; in gab_work()