Lines Matching refs:report

118 	__s32 *raw_cc;			/* contact count in the report */
128 __u8 touches_by_report; /* how many touches are present in one report:
155 struct hid_report *report;
448 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report)
451 u32 size = hid_report_len(report);
455 * Do not fetch the feature report if the device has been explicitly
461 buf = hid_alloc_report_buf(report, GFP_KERNEL);
465 ret = hid_hw_raw_request(hdev, report->id, buf, size,
469 report->id);
474 dev_warn(&hdev->dev, "failed to report feature\n");
487 mt_get_feature(hdev, field->report);
504 mt_get_feature(hdev, field->report);
512 mt_get_feature(hdev, field->report);
556 struct hid_report *report)
558 unsigned int application = report->application;
583 mt_application->report_id = report->id;
591 struct hid_report *report)
593 unsigned int application = report->application;
599 tmp->report_id == report->id) {
607 mt_application = mt_allocate_application(td, report);
613 struct hid_report *report)
623 rdata->report = report;
624 rdata->application = mt_find_application(td, report);
631 for (r = 0; r < report->maxfield; r++) {
632 field = report->field[r];
653 struct hid_report *report)
658 if (report == tmp->report) {
665 rdata = mt_allocate_report_data(td, report);
871 /* contact max are global to the report */
1070 * longer valid. We can't simply report
1102 * Note that ABS_MT_ORIENTATION require us to report
1104 * out of range to [-MAX/2, MAX/2] to report an upside
1182 * device claims to have both we need to report 1 for
1184 * together and report the result in mt_sync_frame().
1199 struct hid_report *report = rdata->report;
1243 input = report->field[0]->hidinput->input;
1250 for (r = 0; r < report->maxfield; r++) {
1251 field = report->field[r];
1269 * subsequent report
1270 * - the report rate when fingers are present has to be at least
1273 * I interprete this that the specification forces a report rate of
1275 * Which means that if we do not get a report whithin 16 ms, either
1350 rdata = mt_find_report_data(td, field->report);
1352 hid_err(hdev, "failed to allocate data for report\n");
1379 * touchpad report descriptor. We need to treat these as an array to
1422 rdata = mt_find_report_data(td, field->report);
1438 rdata = mt_find_report_data(td, field->report);
1445 static void mt_report(struct hid_device *hid, struct hid_report *report)
1448 struct hid_field *field = report->field[0];
1454 rdata = mt_find_report_data(td, report);
1472 struct hid_report *report = field->report;
1489 report_len = hid_report_len(report);
1490 buf = hid_alloc_report_buf(report, GFP_KERNEL);
1493 "failed to allocate buffer for report\n");
1496 hid_hw_raw_request(hdev, report->id, buf, report_len,
1530 return false; /* no need to update the report */
1548 /* Ignore if report count is out of bounds. */
1600 struct hid_report *report;
1603 list_for_each_entry(report, &hi->reports, hidinput_list) {
1604 rdata = mt_find_report_data(td, report);
1606 hid_err(hdev, "failed to allocate data for report\n");
1666 struct hid_report *report;
1669 list_for_each_entry(report,
1673 if (!report->maxfield)
1676 for (i = 0; i < report->maxfield; i++)
1677 if (report->field[i]->maxusage >= 1)
1678 mt_fix_const_field(report->field[i], usage);
1714 * An input report came in just before we release the sticky fingers,
2270 .report = mt_report,