/kernel/linux/linux-5.10/drivers/mfd/ |
D | si476x-cmd.c | 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() 771 report->rssiready = 0x08 & resp[2]; in si476x_core_cmd_am_rsq_status() 772 report->afcrl = 0x02 & resp[2]; in si476x_core_cmd_am_rsq_status() [all …]
|
/kernel/linux/linux-5.10/drivers/hid/ |
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 65 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, 0, 7); in lg2ff_init() [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-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-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 110 report = list_entry(report_ptr, struct hid_report, list); in plff_init() 111 if (report->maxfield < 1) { in plff_init() 117 if (report->field[0]->report_count >= 4) { in plff_init() 118 report->field[0]->value[0] = 0x00; in plff_init() 119 report->field[0]->value[1] = 0x00; in plff_init() 120 strong = &report->field[0]->value[2]; in plff_init() 121 weak = &report->field[0]->value[3]; in plff_init() [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() 74 if (report->field[0]->report_count < 7) { in emsff_init() 91 emsff->report = report; in emsff_init() 92 emsff->report->field[0]->value[0] = 0x01; in emsff_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() 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 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 224 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 229 hid_hw_request(hsdev->hdev, report, HID_REQ_SET_REPORT); in sensor_hub_set_feature() [all …]
|
D | hid-zpff.c | 22 struct hid_report *report; member 45 zpff->report->field[2]->value[0] = left; in zpff_play() 46 zpff->report->field[3]->value[0] = right; in zpff_play() 48 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); in zpff_play() 56 struct hid_report *report; in zpff_init() local 69 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, i, 1); in zpff_init() 70 if (!report) in zpff_init() 86 zpff->report = report; in zpff_init() 87 zpff->report->field[0]->value[0] = 0x00; in zpff_init() 88 zpff->report->field[1]->value[0] = 0x02; in zpff_init() [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 407 struct cp2112_force_read_report report; in cp2112_read() local 412 report.report = CP2112_DATA_READ_FORCE_SEND; in cp2112_read() [all …]
|
D | hid-axff.c | 28 struct hid_report *report; member 35 struct hid_report *report = axff->report; in axff_play() local 48 for (i = 0; i < report->maxfield; i++) { in axff_play() 49 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play() 50 report->field[i]->value[j] = in axff_play() 57 hid_hw_request(hid, axff->report, HID_REQ_SET_REPORT); in axff_play() 65 struct hid_report *report; in axff_init() local 85 report = list_first_entry(report_list, struct hid_report, list); in axff_init() 86 for (i = 0; i < report->maxfield; i++) { in axff_init() 87 for (j = 0; j < report->field[i]->report_count; j++) { in axff_init() [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 75 report = list_entry(report_ptr, struct hid_report, list); in sjoyff_init() 76 if (report->maxfield < 1) { in sjoyff_init() 81 if (report->field[0]->report_count < 3) { in sjoyff_init() 100 sjoyff->report = report; in sjoyff_init() 101 sjoyff->report->field[0]->value[0] = 0x01; in sjoyff_init() [all …]
|
D | hid-picolcd_lcd.c | 29 struct hid_report *report = picolcd_out_report(REPORT_CONTRAST, data->hdev); in picolcd_set_contrast() local 32 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast() 37 hid_set_field(report->field[0], 0, data->lcd_contrast); in picolcd_set_contrast() 39 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_contrast() 55 int picolcd_init_lcd(struct picolcd_data *data, struct hid_report *report) in picolcd_init_lcd() argument 60 if (!report) in picolcd_init_lcd() 62 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd() 63 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
D | hid-lgff.c | 61 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play() local 73 report->field[0]->value[0] = 0x51; in hid_lgff_play() 74 report->field[0]->value[1] = 0x08; in hid_lgff_play() 75 report->field[0]->value[2] = x; in hid_lgff_play() 76 report->field[0]->value[3] = y; in hid_lgff_play() 78 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lgff_play() 88 report->field[0]->value[0] = 0x42; in hid_lgff_play() 89 report->field[0]->value[1] = 0x00; in hid_lgff_play() 90 report->field[0]->value[2] = left; in hid_lgff_play() 91 report->field[0]->value[3] = right; in hid_lgff_play() [all …]
|
D | hid-mf.c | 31 struct hid_report *report; member 50 mf->report->field[0]->value[0] = weak; in mf_play() 51 mf->report->field[0]->value[1] = strong; in mf_play() 52 hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT); in mf_play() 65 struct hid_report *report; in mf_init() local 76 report = list_entry(report_ptr, struct hid_report, list); in mf_init() 78 if (report->maxfield < 1 || report->field[0]->report_count < 2) { in mf_init() 104 mf->report = report; in mf_init() 105 mf->report->field[0]->value[0] = 0x00; in mf_init() 106 mf->report->field[0]->value[1] = 0x00; in mf_init() [all …]
|
D | hid-betopff.c | 34 struct hid_report *report; member 47 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play() 48 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play() 50 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in hid_betopff_play() 58 struct hid_report *report; in betopff_init() local 80 report = list_first_entry(report_list, struct hid_report, list); in betopff_init() 89 for (i = 0; i < report->maxfield; i++) { in betopff_init() 90 for (j = 0; j < report->field[i]->report_count; j++) { in betopff_init() 91 report->field[i]->value[j] = 0x00; in betopff_init() 114 betopff->report = report; in betopff_init() [all …]
|
D | hid-picolcd_core.c | 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() 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() 92 for (i = k = 0; i < report->maxfield; i++) in picolcd_send_and_wait() 93 for (j = 0; j < report->field[i]->report_count; j++) { in picolcd_send_and_wait() 94 hid_set_field(report->field[i], j, k < size ? raw_data[k] : 0); in picolcd_send_and_wait() [all …]
|
D | hid-picolcd_backlight.c | 26 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()
|
D | hid-picolcd_leds.c | 34 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()
|
D | hid-picolcd.h | 134 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 …]
|
D | hid-core.c | 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() 83 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report() [all …]
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-report.c | 70 struct report { struct 112 struct report *rep = cb; in report__config() argument 145 struct report *rep = arg; in hist_iter__report_callback() 188 struct report *rep = arg; in hist_iter__branch_callback() 210 static void setup_forced_leader(struct report *report, in setup_forced_leader() argument 213 if (report->group_set) in setup_forced_leader() 220 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event() 246 struct report *rep = container_of(tool, struct report, tool); in process_sample_event() 320 struct report *rep = container_of(tool, struct report, tool); in process_read_event() 338 static int report__setup_sample_type(struct report *rep) in report__setup_sample_type() [all …]
|
/kernel/linux/linux-5.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() 80 pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ in update_recvframe_attrib_88e() 83 pattrib->pkt_len = (u16)(le32_to_cpu(report.rxdw0) & 0x00003fff);/* u16)prxreport->pktlen; */ in update_recvframe_attrib_88e() [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|