Searched refs:report (Results 1 - 25 of 66) sorted by relevance

123

/drivers/hid/
H A Dhid-lg3ff.c59 struct hid_report *report; member in struct:lg3ff_device
67 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
74 memset(report->field[0]->value, 0, sizeof(__s32)*report->field[0]->maxusage);
86 report->field[0]->value[0] = 0x51;
92 report->field[0]->value[1] = (unsigned char)(-x);
93 report->field[0]->value[31] = (unsigned char)(-y);
95 usbhid_submit_report(hid, report, USB_DIR_OUT);
104 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
111 report
136 struct hid_report *report; local
[all...]
H A Dhid-lg2ff.c33 struct hid_report *report; member in struct:lg2ff_device
50 lg2ff->report->field[0]->value[0] = 0x51;
51 lg2ff->report->field[0]->value[2] = weak;
52 lg2ff->report->field[0]->value[4] = strong;
54 lg2ff->report->field[0]->value[0] = 0xf3;
55 lg2ff->report->field[0]->value[2] = 0x00;
56 lg2ff->report->field[0]->value[4] = 0x00;
59 usbhid_submit_report(hid, lg2ff->report, USB_DIR_OUT);
66 struct hid_report *report; local
75 hid_err(hid, "no output report foun
[all...]
H A Dhid-gaff.c41 struct hid_report *report; member in struct:gaff_device
59 gaff->report->field[0]->value[0] = 0x51;
60 gaff->report->field[0]->value[1] = 0x0;
61 gaff->report->field[0]->value[2] = right;
62 gaff->report->field[0]->value[3] = 0;
63 gaff->report->field[0]->value[4] = left;
64 gaff->report->field[0]->value[5] = 0;
66 usbhid_submit_report(hid, gaff->report, USB_DIR_OUT);
68 gaff->report->field[0]->value[0] = 0xfa;
69 gaff->report
81 struct hid_report *report; local
[all...]
H A Dhid-zpff.c36 struct hid_report *report; member in struct:zpff_device
59 zpff->report->field[2]->value[0] = left;
60 zpff->report->field[3]->value[0] = right;
62 usbhid_submit_report(hid, zpff->report, USB_DIR_OUT);
70 struct hid_report *report; local
79 hid_err(hid, "no output report found\n");
83 report = list_entry(report_list->next, struct hid_report, list);
85 if (report->maxfield < 4) {
86 hid_err(hid, "not enough fields in report\n");
102 zpff->report
[all...]
H A Dhid-pl.c53 struct hid_report *report; member in struct:plff_device
75 usbhid_submit_report(hid, plff->report, USB_DIR_OUT);
83 struct hid_report *report; local
93 /* The device contains one output report per physical device, all
116 hid_err(hid, "required output report is missing\n");
120 report = list_entry(report_ptr, struct hid_report, list);
121 if (report->maxfield < 1) {
122 hid_err(hid, "no fields in the report\n");
126 if (report->field[0]->report_count >= 4) {
127 report
[all...]
H A Dhid-emsff.c33 struct hid_report *report; member in struct:emsff_device
51 emsff->report->field[0]->value[1] = weak;
52 emsff->report->field[0]->value[2] = strong;
55 usbhid_submit_report(hid, emsff->report, USB_DIR_OUT);
63 struct hid_report *report; local
76 report = list_first_entry(report_list, struct hid_report, list);
77 if (report->maxfield < 1) {
78 hid_err(hid, "no fields in the report\n");
82 if (report->field[0]->report_count < 7) {
99 emsff->report
[all...]
H A Dhid-dr.c42 struct hid_report *report; member in struct:drff_device
67 drff->report->field[0]->value[0] = 0x51;
68 drff->report->field[0]->value[1] = 0x00;
69 drff->report->field[0]->value[2] = weak;
70 drff->report->field[0]->value[4] = strong;
71 usbhid_submit_report(hid, drff->report, USB_DIR_OUT);
73 drff->report->field[0]->value[0] = 0xfa;
74 drff->report->field[0]->value[1] = 0xfe;
76 drff->report->field[0]->value[0] = 0xf3;
77 drff->report
91 struct hid_report *report; local
[all...]
H A Dhid-lg4ff.c137 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
146 report->field[0]->value[0] = 0x11; /* Slot 1 */
147 report->field[0]->value[1] = 0x08;
148 report->field[0]->value[2] = x;
149 report->field[0]->value[3] = 0x80;
150 report->field[0]->value[4] = 0x00;
151 report->field[0]->value[5] = 0x00;
152 report->field[0]->value[6] = 0x00;
154 usbhid_submit_report(hid, report, USB_DIR_OUT);
166 struct hid_report *report local
184 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
203 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
221 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
273 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
344 struct hid_report *report; local
[all...]
H A Dhid-lgff.c75 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
87 report->field[0]->value[0] = 0x51;
88 report->field[0]->value[1] = 0x08;
89 report->field[0]->value[2] = x;
90 report->field[0]->value[3] = y;
92 usbhid_submit_report(hid, report, USB_DIR_OUT);
102 report->field[0]->value[0] = 0x42;
103 report->field[0]->value[1] = 0x00;
104 report->field[0]->value[2] = left;
105 report
117 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); local
135 struct hid_report *report; local
[all...]
H A Dhid-axff.c42 struct hid_report *report; member in struct:axff_device
49 struct hid_report *report = axff->report; local
62 for (i = 0; i < report->maxfield; i++) {
63 for (j = 0; j < report->field[i]->report_count; j++) {
64 report->field[i]->value[j] =
71 usbhid_submit_report(hid, axff->report, USB_DIR_OUT);
79 struct hid_report *report; local
92 report = list_first_entry(report_list, struct hid_report, list);
93 for (i = 0; i < report
[all...]
H A Dhid-sjoy.c40 struct hid_report *report; member in struct:sjoyff_device
57 sjoyff->report->field[0]->value[1] = right;
58 sjoyff->report->field[0]->value[2] = left;
60 usbhid_submit_report(hid, sjoyff->report, USB_DIR_OUT);
68 struct hid_report *report; local
85 hid_err(hid, "required output report is missing\n");
89 report = list_entry(report_ptr, struct hid_report, list);
90 if (report->maxfield < 1) {
91 hid_err(hid, "no fields in the report\n");
95 if (report
[all...]
H A Dhid-tmff.c55 struct hid_report *report; member in struct:tmff_device
106 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT);
120 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT);
129 struct hid_report *report; local
141 /* Find the report to use */
143 list_for_each_entry(report, report_list, list) {
146 for (fieldnum = 0; fieldnum < report->maxfield; ++fieldnum) {
147 struct hid_field *field = report->field[fieldnum];
165 if (tmff->report && tmff->report !
[all...]
H A Dhid-picolcd.c244 /* Find a given report */
251 struct hid_report *report = NULL; local
253 list_for_each_entry(report, feature_report_list, list) {
254 if (report->id == id)
255 return report;
257 hid_warn(hdev, "No report with id 0x%x found\n", id);
263 struct hid_device *hdev, struct hid_report *report);
271 /* Submit a report and wait for a reply from device - if device fades away
278 struct hid_report *report = picolcd_out_report(report_id, hdev); local
282 if (!report || !dat
399 struct hid_report *report = picolcd_out_report(REPORT_LCD_CMD, data->hdev); local
908 struct hid_report *report = picolcd_out_report(REPORT_BRIGHTNESS, data->hdev); local
934 picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) argument
992 picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) argument
1022 struct hid_report *report = picolcd_out_report(REPORT_CONTRAST, data->hdev); local
1047 picolcd_init_lcd(struct picolcd_data *data, struct hid_report *report) argument
1088 picolcd_init_lcd(struct picolcd_data *data, struct hid_report *report) argument
1108 struct hid_report *report; local
1167 picolcd_init_leds(struct picolcd_data *data, struct hid_report *report) argument
1235 picolcd_init_leds(struct picolcd_data *data, struct hid_report *report) argument
1252 picolcd_raw_keypad(struct picolcd_data *data, struct hid_report *report, u8 *raw_data, int size) argument
1316 picolcd_raw_cir(struct picolcd_data *data, struct hid_report *report, u8 *raw_data, int size) argument
1362 struct hid_report *report = picolcd_out_report(REPORT_RESET, hdev); local
1411 struct hid_report *report = NULL; local
1840 picolcd_debug_out_report(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report) argument
2096 picolcd_debug_raw_event(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument
2344 picolcd_debug_raw_event(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument
2363 picolcd_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument
2439 picolcd_init_keys(struct picolcd_data *data, struct hid_report *report) argument
2496 picolcd_init_cir(struct picolcd_data *data, struct hid_report *report) argument
[all...]
H A Dhid-primax.c25 static int px_raw_event(struct hid_device *hid, struct hid_report *report, argument
30 switch (report->id) {
34 * modifier bits and pull the key strokes from the report.
35 * Thus a report data set which looked like:
58 default: /* unknown report */
59 /* Unknown report type; pass upstream */
60 hid_info(hid, "unknown report type %d\n", report->id);
H A Dhid-holtekff.c106 usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT);
145 struct hid_report *report; local
154 hid_err(hid, "no output report found\n");
158 report = list_entry(report_list->next, struct hid_report, list);
160 if (report->maxfield < 1 || report->field[0]->report_count != 7) {
161 hid_err(hid, "unexpected output report layout\n");
171 holtekff->field = report->field[0];
H A Dhid-core.c58 * Register a new report for a device.
64 struct hid_report *report; local
69 report = kzalloc(sizeof(struct hid_report), GFP_KERNEL);
70 if (!report)
76 report->id = id;
77 report->type = type;
78 report->size = 0;
79 report->device = device;
80 report_enum->report_id_hash[id] = report;
82 list_add_tail(&report
92 hid_register_field(struct hid_report *report, unsigned usages, unsigned values) argument
221 struct hid_report *report; local
539 hid_free_report(struct hid_report *report) argument
561 struct hid_report *report = report_enum->report_id_hash[j]; local
758 extract(const struct hid_device *hid, __u8 *report, unsigned offset, unsigned n) argument
782 implement(const struct hid_device *hid, __u8 *report, unsigned offset, unsigned n, __u32 value) argument
828 hid_match_report(struct hid_device *hid, struct hid_report *report) argument
977 hid_output_report(struct hid_report *report, __u8 *data) argument
1021 struct hid_report *report; local
1039 struct hid_report *report; local
1092 struct hid_report *report; local
[all...]
H A Dhid-input.c103 struct hid_report *report; local
107 list_for_each_entry(report, &hid->report_enum[k].report_list, list) {
108 for (i = 0; i < report->maxfield; i++) {
109 for (j = 0; j < report->field[i]->maxusage; j++) {
110 usage = report->field[i]->usage + j;
198 * @field: the HID report field to calculate resolution for
287 #define HID_BATTERY_QUIRK_FEATURE (1 << 1) /* ask for feature report */
402 dev->battery_report_id = field->report->id;
842 if (field->report->type == HID_OUTPUT_REPORT) {
1007 /* report th
1017 hidinput_report_event(struct hid_device *hid, struct hid_report *report) argument
1031 struct hid_report *report; local
1048 struct hid_report *report; local
1068 struct hid_report *report; local
1130 struct hid_report *report; local
[all...]
H A Dhid-kye.c25 * See EasyPen i405X description, device and HID report descriptors at
29 /* Original EasyPen i405X report descriptor size */
32 /* Fixed EasyPen i405X report descriptor */
88 * See MousePen i608X description, device and HID report descriptors at
92 /* Original MousePen i608X report descriptor size */
95 /* Fixed MousePen i608X report descriptor */
192 * See EasyPen M610X description, device and HID report descriptors at
196 /* Original EasyPen M610X report descriptor size */
199 /* Fixed EasyPen M610X report descriptor */
280 * - report siz
335 struct hid_report *report; local
[all...]
H A Dhid-roccat.c15 * Module roccat is a char device used to report special events of roccat
81 struct roccat_report *report; local
121 report = &device->cbuf[reader->cbuf_start];
123 * If report is larger than requested amount of data, rest of report
128 if (copy_to_user(buffer, report->value, len)) {
255 struct roccat_report *report; local
264 report = &device->cbuf[device->cbuf_end];
267 kfree(report->value);
269 report
[all...]
H A Dhid-zydacron.c27 * Zydacron remote control has an invalid HID report descriptor,
38 "fixing up zydacron remote control report descriptor\n");
63 /* report 2 */
73 /* report 3 */
77 /* report 4 */
112 static int zc_raw_event(struct hid_device *hdev, struct hid_report *report, argument
120 if (report->id == data[0]) {
132 switch (report->id) {
/drivers/hid/usbhid/
H A Dhiddev.c70 * Find a report, given the report's type and ID. The ID can be specified
71 * indirectly by REPORT_ID_FIRST (which returns the first report of the given
72 * type) or by (REPORT_ID_NEXT | old_id), which returns the next report of the
81 struct hid_report *report; local
100 report = list_entry(list, struct hid_report, list);
101 rinfo->report_id = report->id;
105 report = report_enum->report_id_hash[rid];
106 if (!report)
109 list = report
132 struct hid_report *report; local
206 hiddev_report_event(struct hid_device *hid, struct hid_report *report) argument
454 struct hid_report *report; local
604 struct hid_report *report; local
[all...]
H A Dhid-core.c315 struct hid_report *report; local
320 report = usbhid->out[usbhid->outtail].report;
323 usbhid->urbout->transfer_buffer_length = ((report->size - 1) >> 3) +
324 1 + (report->id > 0);
343 struct hid_report *report; local
349 report = usbhid->ctrl[usbhid->ctrltail].report;
353 len = ((report->size - 1) >> 3) + 1 + (report
510 __usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir) argument
643 usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir) argument
726 hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) argument
801 struct hid_report *report; local
832 struct hid_report *report; local
871 struct hid_report *report; local
[all...]
H A Dhid-pidff.c61 the only field in that report */
242 * Send envelope report to the device
283 * Send constant force report to the device
307 * Send set effect report to the device
346 * Send periodic effect report to the device
432 * Send ramp force report to the device
762 * Find fields from a report and fill a pidff_usage
765 struct hid_report *report, int count, int strict)
771 for (i = 0; i < report->maxfield; i++) {
772 if (report
764 pidff_find_fields(struct pidff_usage *usage, const u8 *table, struct hid_report *report, int count, int strict) argument
821 struct hid_report *report; local
877 pidff_find_special_field(struct hid_report *report, int usage, int enforce_min) argument
[all...]
/drivers/input/tablet/
H A Dwacom_sys.c17 /* defines to get HID report descriptor */
183 static int wacom_parse_logical_collection(unsigned char *report, argument
197 get_unaligned_le16(&report[10]);
222 * of what is in wacom_features. Usually it defines a report of an array
246 unsigned char *report; local
248 report = kzalloc(hid_desc->wDescriptorLength, GFP_KERNEL);
249 if (!report)
252 /* retrive report descriptors */
259 report,
270 switch (report[
[all...]
/drivers/media/video/saa7134/
H A Dsaa7134-core.c487 unsigned long report, unsigned long status)
492 dev->name,loop,jiffies,report,status);
494 if (!(report & (1 << i)))
498 if (report & SAA7134_IRQ_REPORT_DONE_RA0) {
511 unsigned long report,status; local
518 report = saa_readl(SAA7134_IRQ_REPORT);
521 /* If dmasound support is active and we get a sound report,
522 * mask out the report and let the saa7134-alsa module deal
524 if ((report & SAA7134_IRQ_REPORT_DONE_RA3) &&
530 report
486 print_irqstatus(struct saa7134_dev *dev, int loop, unsigned long report, unsigned long status) argument
1121 u32 report = saa_readl(SAA7134_IRQ_REPORT); local
[all...]

Completed in 247 milliseconds

123