Home
last modified time | relevance | path

Searched refs:report (Results 1 – 25 of 36) sorted by relevance

12

/drivers/hid/
Dhid-lg2ff.c32 struct hid_report *report; member
49 lg2ff->report->field[0]->value[0] = 0x51; in play_effect()
50 lg2ff->report->field[0]->value[2] = weak; in play_effect()
51 lg2ff->report->field[0]->value[4] = strong; in play_effect()
53 lg2ff->report->field[0]->value[0] = 0xf3; in play_effect()
54 lg2ff->report->field[0]->value[2] = 0x00; in play_effect()
55 lg2ff->report->field[0]->value[4] = 0x00; in play_effect()
58 usbhid_submit_report(hid, lg2ff->report, USB_DIR_OUT); in play_effect()
65 struct hid_report *report; in lg2ff_init() local
78 report = list_entry(report_list->next, struct hid_report, list); in lg2ff_init()
[all …]
Dhid-gaff.c37 struct hid_report *report; member
55 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play()
56 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play()
57 gaff->report->field[0]->value[2] = right; in hid_gaff_play()
58 gaff->report->field[0]->value[3] = 0; in hid_gaff_play()
59 gaff->report->field[0]->value[4] = left; in hid_gaff_play()
60 gaff->report->field[0]->value[5] = 0; in hid_gaff_play()
62 usbhid_submit_report(hid, gaff->report, USB_DIR_OUT); in hid_gaff_play()
64 gaff->report->field[0]->value[0] = 0xfa; in hid_gaff_play()
65 gaff->report->field[0]->value[1] = 0xfe; in hid_gaff_play()
[all …]
Dhid-lgff.c73 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play() local
85 report->field[0]->value[0] = 0x51; in hid_lgff_play()
86 report->field[0]->value[1] = 0x08; in hid_lgff_play()
87 report->field[0]->value[2] = x; in hid_lgff_play()
88 report->field[0]->value[3] = y; in hid_lgff_play()
90 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lgff_play()
100 report->field[0]->value[0] = 0x42; in hid_lgff_play()
101 report->field[0]->value[1] = 0x00; in hid_lgff_play()
102 report->field[0]->value[2] = left; in hid_lgff_play()
103 report->field[0]->value[3] = right; in hid_lgff_play()
[all …]
Dhid-pl.c48 struct hid_report *report; member
65 plff->report->field[0]->value[2] = left; in hid_plff_play()
66 plff->report->field[0]->value[3] = right; in hid_plff_play()
68 usbhid_submit_report(hid, plff->report, USB_DIR_OUT); in hid_plff_play()
76 struct hid_report *report; in plff_init() local
107 report = list_entry(report_ptr, struct hid_report, list); in plff_init()
108 if (report->maxfield < 1) { in plff_init()
113 if (report->field[0]->report_count < 4) { in plff_init()
132 plff->report = report; in plff_init()
133 plff->report->field[0]->value[0] = 0x00; in plff_init()
[all …]
Dhid-zpff.c33 struct hid_report *report; member
56 zpff->report->field[2]->value[0] = left; in zpff_play()
57 zpff->report->field[3]->value[0] = right; in zpff_play()
59 usbhid_submit_report(hid, zpff->report, USB_DIR_OUT); in zpff_play()
67 struct hid_report *report; in zpff_init() local
80 report = list_entry(report_list->next, struct hid_report, list); in zpff_init()
82 if (report->maxfield < 4) { in zpff_init()
99 zpff->report = report; in zpff_init()
100 zpff->report->field[0]->value[0] = 0x00; in zpff_init()
101 zpff->report->field[1]->value[0] = 0x02; in zpff_init()
[all …]
Dhid-tmff.c52 struct hid_report *report; member
103 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT); in tmff_play()
117 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT); in tmff_play()
126 struct hid_report *report; in tmff_init() local
140 list_for_each_entry(report, report_list, list) { in tmff_init()
143 for (fieldnum = 0; fieldnum < report->maxfield; ++fieldnum) { in tmff_init()
144 struct hid_field *field = report->field[fieldnum]; in tmff_init()
165 if (tmff->report && tmff->report != report) { in tmff_init()
177 tmff->report = report; in tmff_init()
194 if (!tmff->report) { in tmff_init()
Dhid-core.c61 struct hid_report *report; in hid_register_report() local
66 if (!(report = kzalloc(sizeof(struct hid_report), GFP_KERNEL))) in hid_register_report()
72 report->id = id; in hid_register_report()
73 report->type = type; in hid_register_report()
74 report->size = 0; in hid_register_report()
75 report->device = device; in hid_register_report()
76 report_enum->report_id_hash[id] = report; in hid_register_report()
78 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report()
80 return report; in hid_register_report()
87 static struct hid_field *hid_register_field(struct hid_report *report, unsigned usages, unsigned va… in hid_register_field() argument
[all …]
Dhid-input.c89 struct hid_report *report; in hidinput_find_key() local
93 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_find_key()
94 for (i = 0; i < report->maxfield; i++) { in hidinput_find_key()
95 for ( j = 0; j < report->field[i]->maxusage; j++) { in hidinput_find_key()
96 usage = report->field[i]->usage + j; in hidinput_find_key()
493 if (field->report->type == HID_OUTPUT_REPORT) { in hidinput_configure_usage()
657 void hidinput_report_event(struct hid_device *hid, struct hid_report *report) in hidinput_report_event() argument
668 struct hid_report *report; in hidinput_find_field() local
671 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hidinput_find_field()
672 for (i = 0; i < report->maxfield; i++) { in hidinput_find_field()
[all …]
Dhid-debug.c468 struct hid_report *report; in hid_dump_device() local
480 report = (struct hid_report *) list; in hid_dump_device()
483 if (report->id) in hid_dump_device()
484 printk("(%d)", report->id); in hid_dump_device()
485 printk("[%s]", table[report->type]); in hid_dump_device()
487 for (k = 0; k < report->maxfield; k++) { in hid_dump_device()
490 hid_dump_field(report->field[k], 6); in hid_dump_device()
Dhidraw.c47 char *report; in hidraw_read() local
86 report = list->buffer[list->tail].value; in hidraw_read()
/drivers/hid/usbhid/
Dhiddev.c84 struct hid_report *report; in hiddev_lookup_report() local
103 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
104 rinfo->report_id = report->id; in hiddev_lookup_report()
108 report = report_enum->report_id_hash[rid]; in hiddev_lookup_report()
109 if (!report) in hiddev_lookup_report()
112 list = report->list.next; in hiddev_lookup_report()
116 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
117 rinfo->report_id = report->id; in hiddev_lookup_report()
135 struct hid_report *report; in hiddev_lookup_usage() local
146 list_for_each_entry(report, &report_enum->report_list, list) { in hiddev_lookup_usage()
[all …]
Dhid-core.c235 struct hid_report *report; in hid_submit_out() local
239 report = usbhid->out[usbhid->outtail].report; in hid_submit_out()
242 usbhid->urbout->transfer_buffer_length = ((report->size - 1) >> 3) + 1 + (report->id > 0); in hid_submit_out()
259 struct hid_report *report; in hid_submit_ctrl() local
265 report = usbhid->ctrl[usbhid->ctrltail].report; in hid_submit_ctrl()
269 len = ((report->size - 1) >> 3) + 1 + (report->id > 0); in hid_submit_ctrl()
293 usbhid->cr->wValue = cpu_to_le16(((report->type + 1) << 8) | report->id); in hid_submit_ctrl()
373 usbhid->ctrl[usbhid->ctrltail].report->type, in hid_ctrl()
408 void usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir) in usbhid_submit_report() argument
413 int len = ((report->size - 1) >> 3) + 1 + (report->id > 0); in usbhid_submit_report()
[all …]
Dhid-pidff.c763 struct hid_report *report, int count, int strict) in pidff_find_fields() argument
769 for (i = 0; i < report->maxfield; i++) { in pidff_find_fields()
770 if (report->field[i]->maxusage != in pidff_find_fields()
771 report->field[i]->report_count) { in pidff_find_fields()
776 for (j = 0; j < report->field[i]->maxusage; j++) { in pidff_find_fields()
777 if (report->field[i]->usage[j].hid == in pidff_find_fields()
780 usage[k].field = report->field[i]; in pidff_find_fields()
782 &report->field[i]->value[j]; in pidff_find_fields()
819 struct hid_report *report; in pidff_find_reports() local
822 list_for_each_entry(report, in pidff_find_reports()
[all …]
Dusbhid.h41 void usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir);
/drivers/media/video/saa7134/
Dsaa7134-core.c477 unsigned long report, unsigned long status) in print_irqstatus() argument
482 dev->name,loop,jiffies,report,status); in print_irqstatus()
484 if (!(report & (1 << i))) in print_irqstatus()
488 if (report & SAA7134_IRQ_REPORT_DONE_RA0) { in print_irqstatus()
501 unsigned long report,status; in saa7134_irq() local
508 report = saa_readl(SAA7134_IRQ_REPORT); in saa7134_irq()
514 if ((report & SAA7134_IRQ_REPORT_DONE_RA3) && in saa7134_irq()
520 report &= ~SAA7134_IRQ_REPORT_DONE_RA3; in saa7134_irq()
523 if (0 == report) { in saa7134_irq()
531 saa_writel(SAA7134_IRQ_REPORT,report); in saa7134_irq()
[all …]
/drivers/input/tablet/
Dwacom_sys.c274 unsigned char *report; in wacom_parse_hid() local
276 report = kzalloc(hid_desc->wDescriptorLength, GFP_KERNEL); in wacom_parse_hid()
277 if (!report) in wacom_parse_hid()
287 report, in wacom_parse_hid()
297 switch (report[i]) { in wacom_parse_hid()
299 switch (report[i + 1]) { in wacom_parse_hid()
313 switch (report[i + 1]) { in wacom_parse_hid()
319 wacom_le16_to_cpu(&report[i + 3]); in wacom_parse_hid()
321 wacom_le16_to_cpu(&report[i + 6]); in wacom_parse_hid()
325 wacom_le16_to_cpu(&report[i + 3]); in wacom_parse_hid()
[all …]
Dgtco.c202 static void parse_hid_report_descriptor(struct gtco *device, char * report, in parse_hid_report_descriptor() argument
235 prefix = report[i]; in parse_hid_report_descriptor()
244 data = report[i]; in parse_hid_report_descriptor()
247 data16 = get_unaligned_le16(&report[i]); in parse_hid_report_descriptor()
251 data32 = get_unaligned_le32(&report[i]); in parse_hid_report_descriptor()
832 char *report; in gtco_probe() local
899 report = kzalloc(le16_to_cpu(hid_desc->wDescriptorLength), GFP_KERNEL); in gtco_probe()
900 if (!report) { in gtco_probe()
914 report, in gtco_probe()
920 parse_hid_report_descriptor(gtco, report, result); in gtco_probe()
[all …]
/drivers/net/wireless/b43/
Dxmit.c703 struct ieee80211_tx_info *report, in b43_fill_txstatus_report() argument
712 retry_limit = report->status.rates[0].count; in b43_fill_txstatus_report()
713 ieee80211_tx_info_clear_status(report); in b43_fill_txstatus_report()
717 report->flags |= IEEE80211_TX_STAT_ACK; in b43_fill_txstatus_report()
720 if (!(report->flags & IEEE80211_TX_CTL_NO_ACK)) { in b43_fill_txstatus_report()
727 report->status.rates[0].count = 0; in b43_fill_txstatus_report()
736 report->status.rates[0].count = 0; in b43_fill_txstatus_report()
737 report->status.rates[1].count = status->frame_count; in b43_fill_txstatus_report()
740 report->status.rates[0].count = retry_limit; in b43_fill_txstatus_report()
741 report->status.rates[1].count = status->frame_count - in b43_fill_txstatus_report()
[all …]
/drivers/net/wireless/iwlwifi/
Diwl-spectrum.c181 struct iwl_spectrum_notification *report = &(pkt->u.spectrum_notif); in iwl_rx_spectrum_measure_notif() local
183 if (!report->state) { in iwl_rx_spectrum_measure_notif()
189 memcpy(&priv->measure_report, report, sizeof(*report)); in iwl_rx_spectrum_measure_notif()
/drivers/input/keyboard/
Dhil_kbd.c101 goto report; in hil_kbd_process_record()
104 goto report; in hil_kbd_process_record()
146 report: in hil_kbd_process_record()
/drivers/input/misc/
Dgpio_axis.c60 static void gpio_event_update_axis(struct gpio_axis_state *as, int report) in gpio_event_update_axis() argument
74 if (report && pos != old_pos) { in gpio_event_update_axis()
/drivers/input/mouse/
Dhil_ptr.c93 goto report; in hil_ptr_process_record()
96 goto report; in hil_ptr_process_record()
138 report: in hil_ptr_process_record()
/drivers/media/video/uvc/
DKconfig15 to report button events.
/drivers/usb/image/
DKconfig27 Please report failures and successes.
/drivers/edac/
DKconfig13 EDAC is designed to report errors in the core system.
48 memory. EDAC can report statistics on memory error

12