Home
last modified time | relevance | path

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

12345678910>>...29

/linux/drivers/mfd/
H A Dsi476x-cmd.c741 struct si476x_rsq_status_report *report) in si476x_core_cmd_am_rsq_status() argument
761 if (!report) in si476x_core_cmd_am_rsq_status()
764 report->snrhint = 0x08 & resp[1]; in si476x_core_cmd_am_rsq_status()
765 report->snrlint = 0x04 & resp[1]; in si476x_core_cmd_am_rsq_status()
766 report->rssihint = 0x02 & resp[1]; in si476x_core_cmd_am_rsq_status()
767 report->rssilint = 0x01 & resp[1]; in si476x_core_cmd_am_rsq_status()
769 report->bltf = 0x80 & resp[2]; in si476x_core_cmd_am_rsq_status()
770 report->snr_ready = 0x20 & resp[2]; in si476x_core_cmd_am_rsq_status()
771 report->rssiready = 0x08 & resp[2]; in si476x_core_cmd_am_rsq_status()
772 report->afcrl = 0x02 & resp[2]; in si476x_core_cmd_am_rsq_status()
[all …]
/linux/drivers/virt/coco/
H A Dtsm.c41 struct tsm_report report; member
58 return &state->report; in to_tsm_report()
61 static struct tsm_report_state *to_state(struct tsm_report *report) in to_state() argument
63 return container_of(report, struct tsm_report_state, report); in to_state()
66 static int try_advance_write_generation(struct tsm_report *report) in try_advance_write_generation() argument
68 struct tsm_report_state *state = to_state(report); in try_advance_write_generation()
87 struct tsm_report *report = to_tsm_report(cfg); in tsm_report_privlevel_store() local
105 rc = try_advance_write_generation(report); in tsm_report_privlevel_store()
108 report->desc.privlevel = val; in tsm_report_privlevel_store()
125 struct tsm_report *report = to_tsm_report(cfg); in tsm_report_service_provider_store() local
[all …]
/linux/drivers/hid/
H A Dhid-gaff.c26 struct hid_report *report; member
44 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play()
45 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play()
46 gaff->report->field[0]->value[2] = right; in hid_gaff_play()
47 gaff->report->field[0]->value[3] = 0; in hid_gaff_play()
48 gaff->report->field[0]->value[4] = left; in hid_gaff_play()
49 gaff->report->field[0]->value[5] = 0; in hid_gaff_play()
51 hid_hw_request(hid, gaff->report, HID_REQ_SET_REPORT); in hid_gaff_play()
53 gaff->report->field[0]->value[0] = 0xfa; in hid_gaff_play()
54 gaff->report->field[0]->value[1] = 0xfe; in hid_gaff_play()
[all …]
H A Dhid-lg2ff.c19 struct hid_report *report; member
36 lg2ff->report->field[0]->value[0] = 0x51; in play_effect()
37 lg2ff->report->field[0]->value[2] = weak; in play_effect()
38 lg2ff->report->field[0]->value[4] = strong; in play_effect()
40 lg2ff->report->field[0]->value[0] = 0xf3; in play_effect()
41 lg2ff->report->field[0]->value[2] = 0x00; in play_effect()
42 lg2ff->report->field[0]->value[4] = 0x00; in play_effect()
45 hid_hw_request(hid, lg2ff->report, HID_REQ_SET_REPORT); in play_effect()
52 struct hid_report *report; in lg2ff_init() local
65 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, 0, 7); in lg2ff_init()
[all …]
H A Dhid-pl.c41 struct hid_report *report; member
64 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); in hid_plff_play()
72 struct hid_report *report; in plff_init() local
110 report = list_entry(report_ptr, struct hid_report, list); in plff_init()
111 if (report->maxfield < 1) { in plff_init()
117 if (report->field[0]->report_count >= 4) { in plff_init()
118 report->field[0]->value[0] = 0x00; in plff_init()
119 report->field[0]->value[1] = 0x00; in plff_init()
120 strong = &report->field[0]->value[2]; in plff_init()
121 weak = &report->field[0]->value[3]; in plff_init()
[all …]
H A Dhid-lg3ff.c49 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_play() local
56 memset(report->field[0]->value, 0, in hid_lg3ff_play()
57 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play()
69 report->field[0]->value[0] = 0x51; in hid_lg3ff_play()
75 report->field[0]->value[1] = (unsigned char)(-x); in hid_lg3ff_play()
76 report->field[0]->value[31] = (unsigned char)(-y); in hid_lg3ff_play()
78 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lg3ff_play()
87 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_set_autocenter() local
94 report->field[0]->value[0] = 0x51; in hid_lg3ff_set_autocenter()
95 report->field[0]->value[1] = 0x00; in hid_lg3ff_set_autocenter()
[all …]
H A Dhid-emsff.c19 struct hid_report *report; member
37 emsff->report->field[0]->value[1] = weak; in emsff_play()
38 emsff->report->field[0]->value[2] = strong; in emsff_play()
41 hid_hw_request(hid, emsff->report, HID_REQ_SET_REPORT); in emsff_play()
49 struct hid_report *report; in emsff_init() local
68 report = list_first_entry(report_list, struct hid_report, list); in emsff_init()
69 if (report->maxfield < 1) { in emsff_init()
74 if (report->field[0]->report_count < 7) { in emsff_init()
91 emsff->report = report; in emsff_init()
92 emsff->report->field[0]->value[0] = 0x01; in emsff_init()
[all …]
H A Dhid-sensor-hub.c58 struct hid_report *report; in sensor_hub_report() local
60 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report()
61 if (report->id == id) in sensor_hub_report()
62 return report; in sensor_hub_report()
64 hid_warn(hdev, "No report with id 0x%x found\n", id); in sensor_hub_report()
193 struct hid_report *report; in sensor_hub_set_feature() local
202 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature()
203 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature()
212 ret = hid_set_field(report in sensor_hub_set_feature()
241 struct hid_report *report; sensor_hub_get_feature() local
298 struct hid_report *report; sensor_hub_input_attr_get_raw_value() local
355 struct hid_report *report; hid_sensor_get_usage_index() local
382 struct hid_report *report; sensor_hub_input_get_attribute_info() local
472 sensor_hub_raw_event(struct hid_device * hdev,struct hid_report * report,u8 * raw_data,int size) sensor_hub_raw_event() argument
[all...]
H A Dhid-cp2112.c75 u8 report; /* CP2112_SMBUS_CONFIG */ member
86 u8 report; /* CP2112_USB_CONFIG */ member
99 u8 report; /* CP2112_DATA_READ_REQUEST */ member
105 u8 report; /* CP2112_DATA_WRITE_READ_REQUEST */ member
113 u8 report; /* CP2112_DATA_WRITE_REQUEST */ member
120 u8 report; /* CP2112_DATA_READ_FORCE_SEND */ member
125 u8 report; /* CP2112_TRANSFER_STATUS_RESPONSE */ member
135 u8 report; /* CP2112_*_STRING */
136 u8 length; /* length in bytes of everything after .report */
409 struct cp2112_force_read_report report; in cp2112_read() local
442 struct cp2112_read_req_report *report = buf; cp2112_read_req() local
456 struct cp2112_write_read_req_report *report = buf; cp2112_write_read_req() local
474 struct cp2112_write_req_report *report = buf; cp2112_write_req() local
490 struct cp2112_write_req_report *report = buf; cp2112_i2c_write_req() local
506 struct cp2112_write_read_req_report *report = buf; cp2112_i2c_write_read_req() local
951 struct cp2112_string_report report; pstr_store() local
980 struct cp2112_string_report report; pstr_show() local
1367 cp2112_raw_event(struct hid_device * hdev,struct hid_report * report,u8 * data,int size) cp2112_raw_event() argument
[all...]
H A Dhid-betopff.c34 struct hid_report *report; member
47 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play()
48 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play()
50 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in hid_betopff_play()
58 struct hid_report *report; in betopff_init() local
79 report = list_first_entry(report_list, struct hid_report, list); in betopff_init()
88 if (report->maxfield < 4) { in betopff_init()
90 report->maxfield); in betopff_init()
93 for (i = 0; i < report->maxfield; i++) { in betopff_init()
94 if (report->field[i]->report_count < 1) { in betopff_init()
[all …]
H A Dhid-zpff.c22 struct hid_report *report; member
45 zpff->report->field[2]->value[0] = left; in zpff_play()
46 zpff->report->field[3]->value[0] = right; in zpff_play()
48 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); in zpff_play()
56 struct hid_report *report; in zpff_init() local
69 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, i, 1); in zpff_init()
70 if (!report) in zpff_init()
86 zpff->report = report; in zpff_init()
87 zpff->report->field[0]->value[0] = 0x00; in zpff_init()
88 zpff->report->field[1]->value[0] = 0x02; in zpff_init()
[all …]
H A Dhid-axff.c28 struct hid_report *report; member
35 struct hid_report *report = axff->report; in axff_play() local
48 for (i = 0; i < report->maxfield; i++) { in axff_play()
49 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play()
50 report->field[i]->value[j] = in axff_play()
57 hid_hw_request(hid, axff->report, HID_REQ_SET_REPORT); in axff_play()
65 struct hid_report *report; in axff_init() local
85 report = list_first_entry(report_list, struct hid_report, list); in axff_init()
86 for (i = 0; i < report->maxfield; i++) { in axff_init()
87 for (j = 0; j < report->field[i]->report_count; j++) { in axff_init()
[all …]
H A Dhid-sjoy.c26 struct hid_report *report; member
43 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play()
44 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play()
46 hid_hw_request(hid, sjoyff->report, HID_REQ_SET_REPORT); in hid_sjoyff_play()
54 struct hid_report *report; in sjoyff_init() local
75 report = list_entry(report_ptr, struct hid_report, list); in sjoyff_init()
76 if (report->maxfield < 1) { in sjoyff_init()
81 if (report->field[0]->report_count < 3) { in sjoyff_init()
100 sjoyff->report = report; in sjoyff_init()
101 sjoyff->report->field[0]->value[0] = 0x01; in sjoyff_init()
[all …]
H A Dhid-lgff.c61 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play() local
73 report->field[0]->value[0] = 0x51; in hid_lgff_play()
74 report->field[0]->value[1] = 0x08; in hid_lgff_play()
75 report->field[0]->value[2] = x; in hid_lgff_play()
76 report->field[0]->value[3] = y; in hid_lgff_play()
78 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lgff_play()
88 report->field[0]->value[0] = 0x42; in hid_lgff_play()
89 report->field[0]->value[1] = 0x00; in hid_lgff_play()
90 report->field[0]->value[2] = left; in hid_lgff_play()
91 report->field[0]->value[3] = right; in hid_lgff_play()
[all …]
H A Dhid-mf.c31 struct hid_report *report; member
50 mf->report->field[0]->value[0] = weak; in mf_play()
51 mf->report->field[0]->value[1] = strong; in mf_play()
52 hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT); in mf_play()
65 struct hid_report *report; in mf_init() local
76 report = list_entry(report_ptr, struct hid_report, list); in mf_init()
78 if (report->maxfield < 1 || report->field[0]->report_count < 2) { in mf_init()
104 mf->report = report; in mf_init()
105 mf->report->field[0]->value[0] = 0x00; in mf_init()
106 mf->report->field[0]->value[1] = 0x00; in mf_init()
[all …]
H A Dhid-megaworld.c19 struct hid_report *report; member
33 hid_hw_request(hid, mwctrl->report, HID_REQ_SET_REPORT); in mwctrl_play()
41 struct hid_report *report; in mwctrl_init() local
55 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, i, 1); in mwctrl_init()
56 if (!report) in mwctrl_init()
72 mwctrl->report = report; in mwctrl_init()
80 report->field[0]->value[0] = 0x02; in mwctrl_init()
82 mwctrl->strong = &report->field[2]->value[0]; in mwctrl_init()
83 mwctrl->weak = &report->field[3]->value[0]; in mwctrl_init()
H A Dhid-picolcd_leds.c34 struct hid_report *report; in picolcd_leds_set() local
39 report = picolcd_out_report(REPORT_LED_STATE, data->hdev); in picolcd_leds_set()
40 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set()
44 hid_set_field(report->field[0], 0, data->led_state); in picolcd_leds_set()
46 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_leds_set()
96 int picolcd_init_leds(struct picolcd_data *data, struct hid_report *report) in picolcd_init_leds() argument
104 if (!report) in picolcd_init_leds()
106 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_leds()
107 report->field[0]->report_size != 8) { in picolcd_init_leds()
H A Dhid-picolcd.h134 struct hid_device *hdev, struct hid_report *report);
142 struct hid_device *hdev, struct hid_report *report,
153 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report() argument
157 struct hid_device *hdev, struct hid_report *report, in picolcd_debug_raw_event() argument
203 struct hid_report *report);
212 struct hid_report *report) in picolcd_init_backlight() argument
232 struct hid_report *report);
239 struct hid_report *report) in picolcd_init_lcd() argument
255 struct hid_report *report);
262 struct hid_report *report) in picolcd_init_leds() argument
[all …]
H A Dhid-picolcd_debugfs.c385 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report() argument
388 int raw_size = (report->size >> 3) + 1; in picolcd_debug_out_report()
400 raw_data = hid_alloc_report_buf(report, GFP_ATOMIC); in picolcd_debug_out_report()
407 report->id, raw_size); in picolcd_debug_out_report()
409 raw_data[0] = report->id; in picolcd_debug_out_report()
410 hid_output_report(report, raw_data); in picolcd_debug_out_report()
414 switch (report->id) { in picolcd_debug_out_report()
418 "REPORT_LED_STATE", report->id, raw_size-1); in picolcd_debug_out_report()
426 "REPORT_BRIGHTNESS", report->id, raw_size-1); in picolcd_debug_out_report()
434 "REPORT_CONTRAST", report->id, raw_size-1); in picolcd_debug_out_report()
[all …]
/linux/tools/perf/
H A Dbuiltin-report.c3 * builtin-report.c
5 * Builtin report command: Analyze the perf.data input file,
76 struct report { struct
126 struct report *rep = cb; in report__config() argument
128 if (!strcmp(var, "report.group")) { in report__config()
132 if (!strcmp(var, "report.percent-limit")) { in report__config()
139 if (!strcmp(var, "report.children")) { in report__config()
143 if (!strcmp(var, "report.queue-size")) in report__config()
146 if (!strcmp(var, "report.sort_order")) { in report__config()
149 pr_err("Not enough memory for report in report__config()
77 toolreport global() argument
78 sessionreport global() argument
79 evswitchreport global() argument
81 use_tuireport global() argument
84 use_gtkreport global() argument
86 use_stdioreport global() argument
87 show_full_inforeport global() argument
88 show_threadsreport global() argument
89 inverted_callchainreport global() argument
90 mem_modereport global() argument
91 stats_modereport global() argument
92 tasks_modereport global() argument
93 mmaps_modereport global() argument
94 headerreport global() argument
95 header_onlyreport global() argument
96 nonany_branch_modereport global() argument
120 block_reportsreport global() argument
121 nr_block_reportsreport global() argument
234 setup_forced_leader(struct report * report,struct evlist * evlist) setup_forced_leader() argument
1274 struct report report = { cmd_report() local
[all...]
/linux/scripts/coccinelle/api/
H A Dstring_choices.cocci8 virtual report
31 @script:python depends on report@
36 coccilib.report.print_report(p[0], "opportunity for str_plural(%s)" % e)
50 @script:python depends on report@
55 coccilib.report.print_report(p[0], "opportunity for str_up_down(%s)" % e)
69 @script:python depends on report@
74 coccilib.report.print_report(p[0], "opportunity for str_down_up(%s)" % e)
88 @script:python depends on report@
93 coccilib.report.print_report(p[0], "opportunity for str_true_false(%s)" % e)
107 @script:python depends on report@
[all …]
H A Dplatform_no_drv_owner.cocci10 virtual report
26 @fix1 depends on match1 && patch && !context && !org && !report@
35 @fix1_i2c depends on match1 && patch && !context && !org && !report@
57 @fix2 depends on match2 && patch && !context && !org && !report@
66 @fix2_i2c depends on match2 && patch && !context && !org && !report@
77 @fix1_context depends on match1 && !patch && (context || org || report)@
88 @fix1_i2c_context depends on match1 && !patch && (context || org || report)@
99 @fix2_context depends on match2 && !patch && (context || org || report)@
110 @fix2_i2c_context depends on match2 && !patch && (context || org || report)@
153 @script:python fix1_report depends on report@
[all …]
/linux/tools/perf/tests/shell/
H A Dtest_task_analyzer.sh32 report() {
43 report 1 "invocation of $1 command failed"
50 report 1 "$3" "Failed to find required string:'${1}'."
52 report 0 "$3"
75 perf script report task-analyzer > "$out"
76 check_exec_0 "perf script report task-analyzer"
82 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
83 check_exec_0 "perf script report task-analyzer --ns --rename-comms-by-tids 0:random"
89 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
91 check_exec_0 "perf script report tas
29 report() { global() function
[all...]
/linux/Documentation/hid/
H A Dhidraw.rst16 which send and receive data in a way that is inconsistent with their report
18 through it, checking them against the device's report descriptor, such
44 read() will read a queued report received from the HID device. On USB
47 a report available to be read. read() can be made non-blocking, by passing
52 will be the report number; the report data follows, beginning in the second
53 byte. For devices which do not use numbered reports, the report data
58 The write() function will write a report to the device. For USB devices, if
59 the device has an INTERRUPT OUT endpoint, the report will be sent on that
60 endpoint. If it does not, the report will be sent over the control endpoint,
63 The first byte of the buffer passed to write() should be set to the report
[all …]
/linux/tools/perf/Documentation/
H A Dtips.txt1 For a higher level overview, try: perf report --sort comm,dso
4 Boolean options have negative forms, e.g.: perf report --no-children
10 Search options using a keyword: perf report -h <keyword>
11 Use parent filter to see specific call path: perf report -p <regex>
15 To see callchains in a more compact form: perf report -g folded
16 To see call chains by final symbol taking CPU time (bottom up) use perf report -G
18 Limit to show entries above 5% only: perf report --percent-limit 5
19 Profiling branch (mis)predictions with: perf record -b / perf report
20 To show assembler sample context control flow use perf record -b / perf report --samples 10 and the…
21 To adjust path to source files to local file system use perf report --prefix=... --prefix-strip=...
[all …]

12345678910>>...29