Home
last modified time | relevance | path

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

12345678910>>...48

/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-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-input.c137 struct hid_report *report; in hidinput_find_key() local
1525 report->tool = 0; in hid_report_release_tool()
1532 hid_report_release_tool(report, input, report->tool); in hid_report_set_tool()
1535 report->tool = new_tool; in hid_report_set_tool()
1541 struct hid_report *report = field->report; in hidinput_hid_event() local
1644 if (!report->tool) in hidinput_hid_event()
1648 hid_report_set_tool(report, input, report->tool); in hidinput_hid_event()
1853 report = field->report; in hidinput_led_worker()
2192 if (hidinput->report && in hidinput_match()
2193 hidinput->report->id == report->id) in hidinput_match()
[all …]
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/s390x/gdbstub/
H A Dtest-svc.py12 def report(cond, msg): function
24 report("lghi\t" in gdb.execute("x/i $pc", False, True), "insn #1")
26 report("larl\t" in gdb.execute("x/i $pc", False, True), "insn #2")
28 report("lgrl\t" in gdb.execute("x/i $pc", False, True), "insn #3")
30 report("svc\t" in gdb.execute("x/i $pc", False, True), "insn #4")
32 report("xgr\t" in gdb.execute("x/i $pc", False, True), "insn #5")
34 report("svc\t" in gdb.execute("x/i $pc", False, True), "insn #6")
55 report(False, "GDB Exception: {}".format(sys.exc_info()[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/qemu/tests/plugin/
H A Dbb.c35 static void gen_one_cpu_report(CPUCount *count, GString *report) in gen_one_cpu_report() argument
38 g_string_append_printf(report, "CPU%d: " in gen_one_cpu_report()
47 g_autoptr(GString) report = g_string_new(""); in plugin_exit()
50 g_string_printf(report, "bb's: %" PRIu64", insns: %" PRIu64 "\n", in plugin_exit()
53 g_ptr_array_foreach(counts, (GFunc) gen_one_cpu_report, report); in plugin_exit()
55 qemu_plugin_outs(report->str); in plugin_exit()
61 g_autoptr(GString) report = g_string_new(""); in vcpu_idle()
62 gen_one_cpu_report(count, report); in vcpu_idle()
64 if (report->len > 0) { in vcpu_idle()
65 g_string_prepend(report, "Idling "); in vcpu_idle()
[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/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/qemu/tests/tcg/aarch64/gdbstub/
H A Dtest-sve-ioctl.py16 def report(cond, msg): function
36 report(int(val_z) == i, "z0.b.u[%d] == %d" % (i, i))
39 report(int(val_z) == 0, "z0.b.u[%d] == 0" % (i))
41 report(False, "checking zregs (out of range)")
49 report(int(val_z) == int(val_v),
52 report(False, "checking vregs (out of range)")
73 report(arch.name() == "aarch64", "connected to aarch64")
/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/linux/drivers/staging/greybus/
H A Dhid.c117 memcpy(request->report, buf, len); in gb_hid_set_report()
155 report->device->report_enum[report->type].numbered; in gb_hid_report_len()
161 struct hid_report *report; in gb_hid_find_max_report() local
165 size = gb_hid_report_len(report); in gb_hid_find_max_report()
194 size = gb_hid_report_len(report); in gb_hid_init_report()
195 if (gb_hid_get_report(ghid, report->type, report->id, ghid->inbuf, in gb_hid_init_report()
210 struct hid_report *report; in gb_hid_init_reports() local
212 list_for_each_entry(report, in gb_hid_init_reports()
215 gb_hid_init_report(ghid, report); in gb_hid_init_reports()
217 list_for_each_entry(report, in gb_hid_init_reports()
[all …]
/openbmc/linux/scripts/coccinelle/api/alloc/
H A Dzalloc-simple.cocci24 virtual report
144 @r depends on org || report@
165 @script:python depends on report@
174 @r1 depends on org || report@
204 @r2 depends on org || report@
234 @r3 depends on org || report@
264 @r4 depends on org || report@
294 @r5 depends on org || report@
324 @r6 depends on org || report@
354 @r7 depends on org || report@
[all …]
/openbmc/openbmc/poky/scripts/lib/resulttool/template/
H A Dtest_report_full_text.txt7 {% for report in reportvalues |sort(attribute='sort') %}
8report.testseries.ljust(maxlen['testseries']) }} | {{ report.result_id.ljust(maxlen['result_id']) …
68 {% for report in reportvalues |sort(attribute='sort') %}
69 {% if report.failed_testcases %}
70 testseries | result_id : {{ report.testseries }} | {{ report.result_id }}
71 {% for testcase in report.failed_testcases %}

12345678910>>...48