Lines Matching +full:100 +full:bt

206 /* Main DualSense input report excluding any BT/USB specific headers. */
231 /* Common data between DualSense BT/USB main output report. */
286 struct dualsense_output_report_bt *bt; member
424 /* Main DualShock4 input report excluding any BT/USB specific headers. */
457 struct dualshock4_touch_report touch_reports[4]; /* BT has 4 compared to 3 for USB */
507 struct dualshock4_output_report_bt *bt; member
1187 struct dualsense_output_report_bt *bt = buf; in dualsense_init_output_report() local
1189 memset(bt, 0, sizeof(*bt)); in dualsense_init_output_report()
1190 bt->report_id = DS_OUTPUT_REPORT_BT; in dualsense_init_output_report()
1191 bt->tag = DS_OUTPUT_TAG; /* Tag must be set. Exact meaning is unclear. */ in dualsense_init_output_report()
1197 bt->seq_tag = (ds->output_seq << 4) | 0x0; in dualsense_init_output_report()
1202 rp->len = sizeof(*bt); in dualsense_init_output_report()
1203 rp->bt = bt; in dualsense_init_output_report()
1205 rp->common = &bt->common; in dualsense_init_output_report()
1214 rp->bt = NULL; in dualsense_init_output_report()
1240 if (report->bt) { in dualsense_send_output_report()
1247 report->bt->crc32 = cpu_to_le32(crc); in dualsense_send_output_report()
1460 * 0 = 0-9%, 1 = 10-19%, .. and 10 = 100% 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()
1470 battery_capacity = 100; in dualsense_parse_report()
1618 ps_dev->battery_capacity = 100; /* initial value until parse_report. */ in dualsense_create()
1843 /* BT + Dongle */ in dualshock4_get_calibration_data()
1953 /* Note USB and BT support the same feature report, but this report in dualshock4_get_firmware_info()
2110 struct dualshock4_output_report_bt *bt = buf; in dualshock4_init_output_report() local
2112 memset(bt, 0, sizeof(*bt)); in dualshock4_init_output_report()
2113 bt->report_id = DS4_OUTPUT_REPORT_BT; in dualshock4_init_output_report()
2116 rp->len = sizeof(*bt); in dualshock4_init_output_report()
2117 rp->bt = bt; in dualshock4_init_output_report()
2119 rp->common = &bt->common; in dualshock4_init_output_report()
2128 rp->bt = NULL; in dualshock4_init_output_report()
2196 if (report.bt) { in dualshock4_output_worker()
2203 report.bt->hw_control = DS4_OUTPUT_HWCTL_HID | DS4_OUTPUT_HWCTL_CRC32; in dualshock4_output_worker()
2206 report.bt->hw_control |= ds4->bt_poll_interval; in dualshock4_output_worker()
2213 report.bt->crc32 = cpu_to_le32(crc); in dualshock4_output_worker()
2246 struct dualshock4_input_report_bt *bt = (struct dualshock4_input_report_bt *)data; in dualshock4_parse_report() local
2247 uint32_t report_crc = get_unaligned_le32(&bt->crc32); in dualshock4_parse_report()
2255 ds4_report = &bt->common; in dualshock4_parse_report()
2256 num_touch_reports = bt->num_touch_reports; in dualshock4_parse_report()
2257 touch_reports = bt->touch_reports; in dualshock4_parse_report()
2388 battery_capacity = 100; in dualshock4_parse_report()
2391 battery_capacity = 100; in dualshock4_parse_report()
2403 battery_capacity = 100; in dualshock4_parse_report()
2584 ps_dev->battery_capacity = 100; /* initial value until parse_report. */ in dualshock4_create()