/linux/tools/testing/selftests/hid/tests/ |
H A D | descriptors_wacom.py | 8 0x85, 0x01, # . Report ID (1), 16 0x75, 0x01, # . Report Size (1), 17 0x95, 0x03, # . Report Count (3), 19 0x75, 0x01, # . Report Size (1), 20 0x95, 0x05, # . Report Count (5), 27 0x75, 0x08, # . Report Size (8), 28 0x95, 0x02, # . Report Count (2), 35 0x85, 0x10, # . Report ID (16), 47 0x75, 0x01, # . Report Size (1), 48 0x95, 0x07, # . Report Count (7), [all …]
|
H A D | test_ite_keyboard.py | 34 0x85, 0x5a, # .Report ID (90) 7 38 0x75, 0x08, # .Report Size (8) 16 39 0x95, 0x10, # .Report Count (16) 18 45 0x85, 0x01, # .Report ID (1) 29 46 0x75, 0x01, # .Report Size (1) 31 47 0x95, 0x08, # .Report Count (8) 33 54 0x95, 0x01, # .Report Count (1) 47 55 0x75, 0x08, # .Report Size (8) 49 57 0x95, 0x05, # .Report Count (5) 53 58 0x75, 0x01, # .Report Size (1) 55 [all …]
|
/linux/drivers/virt/coco/ |
H A D | tsm.c | 22 * DOC: Trusted Security Module (TSM) Attestation Report Interface 24 * The TSM report interface is a common provider of blobs that facilitate 26 * service. A TSM report combines a user-defined blob (likely a public-key with 27 * a nonce for a key-exchange protocol) with a signed attestation report. That 29 * validate the attestation report. The expectation is that this interface is 31 * own their own report generation instances to generate reports as 34 * The attestation report format is TSM provider specific, when / if a standard 41 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 [all …]
|
/linux/drivers/hid/ |
H A D | hid-uclogic-rdesc.h | 4 * - original and fixed report descriptors 25 /* Fixed WP4030U report descriptor */ 29 /* Fixed WP5540U report descriptor */ 33 /* Fixed WP8060U report descriptor */ 43 /* Fixed WP1062 report descriptor */ 50 /* Fixed PF1209 report descriptor */ 59 /* Fixed PID 0522 tablet report descriptor, interface 0 (stylus) */ 63 /* Fixed PID 0522 tablet report descriptor, interface 1 (mouse) */ 67 /* Fixed PID 0522 tablet report descriptor, interface 2 (frame buttons) */ 75 /* Fixed TWHA60 report descriptor, interface 0 (stylus) */ [all …]
|
H A D | hid-uclogic-rdesc.c | 4 * - original and fixed report descriptors 22 /* Fixed WP4030U report descriptor */ 27 0x85, 0x09, /* Report ID (9), */ 30 0x75, 0x01, /* Report Size (1), */ 36 0x95, 0x03, /* Report Count (3), */ 38 0x95, 0x05, /* Report Count (5), */ 40 0x75, 0x10, /* Report Size (16), */ 41 0x95, 0x01, /* Report Count (1), */ 67 /* Fixed WP5540U report descriptor */ 72 0x85, 0x09, /* Report ID (9), */ [all …]
|
H A D | hid-dr.c | 28 struct hid_report *report; member 53 drff->report->field[0]->value[0] = 0x51; in drff_play() 54 drff->report->field[0]->value[1] = 0x00; in drff_play() 55 drff->report->field[0]->value[2] = weak; in drff_play() 56 drff->report->field[0]->value[4] = strong; in drff_play() 57 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); in drff_play() 59 drff->report->field[0]->value[0] = 0xfa; in drff_play() 60 drff->report->field[0]->value[1] = 0xfe; in drff_play() 62 drff->report->field[0]->value[0] = 0xf3; in drff_play() 63 drff->report->field[0]->value[1] = 0x00; in drff_play() [all …]
|
H A D | hid-gaff.c | 26 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 D | hid-waltop.c | 22 * It shows that the feature report ID 2 could be used to control any waltop 31 * indescribable by a report descriptor). 42 /* Size of the original report descriptor of Slim Tablet 5.8 inch */ 50 0x85, 0x10, /* Report ID (16), */ 58 0x75, 0x04, /* Report Size (4), */ 59 0x95, 0x01, /* Report Count (1), */ 64 0x75, 0x01, /* Report Size (1), */ 65 0x95, 0x01, /* Report Count (1), */ 67 0x95, 0x03, /* Report Count (3), */ 69 0x75, 0x10, /* Report Size (16), */ [all …]
|
H A D | hid-lg2ff.c | 19 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 64 /* Check that the report looks ok */ in lg2ff_init() [all …]
|
H A D | hid-pl.c | 41 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 83 /* The device contains one output report per physical device, all in plff_init() 106 hid_err(hid, "required output report is missing\n"); in plff_init() 110 report = list_entry(report_ptr, struct hid_report, list); in plff_init() 111 if (report->maxfield < 1) { in plff_init() 112 hid_err(hid, "no fields in the report\n"); in plff_init() 117 if (report->field[0]->report_count >= 4) { in plff_init() 118 report->field[0]->value[0] = 0x00; in plff_init() [all …]
|
H A D | hid-sensor-hub.c | 58 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->field[field_index], i, in sensor_hub_set_feature() 223 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() [all …]
|
H A D | hid-emsff.c | 19 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() 70 hid_err(hid, "no fields in the report\n"); in emsff_init() 74 if (report->field[0]->report_count < 7) { in emsff_init() 91 emsff->report = report; in emsff_init() [all …]
|
H A D | hid-maltron.c | 29 0x85, 0x02, /* Report ID (2) */ 30 0x75, 0x01, /* Report Size (1) */ 31 0x95, 0x01, /* Report Count (1) */ 40 0x75, 0x05, /* Report Size (5) */ 46 0x85, 0x03, /* Report ID (3) */ 47 0x95, 0x01, /* Report Count (1) */ 48 0x75, 0x10, /* Report Size (16) */ 56 0x85, 0x04, /* Report ID (4) */ 57 0x95, 0x01, /* Report Count (1) */ 58 0x75, 0x10, /* Report Size (16) */ [all …]
|
/linux/Documentation/hid/ |
H A D | hidraw.rst | 16 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/drivers/mfd/ |
H A D | si476x-cmd.c | 307 report CTS bit as being set in the first status byte read, in si476x_core_send_command() 734 * @report: - all signal quality information returned by the command 741 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() [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | test_task_analyzer.sh | 32 report() { function 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 task-analyzer --ms --filter-tasks perf --highlight-tasks perf" [all …]
|
/linux/tools/perf/Documentation/ |
H A D | tips.txt | 1 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 …]
|
/linux/scripts/coccinelle/api/ |
H A D | string_choices.cocci | 8 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 …]
|
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_report_desc.h | 20 0x85, 1, /* HID Report ID */ 25 0x75, 8, /* HID report size(8) */ 26 0x95, 1, /* HID report count(1) */ 36 0x75, 8, /* HID report size(8) */ 37 0x95, 1, /* HID report count(1) */ 39 0x0A, 0x40, 0x08, /* Sensor property report state no events sel */ 40 0x0A, 0x41, 0x08, /* Sensor property report state all events sel */ 41 0x0A, 0x42, 0x08, /* Sensor property report state threshold events sel */ 42 0x0A, 0x43, 0x08, /* Sensor property report state no events wake sel */ 43 0x0A, 0x44, 0x08, /* Sensor property report state all events wake sel */ [all …]
|
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-dmi-quirks.c | 44 0xdb, 0x01, /* Length of report descriptor */ 45 0x21, 0x00, /* Location of report descriptor */ 46 0x24, 0x00, /* Location of input report */ 47 0x1b, 0x00, /* Max input report length */ 48 0x25, 0x00, /* Location of output report */ 49 0x11, 0x00, /* Max output report length */ 62 0x85, 0x01, /* Report ID (1), */ 69 0x75, 0x01, /* Report Size (1), */ 70 0x95, 0x02, /* Report Count (2), */ 72 0x95, 0x06, /* Report Count (6), */ [all …]
|
/linux/tools/perf/ |
H A D | builtin-report.c | 3 * 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.sort_order\n"); in report__config() [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | Huion__Dial-2.bpf.c | 30 * hid report to report everything instead. 44 * Default report descriptor for the first exposed hidraw node: 50 * # 0x85, 0x08, // Report ID (8) 7 51 * # 0x75, 0x58, // Report Size (88) 9 52 * # 0x95, 0x01, // Report Count (1) 11 65 * # Report descriptor length: 93 bytes 70 * # 0x85, 0x0a, // Report ID (10) 6 79 * # 0x75, 0x01, // Report Size (1) 24 80 * # 0x95, 0x06, // Report Count (6) 26 83 * # 0x75, 0x01, // Report Size (1) 32 [all …]
|
H A D | Huion__Kamvas-Pro-19.bpf.c | 24 * We need to amend the report descriptor for the following: 26 * - the third button is reported through Invert, and we need some room to report it. 33 0x85, 0x0a, // Report ID (10) 6 43 0x75, 0x01, // Report Size (1) 26 44 0x95, 0x05, // Report Count (5) 28 /* changed (was 5) */ 48 0x95, 0x01, // Report Count (1) /* inserted */ 52 0x75, 0x01, // Report Size (1) 34 53 0x95, 0x01, // Report Count (1) 36 64 0x75, 0x10, // Report Size (16) 60 65 0x95, 0x02, // Report Count (2) 62 [all …]
|
H A D | FR-TEC__Raptor-Mach-2.bpf.c | 18 * For reference, this is the fixed report descriptor 25 * 0x85, 0x01, // Report ID (1) 8 28 * 0x75, 0x10, // Report Size (16) 14 29 * 0x95, 0x01, // Report Count (1) 16 36 * 0x75, 0x10, // Report Size (16) 32 37 * 0x95, 0x01, // Report Count (1) 34 44 * 0x75, 0x10, // Report Size (16) 50 45 * 0x95, 0x01, // Report Count (1) 52 52 * 0x75, 0x10, // Report Size (16) 68 53 * 0x95, 0x01, // Report Count (1) 70 [all …]
|
/linux/include/linux/ |
H A D | tsm.h | 19 * struct tsm_desc - option descriptor for generating tsm report blobs 23 * @service_provider: optional name of where to obtain the tsm report blob 37 * struct tsm_report - track state of report generation relative to options 42 * @auxblob: (optional) auxiliary data to the report (e.g. certificate data) 44 * @manifestblob: (optional) manifest data associated with the report 57 * enum tsm_attr_index - index used to reference report attributes 58 * @TSM_REPORT_GENERATION: index of the report generation number attribute 77 * enum tsm_bin_attr_index - index used to reference binary report attributes 78 * @TSM_REPORT_INBLOB: index of the binary report input attribute 79 * @TSM_REPORT_OUTBLOB: index of the binary report output attribute [all …]
|