Searched refs:battery_capacity (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/power/supply/ |
D | test_power.c | 34 static int battery_capacity = 50; variable 101 val->intval = battery_capacity; in test_power_get_battery_property() 428 battery_capacity = tmp; in param_set_battery_capacity() 522 module_param(battery_capacity, battery_capacity, 0644); 523 MODULE_PARM_DESC(battery_capacity, "battery capacity (percentage)");
|
/Linux-v5.4/drivers/hid/ |
D | hid-sony.c | 567 u8 battery_capacity; member 878 u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report() local 889 battery_capacity = 100; in sixaxis_parse_report() 894 battery_capacity = sixaxis_battery_capacity[index]; in sixaxis_parse_report() 901 sc->battery_capacity = battery_capacity; in sixaxis_parse_report() 930 u8 cable_state, battery_capacity, battery_charging; in dualshock4_parse_report() local 1035 battery_capacity = rd[offset] & 0x0F; in dualshock4_parse_report() 1042 if (!cable_state || battery_capacity > 10) in dualshock4_parse_report() 1048 battery_capacity++; in dualshock4_parse_report() 1049 if (battery_capacity > 10) in dualshock4_parse_report() [all …]
|
D | hid-asus.c | 116 int battery_capacity; member 467 drvdata->battery_capacity = ((int)lvl * 100) / (int)BATTERY_LEVEL_MAX; in asus_parse_battery() 550 val->intval = drvdata->battery_capacity; in asus_battery_get_property() 575 drvdata->battery_capacity = 0; in asus_battery_probe()
|
D | wacom.h | 139 int battery_capacity; member
|
D | wacom_wac.h | 316 int battery_capacity; member
|
D | hid-input.c | 390 value = dev->battery_capacity; in hidinput_get_battery_property() 407 dev->battery_capacity = value; in hidinput_get_battery_property() 413 else if (dev->battery_capacity == 100) in hidinput_get_battery_property() 537 capacity != dev->battery_capacity) { in hidinput_update_battery() 538 dev->battery_capacity = capacity; in hidinput_update_battery()
|
D | wacom_wac.c | 61 battery->battery_capacity != bat_capacity || in __wacom_notify_battery() 68 battery->battery_capacity = bat_capacity; in __wacom_notify_battery() 309 int battery_capacity, ps_connected; in wacom_graphire_irq() local 448 battery_capacity = batcap_gr[rw]; in wacom_graphire_irq() 451 battery_capacity, ps_connected, 1, in wacom_graphire_irq() 1196 unsigned power_raw, battery_capacity, bat_charging, ps_connected; in wacom_intuos_bt_irq() local 1213 battery_capacity = batcap_i4[power_raw & 0x07]; in wacom_intuos_bt_irq() 1215 battery_capacity, bat_charging, in wacom_intuos_bt_irq() 1216 battery_capacity || bat_charging, in wacom_intuos_bt_irq() 1911 wacom_wac->hid_data.battery_capacity = value; in wacom_wac_battery_event() [all …]
|
D | wacom_sys.c | 1703 val->intval = battery->battery_capacity; in wacom_battery_get_property() 1710 else if (battery->battery_capacity == 100 && in wacom_battery_get_property()
|
/Linux-v5.4/include/linux/ |
D | hid.h | 579 __s32 battery_capacity; member
|