Home
last modified time | relevance | path

Searched refs:report (Results 26 – 50 of 1204) sorted by relevance

12345678910>>...49

/openbmc/linux/drivers/hid/
H A Dhid-picolcd_backlight.c26 struct hid_report *report = picolcd_out_report(REPORT_BRIGHTNESS, data->hdev); in picolcd_set_brightness() local
29 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness()
35 hid_set_field(report->field[0], 0, data->lcd_power == FB_BLANK_UNBLANK ? data->lcd_brightness : 0); in picolcd_set_brightness()
37 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_brightness()
53 int picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) in picolcd_init_backlight() argument
58 if (!report) in picolcd_init_backlight()
60 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight()
61 report->field[0]->report_size != 8) { in picolcd_init_backlight()
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-core.c65 if (!report) in hid_register_report()
71 report->id = id; in hid_register_report()
73 report->size = 0; in hid_register_report()
81 return report; in hid_register_report()
110 field->report = report; in hid_register_field()
269 if (!report) { in hid_add_field()
665 kfree(report); in hid_free_report()
681 if (report) in hid_close_report()
1009 if (!report) { in hid_validate_values()
1982 if (!report) in hid_report_raw_event()
[all …]
H A Dhid-input.c137 struct hid_report *report; in hidinput_find_key() local
1498 report->tool = 0; in hid_report_release_tool()
1505 hid_report_release_tool(report, input, report->tool); in hid_report_set_tool()
1508 report->tool = new_tool; in hid_report_set_tool()
1514 struct hid_report *report = field->report; in hidinput_hid_event() local
1617 if (!report->tool) in hidinput_hid_event()
1621 hid_report_set_tool(report, input, report->tool); in hidinput_hid_event()
1826 report = field->report; in hidinput_led_worker()
2165 if (hidinput->report && in hidinput_match()
2166 hidinput->report->id == report->id) in hidinput_match()
[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-tmff.c43 struct hid_report *report; member
94 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play()
112 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play()
121 struct hid_report *report; in tmff_init() local
141 list_for_each_entry(report, report_list, list) { in tmff_init()
144 for (fieldnum = 0; fieldnum < report->maxfield; ++fieldnum) { in tmff_init()
145 struct hid_field *field = report->field[fieldnum]; in tmff_init()
163 if (tmff->report && tmff->report != report) { in tmff_init()
173 tmff->report = report; in tmff_init()
189 if (!tmff->report) { in tmff_init()
H A Dhid-picolcd_debugfs.c388 int raw_size = (report->size >> 3) + 1; 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()
632 "<unknown>", report->id, raw_size-1); in picolcd_debug_out_report()
656 switch (report->id) { in picolcd_debug_raw_event()
688 "REPORT_IR_DATA", report->id, size-1); in picolcd_debug_raw_event()
731 "REPORT_MEMORY", report->id, size-1); in picolcd_debug_raw_event()
799 "REPORT_DEVID", report->id, size-1); in picolcd_debug_raw_event()
[all …]
H A Dhid-ft260.c140 u8 report; /* FT260_CHIP_VERSION */ member
168 u8 report; /* FT260_I2C_STATUS */ member
209 u8 report; /* FT260_I2C_REPORT */ member
224 u8 report; /* FT260_I2C_REPORT */ member
296 ret = ft260_hid_feature_report_set(hdev, (u8 *)&report, sizeof(report)); in ft260_i2c_reset()
314 (u8 *)&report, sizeof(report)); in ft260_xfer_status()
322 report.bus_status); in ft260_xfer_status()
327 (u8 *)&report, sizeof(report)); in ft260_xfer_status()
519 rep.report = FT260_I2C_READ_REQ; in ft260_i2c_read()
876 rep.report = id; \
[all …]
/openbmc/qemu/tests/tcg/plugins/
H A Dbb.c32 static void gen_one_cpu_report(CPUCount *count, GString *report, in gen_one_cpu_report() argument
36 g_string_append_printf(report, "CPU%d: " in gen_one_cpu_report()
45 g_autoptr(GString) report = g_string_new(""); in plugin_exit()
49 gen_one_cpu_report(count, report, i); in plugin_exit()
51 g_string_append_printf(report, "Total: " in plugin_exit()
55 qemu_plugin_outs(report->str); in plugin_exit()
62 g_autoptr(GString) report = g_string_new(""); in vcpu_idle()
63 gen_one_cpu_report(count, report, cpu_index); in vcpu_idle()
65 if (report->len > 0) { in vcpu_idle()
66 g_string_prepend(report, "Idling "); in vcpu_idle()
[all …]
/openbmc/qemu/tests/tcg/s390x/gdbstub/
H A Dtest-svc.py6 from test_gdbstub import main, report
11 report("lghi\t" in gdb.execute("x/i $pc", False, True), "insn #1")
13 report("larl\t" in gdb.execute("x/i $pc", False, True), "insn #2")
15 report("lgrl\t" in gdb.execute("x/i $pc", False, True), "insn #3")
17 report("svc\t" in gdb.execute("x/i $pc", False, True), "insn #4")
19 report("xgr\t" in gdb.execute("x/i $pc", False, True), "insn #5")
21 report("svc\t" in gdb.execute("x/i $pc", False, True), "insn #6")
H A Dtest-signals-s390x.py10 from test_gdbstub import main, report
25 report(illegal_op.hit_count == 1, "illegal_op.hit_count == 1")
26 report(stg.hit_count == 4, "stg.hit_count == 4")
27 report(mvc_8.hit_count == 4, "mvc_8.hit_count == 4")
33 report(status == 0, "status == 0")
/openbmc/linux/scripts/coccinelle/api/
H A Dplatform_no_drv_owner.cocci10 virtual report
26 @fix1 depends on match1 && patch && !context && !org && !report@
57 @fix2 depends on match2 && patch && !context && !org && !report@
153 @script:python fix1_report depends on report@
158 coccilib.report.print_report(j0[0], msg)
160 @script:python fix1_i2c_report depends on report@
165 coccilib.report.print_report(j0[0], msg)
167 @script:python fix2_report depends on report@
172 coccilib.report.print_report(j0[0], msg)
174 @script:python fix2_i2c_report depends on report@
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/classes/
H A Dbandit.bbclass5 # Writes the report to $DEPLOY_DIR/bandit/python-foo.html.
13 # The report format to use.
32 report = d.expand("${DEPLOY_DIR}/bandit/${PN}-${PV}.${BANDIT_FORMAT}")
33 os.makedirs(os.path.dirname(report), exist_ok=True)
37 "--output", report,
41 bb.note("Bandit found no issues (report written to %s)" % report)
45 bb.error("Bandit found issues (report written to %s)" % report)
47 bb.warn("Bandit found issues (report written to %s)" % report)
62 # TODO: store report in sstate
/openbmc/docs/designs/
H A Dtelemetry.md177 | | report in JSON <-----------------------+ |metric report update | | |
211 | | Return metric | Return report data | |sensor triggers report| | |
281 **Reading report management**
283 The reading report management D-Bus object:
294 report may contain a single or multiple sensor readings. The way how the report
356 metric report update.
568 Sample metric report definition:
600 Sample metric report:
786 shall contain creating metric report by POSTing proper metric report definition,
787 reading metric report (using GET on proper URI) and deleting the metric report.
[all …]
/openbmc/openbmc/poky/meta/recipes-core/musl/libc-test/
H A Drun-libc-ptests14 report="/opt/libc-test/src/REPORT"
15 if ! [ -f "${report}" ]; then
16 echo "${report} not found!"
20 elif grep -q '^FAIL src.*\.exe.*' "${report}"; then
23 grep '^FAIL src.*\.exe.*' "${report}" \
/openbmc/qemu/tests/tcg/aarch64/gdbstub/
H A Dtest-mte.py23 from test_gdbstub import arg_parser, main, report
59 report(True, f"{tags_match[0]}")
61 report(False, "Logical and allocation tags don't match!")
84 report(True, "Allocation tags are correctly set/printed.")
86 report(False, "Can't set/print allocation tags!")
101 report(True, "Fill pattern is ok.")
103 report(False, "Fill pattern failed!")
108 report(False, "'memory-tag' command failed!")
H A Dtest-sve-ioctl.py11 from test_gdbstub import main, report
27 report(int(val_z) == i, "z0.b.u[%d] == %d" % (i, i))
30 report(int(val_z) == 0, "z0.b.u[%d] == 0" % (i))
32 report(False, "checking zregs (out of range)")
40 report(int(val_z) == int(val_v),
43 report(False, "checking vregs (out of range)")
/openbmc/linux/drivers/hid/usbhid/
H A Dhiddev.c61 struct hid_report *report; in hiddev_lookup_report() local
86 if (!report) in hiddev_lookup_report()
89 list = report->list.next; in hiddev_lookup_report()
112 struct hid_report *report; in hiddev_lookup_usage() local
125 field = report->field[i]; in hiddev_lookup_usage()
433 struct hid_report *report; in hiddev_ioctl_usage() local
603 struct hid_report *report; in hiddev_ioctl() local
704 if (report == NULL) in hiddev_ioctl()
723 if (report == NULL) in hiddev_ioctl()
739 if (report == NULL) in hiddev_ioctl()
[all …]
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py220 report = ReportData()
221 report.x = x
222 report.y = y
223 report.tippressure = pressure
225 buttons.fill(report)
226 proximity.fill(report)
227 toolid.fill(report)
238 report = ReportData()
243 report = ReportData()
321 report = ReportData()
[all …]
/openbmc/linux/drivers/s390/char/
H A Dsclp_pci.c110 static int sclp_pci_check_report(struct zpci_report_error_header *report) in sclp_pci_check_report() argument
112 if (report->version != 1) in sclp_pci_check_report()
115 switch (report->action) { in sclp_pci_check_report()
124 if (report->length > (PAGE_SIZE - sizeof(struct err_notify_sccb))) in sclp_pci_check_report()
130 int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid) in sclp_pci_report() argument
137 ret = sclp_pci_check_report(report); in sclp_pci_report()
164 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report()
168 sccb->evbuf.action = report->action; in sclp_pci_report()
173 memcpy(sccb->evbuf.data, report->data, report->length); in sclp_pci_report()
/openbmc/qemu/contrib/plugins/
H A Dhwprofile.c109 g_autoptr(GString) report = g_string_new(""); in plugin_exit()
113 g_string_printf(report, "Device, Address"); in plugin_exit()
115 g_string_append_printf(report, ", RCPUs, Reads"); in plugin_exit()
118 g_string_append_printf(report, ", WCPUs, Writes"); in plugin_exit()
120 g_string_append_c(report, '\n'); in plugin_exit()
141 fmt_iocount_record(report, &loc->counts); in plugin_exit()
142 g_string_append_c(report, '\n'); in plugin_exit()
146 fmt_dev_record(report, rec); in plugin_exit()
153 qemu_plugin_outs(report->str); in plugin_exit()
180 fmt_dev_record(report, rec); in hwprofile_match_hit()
[all …]
/openbmc/linux/Documentation/usb/
H A Dgadget_hid.rst117 recv report:2
227 report[0] = report[0] | kmod[i].val;
263 report[0] = report[0] | mmod[i].val;
274 report[1 + mvt--] = 0;
306 report[3] = 0x04;
315 report[3] = (report[3] & 0xF0) | jmod[i].val;
326 report[mvt--] = 0;
374 char report[8];
421 memset(report, 0x0, sizeof(report));
430 memset(report, 0x0, sizeof(report));
[all …]
/openbmc/qemu/tests/tcg/multiarch/gdbstub/
H A Dregisters.py11 from test_gdbstub import main, report
58 report(False, f"duplicate register {entry} vs {reg_map[name]}")
64 report(total_regs == len(reg_map.keys()),
116 report(False, f"{r_name} not in XML description")
122 report(False, f"{r_name} {r_regnum} == {x_regnum} (xml)")
126 report(total_regs == total_r_regs + total_r_elided_regs,
161 report(False, f"failed to read reg: {name}")
189 report(False, f"failed to read {name} at end of run")
197 report(changed > 0, f"{changed} registers were changed")

12345678910>>...49