Home
last modified time | relevance | path

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

12345678910>>...23

/linux/drivers/virt/coco/guest/
H A Dreport.c42 struct tsm_report report; member
59 return &state->report; in to_tsm_report()
62 static struct tsm_report_state *to_state(struct tsm_report *report) in to_state() argument
64 return container_of(report, struct tsm_report_state, report); in to_state()
67 static int try_advance_write_generation(struct tsm_report *report) in try_advance_write_generation() argument
69 struct tsm_report_state *state = to_state(report); in try_advance_write_generation()
88 struct tsm_report *report = to_tsm_report(cfg); in tsm_report_privlevel_store() local
109 rc = try_advance_write_generation(report); in tsm_report_privlevel_store()
112 report->desc.privlevel = val; in tsm_report_privlevel_store()
133 struct tsm_report *report = to_tsm_report(cfg); in tsm_report_service_provider_store() local
[all …]
/linux/drivers/hid/
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-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-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()
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->field[field_index], i, in sensor_hub_set_feature()
223 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature()
228 hid_hw_request(hsdev->hdev, report, HID_REQ_SET_REPORT); in sensor_hub_set_feature()
[all …]
H A Dhid-picolcd_lcd.c29 struct hid_report *report = picolcd_out_report(REPORT_CONTRAST, data->hdev); in picolcd_set_contrast() local
32 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast()
37 hid_set_field(report->field[0], 0, data->lcd_contrast); in picolcd_set_contrast()
39 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_contrast()
49 int picolcd_init_lcd(struct picolcd_data *data, struct hid_report *report) in picolcd_init_lcd() argument
54 if (!report) in picolcd_init_lcd()
56 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd()
57 report->field[0]->report_size != 8) { in picolcd_init_lcd()
H A Dhid-picolcd_core.c56 struct hid_report *report = NULL; in picolcd_report() local
58 list_for_each_entry(report, feature_report_list, list) { in picolcd_report()
59 if (report->id == id) in picolcd_report()
60 return report; in picolcd_report()
73 struct hid_report *report = picolcd_out_report(report_id, hdev); in picolcd_send_and_wait() local
78 if (!report || !data) in picolcd_send_and_wait()
87 work->out_report = report; in picolcd_send_and_wait()
93 for (i = k = 0; i < report->maxfield; i++) in picolcd_send_and_wait()
94 for (j = 0; j < report->field[i]->report_count; j++) { in picolcd_send_and_wait()
95 hid_set_field(report->field[i], j, k < size ? raw_data[k] : 0); in picolcd_send_and_wait()
[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-picolcd_backlight.c25 struct hid_report *report = picolcd_out_report(REPORT_BRIGHTNESS, data->hdev); in picolcd_set_brightness() local
28 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness()
34 hid_set_field(report->field[0], 0, in picolcd_set_brightness()
37 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_brightness()
47 int picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) in picolcd_init_backlight() argument
52 if (!report) in picolcd_init_backlight()
54 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight()
55 report->field[0]->report_size != 8) { in picolcd_init_backlight()
H A Dhid-core.c92 struct hid_report *report; in hid_register_report() local
99 report = kzalloc_obj(struct hid_report); in hid_register_report()
100 if (!report) in hid_register_report()
106 report->id = id; in hid_register_report()
107 report->type = type; in hid_register_report()
108 report->size = 0; in hid_register_report()
109 report->device = device; in hid_register_report()
110 report->application = application; in hid_register_report()
111 report_enum->report_id_hash[id] = report; in hid_register_report()
113 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report()
[all …]
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-vivaldi-common.c35 struct hid_report *report = field->report; in vivaldi_feature_mapping() local
52 report_data = buf = hid_alloc_report_buf(report, GFP_KERNEL); in vivaldi_feature_mapping()
56 report_len = hid_report_len(report); in vivaldi_feature_mapping()
57 if (!report->id) { in vivaldi_feature_mapping()
69 ret = hid_hw_raw_request(hdev, report->id, report_data, in vivaldi_feature_mapping()
74 field->report->id); in vivaldi_feature_mapping()
78 if (!report->id) { in vivaldi_feature_mapping()
91 field->report->id); in vivaldi_feature_mapping()
H A Dhid-chicony.c26 static int ch_report_wireless(struct hid_report *report, u8 *data, int size) in ch_report_wireless() argument
28 struct hid_device *hdev = report->device; in ch_report_wireless()
31 if (report->id != CH_WIRELESS_CTL_REPORT_ID || report->maxfield != 1) in ch_report_wireless()
34 input = report->field[0]->hidinput->input; in ch_report_wireless()
49 struct hid_report *report, u8 *data, int size) in ch_raw_event() argument
51 if (report->application == HID_GD_WIRELESS_RADIO_CTLS) in ch_raw_event()
52 return ch_report_wireless(report, data, size); in ch_raw_event()
/linux/tools/perf/
H A Dbuiltin-report.c3 * builtin-report.c
5 * Builtin report command: Analyze the perf.data input file,
78 struct report { argument
130 struct report *rep = cb; in report__config()
132 if (!strcmp(var, "report.group")) { in report__config()
136 if (!strcmp(var, "report.percent-limit")) { in report__config()
143 if (!strcmp(var, "report.children")) { in report__config()
147 if (!strcmp(var, "report.queue-size")) in report__config()
150 if (!strcmp(var, "report.sort_order")) { in report__config()
153 pr_err("Not enough memory for report in report__config()
76 struct report { global() struct
77 toolreport 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
97 group_setreport global() argument
98 stitch_lbrreport global() argument
122 block_reportsreport global() argument
123 nr_block_reportsreport global() argument
128 total_cycles_modereport report__config() argument
236 setup_forced_leader(struct report * report,struct evlist * evlist) setup_forced_leader() argument
1325 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
35 @fix1 depends on match1 && patch && !context && !org && !report@
44 @fix1_i2c depends on match1 && patch && !context && !org && !report@
66 @fix2 depends on match2 && patch && !context && !org && !report@
75 @fix2_i2c depends on match2 && patch && !context && !org && !report@
86 @fix1_context depends on match1 && !patch && (context || org || report)@
97 @fix1_i2c_context depends on match1 && !patch && (context || org || report)@
108 @fix2_context depends on match2 && !patch && (context || org || report)@
119 @fix2_i2c_context depends on match2 && !patch && (context || org || report)@
162 @script:python fix1_report depends on report@
[all …]
H A Datomic_as_refcounter.cocci11 virtual report
52 @script:python depends on report@
57 coccilib.report.print_report(p1[0], msg % (p2[0].line))
83 @script:python depends on report@
88 coccilib.report.print_report(p1[0], msg % (p2[0].line))
103 @script:python depends on report@
107 coccilib.report.print_report(p1[0], msg)
122 @script:python depends on report@
126 coccilib.report.print_report(p1[0], msg)
/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 then browse context
21 To adjust path to source files to local file system use perf report
[all...]
/linux/drivers/hid/usbhid/
H A Dhiddev.c61 struct hid_report *report; in hiddev_lookup_report() local
80 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
81 rinfo->report_id = report->id; in hiddev_lookup_report()
85 report = report_enum->report_id_hash[rid]; in hiddev_lookup_report()
86 if (!report) in hiddev_lookup_report()
89 list = report->list.next; in hiddev_lookup_report()
93 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
94 rinfo->report_id = report->id; in hiddev_lookup_report()
112 struct hid_report *report; in hiddev_lookup_usage() local
123 list_for_each_entry(report, &report_enum->report_list, list) { in hiddev_lookup_usage()
[all …]
/linux/tools/perf/tests/shell/base_report/
H A Dtest_basic.sh26 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err
72 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio > $LOGS_DIR/basic_basic.log 2> $LOGS_DIR/ba…
94 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --show-nr-samples > $LOGS_DIR/basic_nrsampl…
113 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio --header-only > $LOGS_DIR/basic_header.log
135 OLD_TIMESTAMP=`$CMD_PERF report --stdio --header-only -i $CURRENT_TEST_DIR/perf.data | grep "captur…
141 NEW_TIMESTAMP=`$CMD_PERF report --stdio --header-only -i $HEADER_TAR_DIR/perf.data | grep "captured…
154 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio --showcpuutilization > $LOGS_DIR/basic_cpuu…
173 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --pid=1 > $LOGS_DIR/basic_pid.log 2> $LOGS_…
190 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --symbols=dummynonexistingsymbol > $LOGS_DI…
207 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --symbol-filter=map > $LOGS_DIR/basic_symbo…
[all …]
/linux/Documentation/usb/
H A Dgadget_hid.rst108 Hit return and the corresponding report will be sent by the
112 --caps-lock and hit return. A report is then sent by the
117 recv report:2
193 int keyboard_fill_report(char report[8], char buf[BUF_LEN], int *hold)
212 report[2 + key++] = kval[i].val;
221 report[2 + key++] = (tok[0] - ('a' - 0x04));
227 report[0] = report[0] | kmod[i].val;
246 int mouse_fill_report(char report[8], char buf[BUF_LEN], int *hold)
263 report[0] = report[0] | mmod[i].val;
271 report[1 + mvt++] = (char)strtol(tok, NULL, 0);
[all …]
/linux/scripts/coccinelle/api/alloc/
H A Dzalloc-simple.cocci24 virtual report
135 @r depends on org || report@
156 @script:python depends on report@
162 coccilib.report.print_report(p[0], msg)
165 @r1 depends on org || report@
186 @script:python depends on report@
192 coccilib.report.print_report(p[0], msg)
195 @r2 depends on org || report@
216 @script:python depends on report@
222 coccilib.report.print_report(p[0], msg)
[all …]
/linux/drivers/hwmon/
H A Dnzxt-smart2.c223 struct fan_config_report *report = data; in handle_fan_config_report() local
229 if (report->magic != 0x03) in handle_fan_config_report()
235 drvdata->fan_type[i] = report->fan_type[i]; in handle_fan_config_report()
244 struct fan_status_report *report = data; in handle_fan_status_report() local
264 if (drvdata->fan_type[i] == report->fan_type[i]) in handle_fan_status_report()
276 i, drvdata->fan_type[i], report->fan_type[i]); in handle_fan_status_report()
277 drvdata->fan_type[i] = report->fan_type[i]; in handle_fan_status_report()
280 switch (report->type) { in handle_fan_status_report()
284 get_unaligned_le16(&report->fan_speed.fan_rpm[i]); in handle_fan_status_report()
286 report->fan_speed.duty_percent[i]; in handle_fan_status_report()
[all …]
/linux/scripts/coccinelle/null/
H A Dderef_null.cocci16 virtual report
50 // For org and report modes
52 @r depends on !context && (org || report) exists@
92 @script:python depends on !context && !org && report@
99 coccilib.report.print_report(p[0], msg)
102 @script:python depends on !context && org && !report@
113 @s depends on !context && (org || report) exists@
152 @script:python depends on !context && !org && report@
159 coccilib.report.print_report(p[0], msg)
161 @script:python depends on !context && org && !report@
[all …]

12345678910>>...23