/Linux-v4.19/arch/sh/boards/mach-hp6xx/ |
D | hp6xx_apm.c | 58 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in hp6x0_apm_get_power_status() 61 info->battery_status = APM_BATTERY_STATUS_CHARGING; in hp6x0_apm_get_power_status() 65 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in hp6x0_apm_get_power_status() 68 info->battery_status = APM_BATTERY_STATUS_LOW; in hp6x0_apm_get_power_status() 71 info->battery_status = APM_BATTERY_STATUS_HIGH; in hp6x0_apm_get_power_status()
|
/Linux-v4.19/drivers/macintosh/ |
D | apm_emu.c | 40 info->battery_status = APM_BATTERY_STATUS_UNKNOWN; in pmu_apm_get_power_status() 79 info->battery_status = APM_BATTERY_STATUS_CHARGING; in pmu_apm_get_power_status() 82 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in pmu_apm_get_power_status() 85 info->battery_status = APM_BATTERY_STATUS_LOW; in pmu_apm_get_power_status() 88 info->battery_status = APM_BATTERY_STATUS_HIGH; in pmu_apm_get_power_status()
|
/Linux-v4.19/drivers/power/supply/ |
D | test_power.c | 33 static int battery_status = POWER_SUPPLY_STATUS_DISCHARGING; variable 85 val->intval = battery_status; in test_power_get_battery_property() 232 battery_status = POWER_SUPPLY_STATUS_DISCHARGING; in test_power_exit() 366 battery_status = map_get_value(map_status, key, battery_status); in param_set_battery_status() 373 strcpy(buffer, map_get_key(map_status, battery_status, "unknown")); in param_get_battery_status() 509 module_param(battery_status, battery_status, 0644); 510 MODULE_PARM_DESC(battery_status,
|
D | apm_power.c | 326 info->battery_status = APM_BATTERY_STATUS_CHARGING; in apm_battery_apm_get_power_status() 329 info->battery_status = APM_BATTERY_STATUS_HIGH; in apm_battery_apm_get_power_status() 331 info->battery_status = APM_BATTERY_STATUS_LOW; in apm_battery_apm_get_power_status() 333 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in apm_battery_apm_get_power_status() 335 info->battery_flag = info->battery_status; in apm_battery_apm_get_power_status()
|
/Linux-v4.19/include/linux/ |
D | apm-emulation.h | 27 unsigned char battery_status; member
|
D | hid.h | 586 enum hid_battery_status battery_status; member
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | mbox_defs.h | 465 uint8_t battery_status; member 525 uint8_t battery_status; member
|
/Linux-v4.19/drivers/scsi/ |
D | megaraid.c | 2234 u8 battery_status; in proc_show_battery() local 2249 battery_status = ((mega_inquiry3 *)inquiry)->battery_status; in proc_show_battery() 2252 battery_status = ((mraid_ext_inquiry *)inquiry)-> in proc_show_battery() 2253 raid_inq.adapter_info.battery_status; in proc_show_battery() 2259 seq_printf(m, "Battery Status:[%d]", battery_status); in proc_show_battery() 2261 if(battery_status == MEGA_BATT_CHARGE_DONE) in proc_show_battery() 2264 if(battery_status & MEGA_BATT_MODULE_MISSING) in proc_show_battery() 2267 if(battery_status & MEGA_BATT_LOW_VOLTAGE) in proc_show_battery() 2270 if(battery_status & MEGA_BATT_TEMP_HIGH) in proc_show_battery() 2273 if(battery_status & MEGA_BATT_PACK_MISSING) in proc_show_battery() [all …]
|
D | megaraid.h | 310 u8 battery_status; member 347 u8 battery_status; /* member
|
/Linux-v4.19/drivers/char/ |
D | apm-emulation.c | 441 info.battery_status = 0xff; in proc_apm_show() 458 info.ac_line_status, info.battery_status, in proc_apm_show()
|
/Linux-v4.19/arch/arm/mach-pxa/ |
D | sharpsl_pm.c | 815 info->battery_status = APM_BATTERY_STATUS_CHARGING; in sharpsl_apm_get_power_status() 817 info->battery_status = sharpsl_pm.battstat.mainbat_status; in sharpsl_apm_get_power_status() 819 info->battery_flag = (1 << info->battery_status); in sharpsl_apm_get_power_status()
|
D | zeus.c | 705 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in zeus_get_power_status()
|
/Linux-v4.19/drivers/hid/ |
D | hid-input.c | 390 if (dev->battery_status != HID_BATTERY_REPORTED && in hidinput_get_battery_property() 407 if (dev->battery_status != HID_BATTERY_REPORTED && in hidinput_get_battery_property() 414 dev->battery_status = HID_BATTERY_QUERIED; in hidinput_get_battery_property() 417 if (dev->battery_status == HID_BATTERY_UNKNOWN) in hidinput_get_battery_property() 542 if (dev->battery_status != HID_BATTERY_REPORTED || in hidinput_update_battery() 545 dev->battery_status = HID_BATTERY_REPORTED; in hidinput_update_battery()
|
D | wacom_wac.c | 1393 int battery_status = data[284] & 0x7F; in wacom_intuos_pro2_bt_battery() local 1396 battery_status, chg, 1, chg); in wacom_intuos_pro2_bt_battery() 1420 int battery_status = data[45] & 0x7F; in wacom_intuos_gen3_bt_battery() local 1423 battery_status, chg, 1, chg); in wacom_intuos_gen3_bt_battery()
|
/Linux-v4.19/arch/x86/kernel/ |
D | apm_32.c | 1651 unsigned short battery_status = 0xff; in proc_apm_show() local 1660 battery_status = bx & 0xff; in proc_apm_show() 1716 battery_status, in proc_apm_show()
|