Lines Matching refs:report

49 the only field in that report */
230 * Send envelope report to the device
271 * Send constant force report to the device
295 * Send set effect report to the device
334 * Send periodic effect report to the device
420 * Send ramp force report to the device
756 * Find fields from a report and fill a pidff_usage
759 struct hid_report *report, int count, int strict)
765 for (i = 0; i < report->maxfield; i++) {
766 if (report->field[i]->maxusage !=
767 report->field[i]->report_count) {
771 for (j = 0; j < report->field[i]->maxusage; j++) {
772 if (report->field[i]->usage[j].hid ==
776 usage[k].field = report->field[i];
778 &report->field[i]->value[j];
815 struct hid_report *report;
818 list_for_each_entry(report,
820 if (report->maxfield < 1)
822 ret = pidff_check_usage(report->field[0]->logical);
826 pidff->reports[ret] = report;
832 * different usages for the report and the field, in which
837 i = report->field[0]->usage[0].collection_index;
846 pidff->reports[ret] = report;
869 * Find a field with a specific usage within a report
871 static struct hid_field *pidff_find_special_field(struct hid_report *report,
876 for (i = 0; i < report->maxfield; i++) {
877 if (report->field[i]->logical == (HID_UP_PID | usage) &&
878 report->field[i]->report_count > 0) {
880 report->field[i]->logical_minimum == 1)
881 return report->field[i];
1055 #define PIDFF_FIND_FIELDS(name, report, strict) \
1057 pidff->reports[report], \
1068 hid_err(pidff->hid, "unknown set_effect report layout\n");
1074 hid_err(pidff->hid, "unknown pid_block_load report layout\n");
1079 hid_err(pidff->hid, "unknown effect_operation report layout\n");
1084 hid_err(pidff->hid, "unknown pid_block_free report layout\n");
1165 /* pool report is sometimes messed up, refetch it */
1239 hid_dbg(hid, "not a PID device, no output report\n");