Home
last modified time | relevance | path

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

12345678910>>...15

/linux-3.4.99/drivers/hid/
Dhid-lg2ff.c33 struct hid_report *report; member
50 lg2ff->report->field[0]->value[0] = 0x51; in play_effect()
51 lg2ff->report->field[0]->value[2] = weak; in play_effect()
52 lg2ff->report->field[0]->value[4] = strong; in play_effect()
54 lg2ff->report->field[0]->value[0] = 0xf3; in play_effect()
55 lg2ff->report->field[0]->value[2] = 0x00; in play_effect()
56 lg2ff->report->field[0]->value[4] = 0x00; in play_effect()
59 usbhid_submit_report(hid, lg2ff->report, USB_DIR_OUT); in play_effect()
66 struct hid_report *report; in lg2ff_init() local
73 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, 0, 7); in lg2ff_init()
[all …]
Dhid-lg4ff.c137 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_play() local
146 report->field[0]->value[0] = 0x11; /* Slot 1 */ in hid_lg4ff_play()
147 report->field[0]->value[1] = 0x08; in hid_lg4ff_play()
148 report->field[0]->value[2] = x; in hid_lg4ff_play()
149 report->field[0]->value[3] = 0x80; in hid_lg4ff_play()
150 report->field[0]->value[4] = 0x00; in hid_lg4ff_play()
151 report->field[0]->value[5] = 0x00; in hid_lg4ff_play()
152 report->field[0]->value[6] = 0x00; in hid_lg4ff_play()
154 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_play()
166 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_autocenter_default() local
[all …]
Dhid-gaff.c41 struct hid_report *report; member
59 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play()
60 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play()
61 gaff->report->field[0]->value[2] = right; in hid_gaff_play()
62 gaff->report->field[0]->value[3] = 0; in hid_gaff_play()
63 gaff->report->field[0]->value[4] = left; in hid_gaff_play()
64 gaff->report->field[0]->value[5] = 0; in hid_gaff_play()
66 usbhid_submit_report(hid, gaff->report, USB_DIR_OUT); in hid_gaff_play()
68 gaff->report->field[0]->value[0] = 0xfa; in hid_gaff_play()
69 gaff->report->field[0]->value[1] = 0xfe; in hid_gaff_play()
[all …]
Dhid-dr.c42 struct hid_report *report; member
67 drff->report->field[0]->value[0] = 0x51; in drff_play()
68 drff->report->field[0]->value[1] = 0x00; in drff_play()
69 drff->report->field[0]->value[2] = weak; in drff_play()
70 drff->report->field[0]->value[4] = strong; in drff_play()
71 usbhid_submit_report(hid, drff->report, USB_DIR_OUT); in drff_play()
73 drff->report->field[0]->value[0] = 0xfa; in drff_play()
74 drff->report->field[0]->value[1] = 0xfe; in drff_play()
76 drff->report->field[0]->value[0] = 0xf3; in drff_play()
77 drff->report->field[0]->value[1] = 0x00; in drff_play()
[all …]
Dhid-lg3ff.c59 struct hid_report *report; member
67 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_play() local
74 memset(report->field[0]->value, 0, in hid_lg3ff_play()
75 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play()
87 report->field[0]->value[0] = 0x51; in hid_lg3ff_play()
93 report->field[0]->value[1] = (unsigned char)(-x); in hid_lg3ff_play()
94 report->field[0]->value[31] = (unsigned char)(-y); in hid_lg3ff_play()
96 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg3ff_play()
105 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_set_autocenter() local
112 report->field[0]->value[0] = 0x51; in hid_lg3ff_set_autocenter()
[all …]
Dhid-pl.c53 struct hid_report *report; member
75 usbhid_submit_report(hid, plff->report, USB_DIR_OUT); in hid_plff_play()
83 struct hid_report *report; in plff_init() local
120 report = list_entry(report_ptr, struct hid_report, list); in plff_init()
121 if (report->maxfield < 1) { in plff_init()
126 if (report->field[0]->report_count >= 4) { in plff_init()
127 report->field[0]->value[0] = 0x00; in plff_init()
128 report->field[0]->value[1] = 0x00; in plff_init()
129 strong = &report->field[0]->value[2]; in plff_init()
130 weak = &report->field[0]->value[3]; in plff_init()
[all …]
Dhid-emsff.c33 struct hid_report *report; member
51 emsff->report->field[0]->value[1] = weak; in emsff_play()
52 emsff->report->field[0]->value[2] = strong; in emsff_play()
55 usbhid_submit_report(hid, emsff->report, USB_DIR_OUT); in emsff_play()
63 struct hid_report *report; in emsff_init() local
76 report = list_first_entry(report_list, struct hid_report, list); in emsff_init()
77 if (report->maxfield < 1) { in emsff_init()
82 if (report->field[0]->report_count < 7) { in emsff_init()
99 emsff->report = report; in emsff_init()
100 emsff->report->field[0]->value[0] = 0x01; in emsff_init()
[all …]
Dhid-zpff.c36 struct hid_report *report; member
59 zpff->report->field[2]->value[0] = left; in zpff_play()
60 zpff->report->field[3]->value[0] = right; in zpff_play()
62 usbhid_submit_report(hid, zpff->report, USB_DIR_OUT); in zpff_play()
70 struct hid_report *report; in zpff_init() local
77 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, i, 1); in zpff_init()
78 if (!report) in zpff_init()
94 zpff->report = report; in zpff_init()
95 zpff->report->field[0]->value[0] = 0x00; in zpff_init()
96 zpff->report->field[1]->value[0] = 0x02; in zpff_init()
[all …]
Dhid-axff.c42 struct hid_report *report; member
49 struct hid_report *report = axff->report; in axff_play() local
62 for (i = 0; i < report->maxfield; i++) { in axff_play()
63 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play()
64 report->field[i]->value[j] = in axff_play()
71 usbhid_submit_report(hid, axff->report, USB_DIR_OUT); in axff_play()
79 struct hid_report *report; in axff_init() local
92 report = list_first_entry(report_list, struct hid_report, list); in axff_init()
93 for (i = 0; i < report->maxfield; i++) { in axff_init()
94 for (j = 0; j < report->field[i]->report_count; j++) { in axff_init()
[all …]
Dhid-sjoy.c40 struct hid_report *report; member
57 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play()
58 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play()
60 usbhid_submit_report(hid, sjoyff->report, USB_DIR_OUT); in hid_sjoyff_play()
68 struct hid_report *report; in sjoyff_init() local
89 report = list_entry(report_ptr, struct hid_report, list); in sjoyff_init()
90 if (report->maxfield < 1) { in sjoyff_init()
95 if (report->field[0]->report_count < 3) { in sjoyff_init()
114 sjoyff->report = report; in sjoyff_init()
115 sjoyff->report->field[0]->value[0] = 0x01; in sjoyff_init()
[all …]
Dhid-lgff.c75 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play() local
87 report->field[0]->value[0] = 0x51; in hid_lgff_play()
88 report->field[0]->value[1] = 0x08; in hid_lgff_play()
89 report->field[0]->value[2] = x; in hid_lgff_play()
90 report->field[0]->value[3] = y; in hid_lgff_play()
92 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lgff_play()
102 report->field[0]->value[0] = 0x42; in hid_lgff_play()
103 report->field[0]->value[1] = 0x00; in hid_lgff_play()
104 report->field[0]->value[2] = left; in hid_lgff_play()
105 report->field[0]->value[3] = right; in hid_lgff_play()
[all …]
Dhid-picolcd.c251 struct hid_report *report = NULL; in picolcd_report() local
253 list_for_each_entry(report, feature_report_list, list) { in picolcd_report()
254 if (report->id == id) in picolcd_report()
255 return report; in picolcd_report()
263 struct hid_device *hdev, struct hid_report *report);
278 struct hid_report *report = picolcd_out_report(report_id, hdev); in picolcd_send_and_wait() local
282 if (!report || !data) in picolcd_send_and_wait()
291 work->out_report = report; in picolcd_send_and_wait()
297 for (i = k = 0; i < report->maxfield; i++) in picolcd_send_and_wait()
298 for (j = 0; j < report->field[i]->report_count; j++) { in picolcd_send_and_wait()
[all …]
Dhid-tmff.c55 struct hid_report *report; member
106 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT); in tmff_play()
120 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT); in tmff_play()
129 struct hid_report *report; in tmff_init() local
143 list_for_each_entry(report, report_list, list) { in tmff_init()
146 for (fieldnum = 0; fieldnum < report->maxfield; ++fieldnum) { in tmff_init()
147 struct hid_field *field = report->field[fieldnum]; in tmff_init()
165 if (tmff->report && tmff->report != report) { in tmff_init()
175 tmff->report = report; in tmff_init()
191 if (!tmff->report) { in tmff_init()
Dhid-kye.c335 struct hid_report *report; in kye_tablet_enable() local
340 report = list_entry(head, struct hid_report, list); in kye_tablet_enable()
341 if (report->id == 5) in kye_tablet_enable()
350 if (report->maxfield < 1 || report->field[0]->report_count < 7) { in kye_tablet_enable()
355 value = report->field[0]->value; in kye_tablet_enable()
364 usbhid_submit_report(hdev, report, USB_DIR_OUT); in kye_tablet_enable()
Dhid-core.c64 struct hid_report *report; in hid_register_report() local
71 report = kzalloc(sizeof(struct hid_report), GFP_KERNEL); in hid_register_report()
72 if (!report) in hid_register_report()
78 report->id = id; in hid_register_report()
79 report->type = type; in hid_register_report()
80 report->size = 0; in hid_register_report()
81 report->device = device; in hid_register_report()
82 report_enum->report_id_hash[id] = report; in hid_register_report()
84 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report()
86 return report; in hid_register_report()
[all …]
/linux-3.4.99/tools/perf/
Dbuiltin-report.c549 struct perf_report report = { in cmd_report() local
568 OPT_STRING('i', "input", &report.input_name, "file", in cmd_report()
578 OPT_BOOLEAN('f', "force", &report.force, "don't complain, do it"), in cmd_report()
583 OPT_BOOLEAN('T', "threads", &report.show_threads, in cmd_report()
585 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
587 OPT_BOOLEAN(0, "tui", &report.use_tui, "Use the TUI interface"), in cmd_report()
588 OPT_BOOLEAN(0, "gtk", &report.use_gtk, "Use the GTK2 interface"), in cmd_report()
589 OPT_BOOLEAN(0, "stdio", &report.use_stdio, in cmd_report()
600 …OPT_CALLBACK_DEFAULT('g', "call-graph", &report, "output_type,min_percent[,print_limit],call_order… in cmd_report()
603 OPT_BOOLEAN('G', "inverted", &report.inverted_callchain, in cmd_report()
[all …]
/linux-3.4.99/include/net/netfilter/
Dnf_conntrack_ecache.h64 int report; member
96 int report) in nf_conntrack_eventmask_report() argument
116 .report = report in nf_conntrack_eventmask_report()
148 u32 pid, int report) in nf_conntrack_event_report() argument
150 return nf_conntrack_eventmask_report(1 << event, ct, pid, report); in nf_conntrack_event_report()
162 int report; member
176 int report) in nf_ct_expect_event_report() argument
195 .report = report in nf_ct_expect_event_report()
220 int report) { return 0; } in nf_conntrack_eventmask_report() argument
226 int report) { return 0; } in nf_conntrack_event_report() argument
[all …]
/linux-3.4.99/Documentation/hid/
Dhidraw.txt15 which send and receive data in a way that is inconsistent with their report
17 through it, checking them against the device's report descriptor, such
41 read() will read a queued report received from the HID device. On USB
44 a report available to be read. read() can be made non-blocking, by passing
49 will be the report number; the report data follows, beginning in the second
50 byte. For devices which do not use numbered reports, the report data
55 The write() function will write a report to the device. For USB devices, if
56 the device has an INTERRUPT OUT endpoint, the report will be sent on that
57 endpoint. If it does not, the report will be sent over the control endpoint,
60 The first byte of the buffer passed to write() should be set to the report
[all …]
Dhiddev.txt67 bundles called "reports". Each report is divided into "fields",
73 it performs an interrupt transfer containing a report which contains
74 the changed value. The hid-core.c module parses the report, and
76 the report. In its basic mode, the hiddev will make these individual
126 Instructs the kernel to retrieve all input and feature report values
137 Instructs the kernel to get a feature or input report from the device,
142 Instructs the kernel to send a report to the device. This report can
144 individual usage values in the report before sending the report in full
148 Fills in a hiddev_report_info structure for the user. The report is
151 report id as reported by the device -- or relative --
[all …]
/linux-3.4.99/drivers/hid/usbhid/
Dhiddev.c81 struct hid_report *report; in hiddev_lookup_report() local
100 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
101 rinfo->report_id = report->id; in hiddev_lookup_report()
105 report = report_enum->report_id_hash[rid]; in hiddev_lookup_report()
106 if (!report) in hiddev_lookup_report()
109 list = report->list.next; in hiddev_lookup_report()
113 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
114 rinfo->report_id = report->id; in hiddev_lookup_report()
132 struct hid_report *report; in hiddev_lookup_usage() local
143 list_for_each_entry(report, &report_enum->report_list, list) { in hiddev_lookup_usage()
[all …]
/linux-3.4.99/Documentation/usb/
Dgadget_hid.txt96 Hit return and the corresponding report will be sent by the
100 --caps-lock and hit return. A report is then sent by the
105 recv report:2
181 int keyboard_fill_report(char report[8], char buf[BUF_LEN], int *hold)
200 report[2 + key++] = kval[i].val;
209 report[2 + key++] = (tok[0] - ('a' - 0x04));
215 report[0] = report[0] | kmod[i].val;
234 int mouse_fill_report(char report[8], char buf[BUF_LEN], int *hold)
251 report[0] = report[0] | mmod[i].val;
259 report[1 + mvt++] = (char)strtol(tok, NULL, 0);
[all …]
/linux-3.4.99/scripts/coccinelle/api/
Derr_cast.cocci18 virtual report
21 @ depends on context && !patch && !org && !report@
27 @ depends on !context && patch && !org && !report @
34 @r depends on !context && !patch && (org || report)@
50 @script:python depends on report@
56 coccilib.report.print_report(p[0], msg)
Dresource_size.cocci19 virtual report
47 @r_org depends on !context && !patch && (org || report)@
54 @rbad_org depends on !context && !patch && (org || report)@
70 @script:python depends on report@
76 coccilib.report.print_report(p[0], msg)
87 @script:python depends on report@
93 coccilib.report.print_report(p[0], msg)
/linux-3.4.99/scripts/coccinelle/misc/
Dboolinit.cocci14 virtual report
156 @script:python depends on report@
160 coccilib.report.print_report(p[0],"WARNING: Comparison to bool")
162 @script:python depends on report@
166 coccilib.report.print_report(p[0],"WARNING: Comparison of bool to 0/1")
168 @script:python depends on report@
172 coccilib.report.print_report(p1[0],"WARNING: Assignment of bool to 0/1")
174 @script:python depends on report@
178 coccilib.report.print_report(p2[0],"ERROR: Assignment of bool to non-0/1 constant")
/linux-3.4.99/scripts/coccinelle/null/
Dderef_null.cocci15 virtual report
49 // For org and report modes
51 @r depends on !context && (org || report) exists@
91 @script:python depends on !context && !org && report@
98 coccilib.report.print_report(p[0], msg)
101 @script:python depends on !context && org && !report@
112 @s depends on !context && (org || report) exists@
151 @script:python depends on !context && !org && report@
158 coccilib.report.print_report(p[0], msg)
160 @script:python depends on !context && org && !report@
[all …]

12345678910>>...15