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",
284 "failed to write request output report (%d)\n",
316 /* 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) {
561 unsigned id, struct hid_report **report)
565 *report = hdev->report_enum[type].report_id_hash[id];
566 if (*report) {
567 for (i = 0; i < (*report)->maxfield; i++) {
568 unsigned app = (*report)->field[i]->application;
673 * Check for the RMI specific report ids. If they are misisng
678 hid_dbg(hdev, "device does not have set mode feature report\n");
684 hid_dbg(hdev, "device does not have attention input report\n");
693 "device does not have rmi write output report\n");
772 .report = rmi_report,