Lines Matching refs:battery_capacity
40 uint8_t battery_capacity; member
629 uint8_t battery_capacity; in ps_battery_get_property() local
635 battery_capacity = dev->battery_capacity; in ps_battery_get_property()
647 val->intval = battery_capacity; in ps_battery_get_property()
1314 uint8_t battery_data, battery_capacity, charging_status, value; in dualsense_parse_report() local
1455 battery_capacity = min(battery_data * 10 + 5, 100); in dualsense_parse_report()
1459 battery_capacity = min(battery_data * 10 + 5, 100); in dualsense_parse_report()
1463 battery_capacity = 100; in dualsense_parse_report()
1468 battery_capacity = 0; in dualsense_parse_report()
1473 battery_capacity = 0; in dualsense_parse_report()
1478 ps_dev->battery_capacity = battery_capacity; in dualsense_parse_report()
1611 ps_dev->battery_capacity = 100; /* initial value until parse_report. */ in dualsense_create()
2181 uint8_t battery_capacity, num_touch_reports, value; in dualshock4_parse_report() local
2324 battery_capacity = battery_data * 10 + 5; in dualshock4_parse_report()
2327 battery_capacity = 100; in dualshock4_parse_report()
2330 battery_capacity = 100; in dualshock4_parse_report()
2333 battery_capacity = 0; in dualshock4_parse_report()
2340 battery_capacity = battery_data * 10 + 5; in dualshock4_parse_report()
2342 battery_capacity = 100; in dualshock4_parse_report()
2348 ps_dev->battery_capacity = battery_capacity; in dualshock4_parse_report()
2523 ps_dev->battery_capacity = 100; /* initial value until parse_report. */ in dualshock4_create()