/linux-4.19.296/drivers/hid/ |
D | hid-lg2ff.c | 31 struct hid_report *report; member 48 lg2ff->report->field[0]->value[0] = 0x51; in play_effect() 49 lg2ff->report->field[0]->value[2] = weak; in play_effect() 50 lg2ff->report->field[0]->value[4] = strong; in play_effect() 52 lg2ff->report->field[0]->value[0] = 0xf3; in play_effect() 53 lg2ff->report->field[0]->value[2] = 0x00; in play_effect() 54 lg2ff->report->field[0]->value[4] = 0x00; in play_effect() 57 hid_hw_request(hid, lg2ff->report, HID_REQ_SET_REPORT); in play_effect() 64 struct hid_report *report; in lg2ff_init() local 77 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, 0, 7); in lg2ff_init() [all …]
|
D | hid-gaff.c | 39 struct hid_report *report; member 57 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play() 58 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play() 59 gaff->report->field[0]->value[2] = right; in hid_gaff_play() 60 gaff->report->field[0]->value[3] = 0; in hid_gaff_play() 61 gaff->report->field[0]->value[4] = left; in hid_gaff_play() 62 gaff->report->field[0]->value[5] = 0; in hid_gaff_play() 64 hid_hw_request(hid, gaff->report, HID_REQ_SET_REPORT); in hid_gaff_play() 66 gaff->report->field[0]->value[0] = 0xfa; in hid_gaff_play() 67 gaff->report->field[0]->value[1] = 0xfe; in hid_gaff_play() [all …]
|
D | hid-dr.c | 40 struct hid_report *report; member 65 drff->report->field[0]->value[0] = 0x51; in drff_play() 66 drff->report->field[0]->value[1] = 0x00; in drff_play() 67 drff->report->field[0]->value[2] = weak; in drff_play() 68 drff->report->field[0]->value[4] = strong; in drff_play() 69 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); in drff_play() 71 drff->report->field[0]->value[0] = 0xfa; in drff_play() 72 drff->report->field[0]->value[1] = 0xfe; in drff_play() 74 drff->report->field[0]->value[0] = 0xf3; in drff_play() 75 drff->report->field[0]->value[1] = 0x00; in drff_play() [all …]
|
D | hid-lg3ff.c | 57 struct hid_report *report; member 65 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_play() local 72 memset(report->field[0]->value, 0, in hid_lg3ff_play() 73 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play() 85 report->field[0]->value[0] = 0x51; in hid_lg3ff_play() 91 report->field[0]->value[1] = (unsigned char)(-x); in hid_lg3ff_play() 92 report->field[0]->value[31] = (unsigned char)(-y); in hid_lg3ff_play() 94 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lg3ff_play() 103 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_set_autocenter() local 110 report->field[0]->value[0] = 0x51; in hid_lg3ff_set_autocenter() [all …]
|
D | hid-pl.c | 53 struct hid_report *report; member 76 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); in hid_plff_play() 84 struct hid_report *report; in plff_init() local 122 report = list_entry(report_ptr, struct hid_report, list); in plff_init() 123 if (report->maxfield < 1) { in plff_init() 129 if (report->field[0]->report_count >= 4) { in plff_init() 130 report->field[0]->value[0] = 0x00; in plff_init() 131 report->field[0]->value[1] = 0x00; in plff_init() 132 strong = &report->field[0]->value[2]; in plff_init() 133 weak = &report->field[0]->value[3]; in plff_init() [all …]
|
D | hid-emsff.c | 31 struct hid_report *report; member 49 emsff->report->field[0]->value[1] = weak; in emsff_play() 50 emsff->report->field[0]->value[2] = strong; in emsff_play() 53 hid_hw_request(hid, emsff->report, HID_REQ_SET_REPORT); in emsff_play() 61 struct hid_report *report; in emsff_init() local 80 report = list_first_entry(report_list, struct hid_report, list); in emsff_init() 81 if (report->maxfield < 1) { in emsff_init() 86 if (report->field[0]->report_count < 7) { in emsff_init() 103 emsff->report = report; in emsff_init() 104 emsff->report->field[0]->value[0] = 0x01; in emsff_init() [all …]
|
D | hid-betopff.c | 37 struct hid_report *report; member 50 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play() 51 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play() 53 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in hid_betopff_play() 61 struct hid_report *report; in betopff_init() local 82 report = list_first_entry(report_list, struct hid_report, list); in betopff_init() 91 if (report->maxfield < 4) { in betopff_init() 93 report->maxfield); in betopff_init() 96 for (i = 0; i < report->maxfield; i++) { in betopff_init() 97 if (report->field[i]->report_count < 1) { in betopff_init() [all …]
|
D | hid-zpff.c | 34 struct hid_report *report; member 57 zpff->report->field[2]->value[0] = left; in zpff_play() 58 zpff->report->field[3]->value[0] = right; in zpff_play() 60 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); in zpff_play() 68 struct hid_report *report; in zpff_init() local 81 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, i, 1); in zpff_init() 82 if (!report) in zpff_init() 98 zpff->report = report; in zpff_init() 99 zpff->report->field[0]->value[0] = 0x00; in zpff_init() 100 zpff->report->field[1]->value[0] = 0x02; in zpff_init() [all …]
|
D | hid-sensor-hub.c | 72 struct hid_report *report; in sensor_hub_report() local 74 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report() 75 if (report->id == id) in sensor_hub_report() 76 return report; in sensor_hub_report() 207 struct hid_report *report; in sensor_hub_set_feature() local 216 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature() 217 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature() 226 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 237 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 242 hid_hw_request(hsdev->hdev, report, HID_REQ_SET_REPORT); in sensor_hub_set_feature() [all …]
|
D | hid-axff.c | 40 struct hid_report *report; member 47 struct hid_report *report = axff->report; in axff_play() local 60 for (i = 0; i < report->maxfield; i++) { in axff_play() 61 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play() 62 report->field[i]->value[j] = in axff_play() 69 hid_hw_request(hid, axff->report, HID_REQ_SET_REPORT); in axff_play() 77 struct hid_report *report; in axff_init() local 97 report = list_first_entry(report_list, struct hid_report, list); in axff_init() 98 for (i = 0; i < report->maxfield; i++) { in axff_init() 99 for (j = 0; j < report->field[i]->report_count; j++) { in axff_init() [all …]
|
D | hid-picolcd_lcd.c | 39 struct hid_report *report = picolcd_out_report(REPORT_CONTRAST, data->hdev); in picolcd_set_contrast() local 42 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast() 47 hid_set_field(report->field[0], 0, data->lcd_contrast); in picolcd_set_contrast() 49 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_contrast() 65 int picolcd_init_lcd(struct picolcd_data *data, struct hid_report *report) in picolcd_init_lcd() argument 70 if (!report) in picolcd_init_lcd() 72 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd() 73 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
D | hid-sjoy.c | 38 struct hid_report *report; member 55 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play() 56 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play() 58 hid_hw_request(hid, sjoyff->report, HID_REQ_SET_REPORT); in hid_sjoyff_play() 66 struct hid_report *report; in sjoyff_init() local 87 report = list_entry(report_ptr, struct hid_report, list); in sjoyff_init() 88 if (report->maxfield < 1) { in sjoyff_init() 93 if (report->field[0]->report_count < 3) { in sjoyff_init() 112 sjoyff->report = report; in sjoyff_init() 113 sjoyff->report->field[0]->value[0] = 0x01; in sjoyff_init() [all …]
|
D | hid-cp2112.c | 80 u8 report; /* CP2112_SMBUS_CONFIG */ member 91 u8 report; /* CP2112_USB_CONFIG */ member 104 u8 report; /* CP2112_DATA_READ_REQUEST */ member 110 u8 report; /* CP2112_DATA_WRITE_READ_REQUEST */ member 118 u8 report; /* CP2112_DATA_WRITE_REQUEST */ member 125 u8 report; /* CP2112_DATA_READ_FORCE_SEND */ member 130 u8 report; /* CP2112_TRANSFER_STATUS_RESPONSE */ member 139 u8 report; /* CP2112_*_STRING */ member 413 struct cp2112_force_read_report report; in cp2112_read() local 418 report.report = CP2112_DATA_READ_FORCE_SEND; in cp2112_read() [all …]
|
D | hid-mf.c | 39 struct hid_report *report; member 58 mf->report->field[0]->value[0] = weak; in mf_play() 59 mf->report->field[0]->value[1] = strong; in mf_play() 60 hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT); in mf_play() 73 struct hid_report *report; in mf_init() local 84 report = list_entry(report_ptr, struct hid_report, list); in mf_init() 86 if (report->maxfield < 1 || report->field[0]->report_count < 2) { in mf_init() 112 mf->report = report; in mf_init() 113 mf->report->field[0]->value[0] = 0x00; in mf_init() 114 mf->report->field[0]->value[1] = 0x00; in mf_init() [all …]
|
D | hid-lgff.c | 73 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play() local 85 report->field[0]->value[0] = 0x51; in hid_lgff_play() 86 report->field[0]->value[1] = 0x08; in hid_lgff_play() 87 report->field[0]->value[2] = x; in hid_lgff_play() 88 report->field[0]->value[3] = y; in hid_lgff_play() 90 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lgff_play() 100 report->field[0]->value[0] = 0x42; in hid_lgff_play() 101 report->field[0]->value[1] = 0x00; in hid_lgff_play() 102 report->field[0]->value[2] = left; in hid_lgff_play() 103 report->field[0]->value[3] = right; in hid_lgff_play() [all …]
|
D | hid-picolcd_core.c | 65 struct hid_report *report = NULL; in picolcd_report() local 67 list_for_each_entry(report, feature_report_list, list) { in picolcd_report() 68 if (report->id == id) in picolcd_report() 69 return report; in picolcd_report() 82 struct hid_report *report = picolcd_out_report(report_id, hdev); in picolcd_send_and_wait() local 86 if (!report || !data) in picolcd_send_and_wait() 95 work->out_report = report; in picolcd_send_and_wait() 101 for (i = k = 0; i < report->maxfield; i++) in picolcd_send_and_wait() 102 for (j = 0; j < report->field[i]->report_count; j++) { in picolcd_send_and_wait() 103 hid_set_field(report->field[i], j, k < size ? raw_data[k] : 0); in picolcd_send_and_wait() [all …]
|
D | hid-picolcd_backlight.c | 36 struct hid_report *report = picolcd_out_report(REPORT_BRIGHTNESS, data->hdev); in picolcd_set_brightness() local 39 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness() 45 hid_set_field(report->field[0], 0, data->lcd_power == FB_BLANK_UNBLANK ? data->lcd_brightness : 0); in picolcd_set_brightness() 47 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_brightness() 63 int picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) in picolcd_init_backlight() argument 68 if (!report) in picolcd_init_backlight() 70 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight() 71 report->field[0]->report_size != 8) { in picolcd_init_backlight()
|
D | hid-picolcd_leds.c | 44 struct hid_report *report; in picolcd_leds_set() local 49 report = picolcd_out_report(REPORT_LED_STATE, data->hdev); in picolcd_leds_set() 50 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set() 54 hid_set_field(report->field[0], 0, data->led_state); in picolcd_leds_set() 56 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_leds_set() 106 int picolcd_init_leds(struct picolcd_data *data, struct hid_report *report) in picolcd_init_leds() argument 114 if (!report) in picolcd_init_leds() 116 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_leds() 117 report->field[0]->report_size != 8) { in picolcd_init_leds()
|
D | hid-picolcd.h | 144 struct hid_device *hdev, struct hid_report *report); 152 struct hid_device *hdev, struct hid_report *report, 163 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report() argument 167 struct hid_device *hdev, struct hid_report *report, in picolcd_debug_raw_event() argument 213 struct hid_report *report); 222 struct hid_report *report) in picolcd_init_backlight() argument 242 struct hid_report *report); 249 struct hid_report *report) in picolcd_init_lcd() argument 265 struct hid_report *report); 272 struct hid_report *report) in picolcd_init_leds() argument [all …]
|
D | hid-core.c | 65 struct hid_report *report; in hid_register_report() local 72 report = kzalloc(sizeof(struct hid_report), GFP_KERNEL); in hid_register_report() 73 if (!report) in hid_register_report() 79 report->id = id; in hid_register_report() 80 report->type = type; in hid_register_report() 81 report->size = 0; in hid_register_report() 82 report->device = device; in hid_register_report() 83 report->application = application; in hid_register_report() 84 report_enum->report_id_hash[id] = report; in hid_register_report() 86 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report() [all …]
|
D | hid-tmff.c | 55 struct hid_report *report; member 107 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play() 128 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play() 137 struct hid_report *report; in tmff_init() local 157 list_for_each_entry(report, report_list, list) { in tmff_init() 160 for (fieldnum = 0; fieldnum < report->maxfield; ++fieldnum) { in tmff_init() 161 struct hid_field *field = report->field[fieldnum]; in tmff_init() 179 if (tmff->report && tmff->report != report) { in tmff_init() 189 tmff->report = report; in tmff_init() 205 if (!tmff->report) { in tmff_init()
|
D | hid-picolcd_debugfs.c | 395 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report() argument 398 int raw_size = (report->size >> 3) + 1; in picolcd_debug_out_report() 410 raw_data = hid_alloc_report_buf(report, GFP_ATOMIC); in picolcd_debug_out_report() 417 report->id, raw_size); in picolcd_debug_out_report() 419 raw_data[0] = report->id; in picolcd_debug_out_report() 420 hid_output_report(report, raw_data); in picolcd_debug_out_report() 424 switch (report->id) { in picolcd_debug_out_report() 428 "REPORT_LED_STATE", report->id, raw_size-1); in picolcd_debug_out_report() 436 "REPORT_BRIGHTNESS", report->id, raw_size-1); in picolcd_debug_out_report() 444 "REPORT_CONTRAST", report->id, raw_size-1); in picolcd_debug_out_report() [all …]
|
/linux-4.19.296/drivers/s390/char/ |
D | sclp_pci.c | 109 static int sclp_pci_check_report(struct zpci_report_error_header *report) in sclp_pci_check_report() argument 111 if (report->version != 1) in sclp_pci_check_report() 114 if (report->action != SCLP_ERRNOTIFY_AQ_REPAIR && in sclp_pci_check_report() 115 report->action != SCLP_ERRNOTIFY_AQ_INFO_LOG) in sclp_pci_check_report() 118 if (report->length > (PAGE_SIZE - sizeof(struct err_notify_sccb))) in sclp_pci_check_report() 124 int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid) in sclp_pci_report() argument 131 ret = sclp_pci_check_report(report); in sclp_pci_report() 158 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report() 162 sccb->evbuf.action = report->action; in sclp_pci_report() 167 memcpy(sccb->evbuf.data, report->data, report->length); in sclp_pci_report()
|
/linux-4.19.296/drivers/hid/usbhid/ |
D | hiddev.c | 74 struct hid_report *report; in hiddev_lookup_report() local 93 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report() 94 rinfo->report_id = report->id; in hiddev_lookup_report() 98 report = report_enum->report_id_hash[rid]; in hiddev_lookup_report() 99 if (!report) in hiddev_lookup_report() 102 list = report->list.next; in hiddev_lookup_report() 106 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report() 107 rinfo->report_id = report->id; in hiddev_lookup_report() 125 struct hid_report *report; in hiddev_lookup_usage() local 136 list_for_each_entry(report, &report_enum->report_list, list) { in hiddev_lookup_usage() [all …]
|
/linux-4.19.296/include/net/netfilter/ |
D | nf_conntrack_ecache.h | 71 int report; member 85 u32 portid, int report); 105 u32 portid, int report) in nf_conntrack_event_report() argument 112 return nf_conntrack_eventmask_report(1 << event, ct, portid, report); in nf_conntrack_event_report() 129 int report; member 143 u32 portid, int report); 172 int report) { return 0; } in nf_conntrack_eventmask_report() argument 178 int report) { return 0; } in nf_conntrack_event_report() argument 183 int report) {} in nf_ct_expect_event_report() argument
|