Home
last modified time | relevance | path

Searched refs:battery_data (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/hid/
Dhid-playstation.c1321 uint8_t battery_data, battery_capacity, charging_status, value; in dualsense_parse_report() local
1453 battery_data = ds_report->status & DS_STATUS_BATTERY_CAPACITY; in dualsense_parse_report()
1462 battery_capacity = min(battery_data * 10 + 5, 100); in dualsense_parse_report()
1466 battery_capacity = min(battery_data * 10 + 5, 100); in dualsense_parse_report()
2377 uint8_t battery_data = ds4_report->status[0] & DS4_STATUS0_BATTERY_CAPACITY; in dualshock4_parse_report() local
2379 if (battery_data < 10) { in dualshock4_parse_report()
2385 battery_capacity = battery_data * 10 + 5; in dualshock4_parse_report()
2387 } else if (battery_data == 10) { in dualshock4_parse_report()
2390 } else if (battery_data == DS4_BATTERY_STATUS_FULL) { in dualshock4_parse_report()
2398 uint8_t battery_data = ds4_report->status[0] & DS4_STATUS0_BATTERY_CAPACITY; in dualshock4_parse_report() local
[all …]