Lines Matching refs:report
116 __s32 *raw_cc; /* contact count in the report */
126 __u8 touches_by_report; /* how many touches are present in one report:
153 struct hid_report *report;
418 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report)
421 u32 size = hid_report_len(report);
425 * Do not fetch the feature report if the device has been explicitly
431 buf = hid_alloc_report_buf(report, GFP_KERNEL);
435 ret = hid_hw_raw_request(hdev, report->id, buf, size,
439 report->id);
444 dev_warn(&hdev->dev, "failed to report feature\n");
457 mt_get_feature(hdev, field->report);
474 mt_get_feature(hdev, field->report);
482 mt_get_feature(hdev, field->report);
526 struct hid_report *report)
528 unsigned int application = report->application;
553 mt_application->report_id = report->id;
561 struct hid_report *report)
563 unsigned int application = report->application;
569 tmp->report_id == report->id) {
577 mt_application = mt_allocate_application(td, report);
583 struct hid_report *report)
593 rdata->report = report;
594 rdata->application = mt_find_application(td, report);
601 for (r = 0; r < report->maxfield; r++) {
602 field = report->field[r];
623 struct hid_report *report)
628 if (report == tmp->report) {
635 rdata = mt_allocate_report_data(td, report);
839 /* contact max are global to the report */
1037 * longer valid. We can't simply report
1065 * Note that ABS_MT_ORIENTATION require us to report
1067 * out of range to [-MAX/2, MAX/2] to report an upside
1129 * device claims to have both we need to report 1 for
1131 * together and report the result in mt_sync_frame().
1146 struct hid_report *report = rdata->report;
1190 input = report->field[0]->hidinput->input;
1197 for (r = 0; r < report->maxfield; r++) {
1198 field = report->field[r];
1216 * subsequent report
1217 * - the report rate when fingers are present has to be at least
1220 * I interprete this that the specification forces a report rate of
1222 * Which means that if we do not get a report whithin 16 ms, either
1297 rdata = mt_find_report_data(td, field->report);
1299 hid_err(hdev, "failed to allocate data for report\n");
1326 * touchpad report descriptor. We need to treat these as an array to
1369 rdata = mt_find_report_data(td, field->report);
1385 rdata = mt_find_report_data(td, field->report);
1392 static void mt_report(struct hid_device *hid, struct hid_report *report)
1395 struct hid_field *field = report->field[0];
1401 rdata = mt_find_report_data(td, report);
1419 struct hid_report *report = field->report;
1436 report_len = hid_report_len(report);
1437 buf = hid_alloc_report_buf(report, GFP_KERNEL);
1440 "failed to allocate buffer for report\n");
1443 hid_hw_raw_request(hdev, report->id, buf, report_len,
1477 return false; /* no need to update the report */
1495 /* Ignore if report count is out of bounds. */
1547 struct hid_report *report;
1550 list_for_each_entry(report, &hi->reports, hidinput_list) {
1551 rdata = mt_find_report_data(td, report);
1553 hid_err(hdev, "failed to allocate data for report\n");
1616 struct hid_report *report;
1619 list_for_each_entry(report,
1623 if (!report->maxfield)
1626 for (i = 0; i < report->maxfield; i++)
1627 if (report->field[i]->maxusage >= 1)
1628 mt_fix_const_field(report->field[i], usage);
1664 * An input report came in just before we release the sticky fingers,
2175 .report = mt_report,