| /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 | 35 0x85, 0x5a, # .Report ID (90) 7 39 0x75, 0x08, # .Report Size (8) 16 40 0x95, 0x10, # .Report Count (16) 18 46 0x85, 0x01, # .Report ID (1) 29 47 0x75, 0x01, # .Report Size (1) 31 48 0x95, 0x08, # .Report Count (8) 33 55 0x95, 0x01, # .Report Count (1) 47 56 0x75, 0x08, # .Report Size (8) 49 58 0x95, 0x05, # .Report Count (5) 53 59 0x75, 0x01, # .Report Size (1) 55 [all …]
|
| /linux/drivers/virt/coco/guest/ |
| H A D | report.c | 23 * DOC: Trusted Security Module (TSM) Attestation Report Interface 25 * The TSM report interface is a common provider of blobs that facilitate 27 * service. A TSM report combines a user-defined blob (likely a public-key with 28 * a nonce for a key-exchange protocol) with a signed attestation report. That 30 * validate the attestation report. The expectation is that this interface is 32 * own their own report generation instances to generate reports as 35 * The attestation report format is TSM provider specific, when / if a standard 42 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 [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 …]
|
| H A D | hidintro.rst | 4 Introduction to HID report descriptors 7 This chapter is meant to give a broad overview of what HID report 36 through the *HID report descriptor*, a fixed set of bytes describing 39 a HID Report Descriptor may specify that "in a report with ID 3 the 42 The HID report itself then merely carries the actual data values 48 The HID subsystem is in charge of parsing the HID report descriptors, 51 HID report descriptor provided by the device is wrong, or because it 55 The format of HID report descriptors is described by two documents, 66 Parsing HID report descriptors 71 one can read the corresponding report descriptor:: [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/drivers/hid/ |
| 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-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-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-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-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-core.c | 84 * Register a new report for a device. 92 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() [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 …]
|
| H A D | hid-lg3ff.c | 49 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 D | hid-kye.c | 29 0x85, 0x12, /* Report ID (18), */ 40 0x75, 0x01, /* Report Size (1), */ 41 0x95, 0x08, /* Report Count (8), */ 43 0x95, 0x30, /* Report Count (48), */ 52 0x85, 0x12, /* Report ID (18), */ 59 0x75, 0x01, /* Report Size (1), */ 60 0x95, 0x04, /* Report Count (4), */ 62 0x95, 0x34, /* Report Count (52), */ 71 0x85, 0x12, /* Report ID (18), */ 78 0x75, 0x01, /* Report Size (1), */ [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/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 then browse context 21 To adjust path to source files to local file system use perf report [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/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 128 struct report *rep = cb; in report__config() argument 130 if (!strcmp(var, "report.group")) { in report__config() 134 if (!strcmp(var, "report.percent-limit")) { in report__config() 141 if (!strcmp(var, "report.children")) { in report__config() 145 if (!strcmp(var, "report.queue-size")) in report__config() 148 if (!strcmp(var, "report.sort_order")) { in report__config() 151 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 97 group_setreport global() argument 98 stitch_lbrreport global() argument 122 block_reportsreport global() argument 123 nr_block_reportsreport global() argument 236 setup_forced_leader(struct report * report,struct evlist * evlist) setup_forced_leader() argument 1325 struct report report = { cmd_report() local [all...] |
| /linux/drivers/hid/bpf/progs/ |
| 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 …]
|
| H A D | XPPen__ACK05.bpf.c | 26 * The pad reports a classic keyboard report descriptor: 28 * Report descriptor length: 102 bytes 32 * 0x85, 0x09, // Report ID (9) 6 40 * 0x95, 0x03, // Report Count (3) 22 41 * 0x75, 0x01, // Report Size (1) 24 43 * 0x95, 0x05, // Report Count (5) 28 49 * 0x95, 0x02, // Report Count (2) 41 50 * 0x75, 0x10, // Report Size (16) 43 55 * 0x95, 0x01, // Report Count (1) 54 56 * 0x75, 0x10, // Report Size (16) 56 [all …]
|
| H A D | Thrustmaster__TCA-Yoke-Boeing.bpf.c | 24 * instead of the whole report descriptor. 25 * For reference, this is the original report descriptor: 30 * 0x85, 0x01, // Report ID (1) 6 37 * 0x75, 0x04, // Report Size (4) 21 38 * 0x95, 0x01, // Report Count (1) 23 46 * 0x75, 0x01, // Report Size (1) 39 47 * 0x95, 0x12, // Report Count (18) 41 49 * 0x95, 0x02, // Report Count (2) 45 60 * 0x75, 0x10, // Report Size (16) 70 61 * 0x95, 0x06, // Report Count (6) 72 [all …]
|
| /linux/include/linux/ |
| H A D | tsm.h | 20 * struct tsm_report_desc - option descriptor for generating tsm report blobs 24 * @service_provider: optional name of where to obtain the tsm report blob 38 * struct tsm_report - track state of report generation relative to options 43 * @auxblob: (optional) auxiliary data to the report (e.g. certificate data) 45 * @manifestblob: (optional) manifest data associated with the report 58 * enum tsm_attr_index - index used to reference report attributes 59 * @TSM_REPORT_GENERATION: index of the report generation number attribute 78 * enum tsm_bin_attr_index - index used to reference binary report attributes 79 * @TSM_REPORT_INBLOB: index of the binary report input attribute 80 * @TSM_REPORT_OUTBLOB: index of the binary report output attribute [all …]
|