Lines Matching +full:100 +full:bt

201 /* Main DualSense input report excluding any BT/USB specific headers. */
226 /* Common data between DualSense BT/USB main output report. */
281 struct dualsense_output_report_bt *bt; member
417 /* Main DualShock4 input report excluding any BT/USB specific headers. */
450 struct dualshock4_touch_report touch_reports[4]; /* BT has 4 compared to 3 for USB */
500 struct dualshock4_output_report_bt *bt; member
1180 struct dualsense_output_report_bt *bt = buf; in dualsense_init_output_report() local
1182 memset(bt, 0, sizeof(*bt)); in dualsense_init_output_report()
1183 bt->report_id = DS_OUTPUT_REPORT_BT; in dualsense_init_output_report()
1184 bt->tag = DS_OUTPUT_TAG; /* Tag must be set. Exact meaning is unclear. */ in dualsense_init_output_report()
1190 bt->seq_tag = (ds->output_seq << 4) | 0x0; in dualsense_init_output_report()
1195 rp->len = sizeof(*bt); in dualsense_init_output_report()
1196 rp->bt = bt; in dualsense_init_output_report()
1198 rp->common = &bt->common; in dualsense_init_output_report()
1207 rp->bt = NULL; in dualsense_init_output_report()
1233 if (report->bt) { in dualsense_send_output_report()
1240 report->bt->crc32 = cpu_to_le32(crc); in dualsense_send_output_report()
1453 * 0 = 0-9%, 1 = 10-19%, .. and 10 = 100% in dualsense_parse_report()
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()
1611 ps_dev->battery_capacity = 100; /* initial value until parse_report. */ in dualsense_create()
1830 /* BT + Dongle */ in dualshock4_get_calibration_data()
1936 /* Note USB and BT support the same feature report, but this report in dualshock4_get_firmware_info()
2085 struct dualshock4_output_report_bt *bt = buf; in dualshock4_init_output_report() local
2087 memset(bt, 0, sizeof(*bt)); in dualshock4_init_output_report()
2088 bt->report_id = DS4_OUTPUT_REPORT_BT; in dualshock4_init_output_report()
2091 rp->len = sizeof(*bt); in dualshock4_init_output_report()
2092 rp->bt = bt; in dualshock4_init_output_report()
2094 rp->common = &bt->common; in dualshock4_init_output_report()
2103 rp->bt = NULL; in dualshock4_init_output_report()
2151 if (report.bt) { in dualshock4_output_worker()
2158 report.bt->hw_control = DS4_OUTPUT_HWCTL_HID | DS4_OUTPUT_HWCTL_CRC32; in dualshock4_output_worker()
2161 report.bt->hw_control |= ds4->bt_poll_interval; in dualshock4_output_worker()
2168 report.bt->crc32 = cpu_to_le32(crc); in dualshock4_output_worker()
2200 struct dualshock4_input_report_bt *bt = (struct dualshock4_input_report_bt *)data; in dualshock4_parse_report() local
2201 uint32_t report_crc = get_unaligned_le32(&bt->crc32); in dualshock4_parse_report()
2209 ds4_report = &bt->common; in dualshock4_parse_report()
2210 num_touch_reports = bt->num_touch_reports; in dualshock4_parse_report()
2211 touch_reports = bt->touch_reports; in dualshock4_parse_report()
2327 battery_capacity = 100; in dualshock4_parse_report()
2330 battery_capacity = 100; in dualshock4_parse_report()
2342 battery_capacity = 100; in dualshock4_parse_report()
2523 ps_dev->battery_capacity = 100; /* initial value until parse_report. */ in dualshock4_create()