/Linux-v5.10/drivers/mfd/ |
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 retured 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-v5.10/drivers/hid/ |
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 …]
|
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 …]
|
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 …]
|
D | hid-uclogic-rdesc.c | 4 * - original and fixed report descriptors 21 /* Fixed WP4030U report descriptor */ 26 0x85, 0x09, /* Report ID (9), */ 29 0x75, 0x01, /* Report Size (1), */ 35 0x95, 0x03, /* Report Count (3), */ 37 0x95, 0x05, /* Report Count (5), */ 39 0x75, 0x10, /* Report Size (16), */ 40 0x95, 0x01, /* Report Count (1), */ 66 /* Fixed WP5540U report descriptor */ 71 0x85, 0x09, /* Report ID (9), */ [all …]
|
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 …]
|
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 …]
|
D | hid-kye.c | 19 /* Original EasyPen i405X report descriptor size */ 22 /* Fixed EasyPen i405X report descriptor */ 27 0x85, 0x05, /* Report ID (5), */ 31 0x75, 0x08, /* Report Size (8), */ 32 0x95, 0x07, /* Report Count (7), */ 38 0x85, 0x10, /* Report ID (16), */ 43 0x75, 0x01, /* Report Size (1), */ 47 0x95, 0x03, /* Report Count (3), */ 49 0x95, 0x04, /* Report Count (4), */ 52 0x95, 0x01, /* Report Count (1), */ [all …]
|
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 …]
|
D | hid-sensor-hub.c | 59 struct hid_report *report; in sensor_hub_report() local 61 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report() 62 if (report->id == id) in sensor_hub_report() 63 return report; in sensor_hub_report() 65 hid_warn(hdev, "No report with id 0x%x found\n", id); in sensor_hub_report() 194 struct hid_report *report; in sensor_hub_set_feature() local 203 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature() 204 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature() 213 hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 221 hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() [all …]
|
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 …]
|
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 …]
|
D | hid-lg3ff.c | 45 struct hid_report *report; member 53 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_play() local 60 memset(report->field[0]->value, 0, in hid_lg3ff_play() 61 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play() 73 report->field[0]->value[0] = 0x51; in hid_lg3ff_play() 79 report->field[0]->value[1] = (unsigned char)(-x); in hid_lg3ff_play() 80 report->field[0]->value[31] = (unsigned char)(-y); in hid_lg3ff_play() 82 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lg3ff_play() 91 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_set_autocenter() local 98 report->field[0]->value[0] = 0x51; in hid_lg3ff_set_autocenter() [all …]
|
D | hid-picolcd_debugfs.c | 360 * Helper code for HID report level dumping/debugging 385 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report() argument 388 int raw_size = (report->size >> 3) + 1; in picolcd_debug_out_report() 400 raw_data = hid_alloc_report_buf(report, GFP_ATOMIC); in picolcd_debug_out_report() 406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", 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() 417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() [all …]
|
D | hid-uclogic-params.h | 46 * Pointer to report descriptor describing the inputs. 51 * Size of the report descriptor. 55 /* Report ID, if reports should be tweaked, zero if not */ 77 * Pointer to report descriptor describing the inputs. 82 * Size of the report descriptor. 87 * Report ID, if reports should be tweaked, zero if not. 92 * encoder, in the report. Cannot point to a 2-bit field crossing a 97 * Offset of the Wacom-style device ID byte in the report, to be set 99 * if no changes to the report should be made. Only valid if "id" is 106 * Tablet interface report parameters. [all …]
|
D | hid-cp2112.c | 73 u8 report; /* CP2112_SMBUS_CONFIG */ member 84 u8 report; /* CP2112_USB_CONFIG */ member 97 u8 report; /* CP2112_DATA_READ_REQUEST */ member 103 u8 report; /* CP2112_DATA_WRITE_READ_REQUEST */ member 111 u8 report; /* CP2112_DATA_WRITE_REQUEST */ member 118 u8 report; /* CP2112_DATA_READ_FORCE_SEND */ member 123 u8 report; /* CP2112_TRANSFER_STATUS_RESPONSE */ member 132 u8 report; /* CP2112_*_STRING */ member 133 u8 length; /* length in bytes of everyting after .report */ 406 struct cp2112_force_read_report report; in cp2112_read() local [all …]
|
D | hid-core.c | 54 * Register a new report for a device. 62 struct hid_report *report; in hid_register_report() local 69 report = kzalloc(sizeof(struct hid_report), GFP_KERNEL); in hid_register_report() 70 if (!report) in hid_register_report() 76 report->id = id; in hid_register_report() 77 report->type = type; in hid_register_report() 78 report->size = 0; in hid_register_report() 79 report->device = device; in hid_register_report() 80 report->application = application; in hid_register_report() 81 report_enum->report_id_hash[id] = report; in hid_register_report() [all …]
|
D | hid-picolcd_core.c | 52 /* Find a given report */ 56 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() 62 hid_warn(hdev, "No report with id 0x%x found\n", id); in picolcd_report() 66 /* Submit a report and wait for a reply from device - if device fades away 73 struct hid_report *report = picolcd_out_report(report_id, hdev); in picolcd_send_and_wait() local 77 if (!report || !data) in picolcd_send_and_wait() 86 work->out_report = report; in picolcd_send_and_wait() [all …]
|
D | hid-sjoy.c | 26 struct hid_report *report; member 43 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play() 44 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play() 46 hid_hw_request(hid, sjoyff->report, HID_REQ_SET_REPORT); in hid_sjoyff_play() 54 struct hid_report *report; in sjoyff_init() local 71 hid_err(hid, "required output report is missing\n"); in sjoyff_init() 75 report = list_entry(report_ptr, struct hid_report, list); in sjoyff_init() 76 if (report->maxfield < 1) { in sjoyff_init() 77 hid_err(hid, "no fields in the report\n"); in sjoyff_init() 81 if (report->field[0]->report_count < 3) { in sjoyff_init() [all …]
|
/Linux-v5.10/Documentation/hid/ |
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 43 read() will read a queued report received from the HID device. On USB 46 a report available to be read. read() can be made non-blocking, by passing 51 will be the report number; the report data follows, beginning in the second 52 byte. For devices which do not use numbered reports, the report data 57 The write() function will write a report to the device. For USB devices, if 58 the device has an INTERRUPT OUT endpoint, the report will be sent on that 59 endpoint. If it does not, the report will be sent over the control endpoint, 62 The first byte of the buffer passed to write() should be set to the report [all …]
|
/Linux-v5.10/tools/perf/Documentation/ |
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 9 Search options using a keyword: perf report -h <keyword> 10 Use parent filter to see specific call path: perf report -p <regex> 14 To see callchains in a more compact form: perf report -g folded 16 Limit to show entries above 5% only: perf report --percent-limit 5 17 Profiling branch (mis)predictions with: perf record -b / perf report 19 Treat branches as callchains: perf report --branch-history 22 If you have debuginfo enabled, try: perf report -s sym,srcline 23 For memory address profiling, try: perf mem record / perf mem report [all …]
|
/Linux-v5.10/drivers/hid/i2c-hid/ |
D | i2c-hid-dmi-quirks.c | 42 0xdb, 0x01, /* Length of report descriptor */ 43 0x21, 0x00, /* Location of report descriptor */ 44 0x24, 0x00, /* Location of input report */ 45 0x1b, 0x00, /* Max input report length */ 46 0x25, 0x00, /* Location of output report */ 47 0x11, 0x00, /* Max output report length */ 60 0x85, 0x01, /* Report ID (1), */ 67 0x75, 0x01, /* Report Size (1), */ 68 0x95, 0x02, /* Report Count (2), */ 70 0x95, 0x06, /* Report Count (6), */ [all …]
|
/Linux-v5.10/tools/perf/ |
D | builtin-report.c | 3 * builtin-report.c 5 * Builtin report command: Analyze the perf.data input file, 70 struct report { struct 112 struct report *rep = cb; in report__config() argument 114 if (!strcmp(var, "report.group")) { in report__config() 118 if (!strcmp(var, "report.percent-limit")) { in report__config() 125 if (!strcmp(var, "report.children")) { in report__config() 129 if (!strcmp(var, "report.queue-size")) in report__config() 132 if (!strcmp(var, "report.sort_order")) { in report__config() 145 struct report *rep = arg; in hist_iter__report_callback() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_rxdesc.c | 65 struct recv_stat report; in update_recvframe_attrib_88e() local 67 report.rxdw0 = prxstat->rxdw0; in update_recvframe_attrib_88e() 68 report.rxdw1 = prxstat->rxdw1; in update_recvframe_attrib_88e() 69 report.rxdw2 = prxstat->rxdw2; in update_recvframe_attrib_88e() 70 report.rxdw3 = prxstat->rxdw3; in update_recvframe_attrib_88e() 71 report.rxdw4 = prxstat->rxdw4; in update_recvframe_attrib_88e() 72 report.rxdw5 = prxstat->rxdw5; in update_recvframe_attrib_88e() 77 pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);/* u8)prxreport->crc32; */ in update_recvframe_attrib_88e() 79 /* update rx report to recv_frame attribute */ in update_recvframe_attrib_88e() 80 pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ in update_recvframe_attrib_88e() [all …]
|
/Linux-v5.10/scripts/coccinelle/api/ |
D | platform_no_drv_owner.cocci | 10 virtual report 26 @fix1 depends on match1 && patch && !context && !org && !report@ 35 @fix1_i2c depends on match1 && patch && !context && !org && !report@ 57 @fix2 depends on match2 && patch && !context && !org && !report@ 66 @fix2_i2c depends on match2 && patch && !context && !org && !report@ 77 @fix1_context depends on match1 && !patch && (context || org || report)@ 88 @fix1_i2c_context depends on match1 && !patch && (context || org || report)@ 99 @fix2_context depends on match2 && !patch && (context || org || report)@ 110 @fix2_i2c_context depends on match2 && !patch && (context || org || report)@ 153 @script:python fix1_report depends on report@ [all …]
|