Lines Matching refs:report
312 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report) in mt_get_feature() argument
315 int ret, size = hid_report_len(report); in mt_get_feature()
328 buf = hid_alloc_report_buf(report, GFP_KERNEL); in mt_get_feature()
332 ret = hid_hw_raw_request(hdev, report->id, buf, size, in mt_get_feature()
336 report->id); in mt_get_feature()
361 td->inputmode = field->report->id; in mt_feature_mapping()
376 mt_get_feature(hdev, field->report); in mt_feature_mapping()
378 td->maxcontact_report_id = field->report->id; in mt_feature_mapping()
394 mt_get_feature(hdev, field->report); in mt_feature_mapping()
402 mt_get_feature(hdev, field->report); in mt_feature_mapping()
515 td->mt_report_id = field->report->id; in mt_touch_input_mapping()
545 if (field->index >= field->report->maxfield || in mt_touch_input_mapping()
748 static void mt_touch_report(struct hid_device *hid, struct hid_report *report) in mt_touch_report() argument
760 struct hid_field *field = report->field[td->cc_index]; in mt_touch_report()
766 for (r = 0; r < report->maxfield; r++) { in mt_touch_report()
767 field = report->field[r]; in mt_touch_report()
779 mt_sync_frame(td, report->field[0]->hidinput->input); in mt_touch_report()
846 (field->report->id != td->mt_report_id) && in mt_input_mapping()
882 if (field->report->id == td->mt_report_id) in mt_event()
888 static void mt_report(struct hid_device *hid, struct hid_report *report) in mt_report() argument
891 struct hid_field *field = report->field[0]; in mt_report()
896 if (report->id == td->mt_report_id) in mt_report()
897 return mt_touch_report(hid, report); in mt_report()
996 struct hid_field *field = hi->report->field[0]; in mt_input_configured()
999 if (hi->report->id == td->mt_report_id) { in mt_input_configured()
1010 if (hi->report->field[0]->physical == HID_DG_STYLUS) { in mt_input_configured()
1488 .report = mt_report,