Lines Matching defs:report
66 * @input_report_size: size of an input report (advertised by HID)
67 * @output_report_size: size of an output report (advertised by HID)
71 * @reset_work: worker which will be called in case of a mouse report
105 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len);
165 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len)
174 ret = hid_hw_raw_request(hdev, report[0], report,
177 ret = hid_hw_output_report(hdev, (void *)report, len);
181 dev_err(&hdev->dev, "failed to write hid report (%d)\n", ret);
221 "failed to write request output report (%d)\n",
285 "failed to write request output report (%d)\n",
317 /* switch the device to RMI if we receive a generic mouse report */
363 * the report with a sentinel value "ff". Synaptics told us that such
375 struct hid_report *report, u8 *data, int size)
422 static void rmi_report(struct hid_device *hid, struct hid_report *report)
424 struct hid_field *field = report->field[0];
429 switch (report->id) {
563 unsigned id, struct hid_report **report)
567 *report = hdev->report_enum[type].report_id_hash[id];
568 if (*report) {
569 for (i = 0; i < (*report)->maxfield; i++) {
570 unsigned app = (*report)->field[i]->application;
675 * Check for the RMI specific report ids. If they are misisng
680 hid_dbg(hdev, "device does not have set mode feature report\n");
686 hid_dbg(hdev, "device does not have attention input report\n");
695 "device does not have rmi write output report\n");
774 .report = rmi_report,