/linux-master/drivers/hid/ |
H A D | hid-apple.c | 543 static int apple_event(struct hid_device *hdev, struct hid_field *field, argument 548 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || 554 input_event_with_scancode(field->hidinput->input, usage->type, 560 hidinput_apple_event(hdev, field->hidinput->input, 670 struct hid_field *field, struct hid_usage *usage, 691 struct hid_field *field, struct hid_usage *usage, 734 hid = report->field[i]->usage->hid; 669 apple_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 690 apple_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-appleir.c | 275 struct hid_input *hi, struct hid_field *field, 274 appleir_input_mapping(struct hid_device *hid, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-asus.c | 311 static int asus_event(struct hid_device *hdev, struct hid_field *field, argument 848 struct hid_input *hi, struct hid_field *field, 867 (field->application == (HID_UP_GENDESK | 0x0080) || 868 field->application == HID_GD_MOUSE || 847 asus_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-axff.c | 49 for (j = 0; j < report->field[i]->report_count; j++) { 50 report->field[i]->value[j] = 87 for (j = 0; j < report->field[i]->report_count; j++) { 88 report->field[i]->value[j] = 0x00;
|
H A D | hid-betopff.c | 47 betopff->report->field[2]->value[0] = left / 256; 48 betopff->report->field[3]->value[0] = right / 256; 94 if (report->field[i]->report_count < 1) { 95 hid_err(hid, "no values in the field\n"); 98 for (j = 0; j < report->field[i]->report_count; j++) { 99 report->field[i]->value[j] = 0x00;
|
H A D | hid-bigbenff.c | 202 struct hid_field *report_field = bigben->report->field[0];
|
H A D | hid-chicony.c | 34 input = report->field[0]->hidinput->input; 60 struct hid_field *field, struct hid_usage *usage, 59 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-cmedia.c | 137 struct hid_input *hi, struct hid_field *field, 136 cmhid_input_mapping(struct hid_device *hid, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-core.c | 86 * Register a new field for this report. 91 struct hid_field *field; local 98 field = kzalloc((sizeof(struct hid_field) + 101 if (!field) 104 field->index = report->maxfield++; 105 report->field[field->index] = field; 106 field->usage = (struct hid_usage *)(field 258 struct hid_field *field; local 1066 hid_apply_multiplier_to_field(struct hid_device *hid, struct hid_field *field, struct hid_collection *multiplier_collection, int effective_multiplier) argument 1101 struct hid_field *field; local 1521 hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, int interrupt) argument 1549 hid_array_value_is_valid(struct hid_field *field, __s32 value) argument 1568 hid_input_fetch_field(struct hid_device *hid, struct hid_field *field, __u8 *data) argument 1604 hid_input_var_field(struct hid_device *hid, struct hid_field *field, int interrupt) argument 1627 hid_input_array_field(struct hid_device *hid, struct hid_field *field, int interrupt) argument 1675 struct hid_field *field; local 1726 __hid_insert_field_entry(struct hid_device *hid, struct hid_report *report, struct hid_field_entry *entry, struct hid_field *field, unsigned int usage_index) argument 1759 struct hid_field *field; local 1820 hid_output_field(const struct hid_device *hid, struct hid_field *field, __u8 *data) argument 1889 hid_set_field(struct hid_field *field, unsigned offset, __s32 value) argument [all...] |
H A D | hid-corsair.c | 605 static int corsair_event(struct hid_device *dev, struct hid_field *field, argument 629 struct hid_field *field, 627 corsair_input_mapping(struct hid_device *dev, struct hid_input *input, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-creative-sb0540.c | 210 struct hid_input *hi, struct hid_field *field, 209 creative_sb0540_input_mapping(struct hid_device *hid, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-cypress.c | 84 struct hid_field *field, struct hid_usage *usage, 100 static int cp_event(struct hid_device *hdev, struct hid_field *field, argument 105 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || 119 struct input_dev *input = field->hidinput->input; 83 cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-debug.c | 559 void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) { argument 562 if (field->physical) { 565 hid_resolv_usage(field->physical, f); seq_printf(f, ")\n"); 567 if (field->logical) { 570 hid_resolv_usage(field->logical, f); seq_printf(f, ")\n"); 572 if (field->application) { 575 hid_resolv_usage(field->application, f); seq_printf(f, ")\n"); 577 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); 578 for (j = 0; j < field->maxusage; j++) { 579 tab(n+2, f); hid_resolv_usage(field [all...] |
H A D | hid-dr.c | 53 drff->report->field[0]->value[0] = 0x51; 54 drff->report->field[0]->value[1] = 0x00; 55 drff->report->field[0]->value[2] = weak; 56 drff->report->field[0]->value[4] = strong; 59 drff->report->field[0]->value[0] = 0xfa; 60 drff->report->field[0]->value[1] = 0xfe; 62 drff->report->field[0]->value[0] = 0xf3; 63 drff->report->field[0]->value[1] = 0x00; 66 drff->report->field[0]->value[2] = 0x00; 67 drff->report->field[ 248 dr_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument [all...] |
H A D | hid-elan.c | 64 struct hid_field *field, struct hid_usage *usage, 70 if (field->report->id == ELAN_SINGLE_FINGER || 71 field->report->id == ELAN_MT_FIRST_FINGER || 72 field->report->id == ELAN_MT_SECOND_FINGER || 73 field->report->id == ELAN_MT_I2C) 63 elan_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-emsff.c | 37 emsff->report->field[0]->value[1] = weak; 38 emsff->report->field[0]->value[2] = strong; 74 if (report->field[0]->report_count < 7) { 75 hid_err(hid, "not enough values in the field\n"); 92 emsff->report->field[0]->value[0] = 0x01; 93 emsff->report->field[0]->value[1] = 0x00; 94 emsff->report->field[0]->value[2] = 0x00; 95 emsff->report->field[0]->value[3] = 0x00; 96 emsff->report->field[0]->value[4] = 0x00; 97 emsff->report->field[ [all...] |
H A D | hid-evision.c | 18 struct hid_field *field, struct hid_usage *usage, 17 evision_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-ft260.c | 821 u8 *field, u8 *buf) 829 return scnprintf(buf, PAGE_SIZE, "%d\n", *field); 833 __le16 *field, u8 *buf) 841 return scnprintf(buf, PAGE_SIZE, "%d\n", le16_to_cpu(*field)); 850 type *field = &rep.name; \ 853 return func(hdev, id, (u8 *)&rep, len, field, buf); \ 820 ft260_byte_show(struct hid_device *hdev, int id, u8 *cfg, int len, u8 *field, u8 *buf) argument 832 ft260_word_show(struct hid_device *hdev, int id, u8 *cfg, int len, __le16 *field, u8 *buf) argument
|
H A D | hid-gaff.c | 44 gaff->report->field[0]->value[0] = 0x51; 45 gaff->report->field[0]->value[1] = 0x0; 46 gaff->report->field[0]->value[2] = right; 47 gaff->report->field[0]->value[3] = 0; 48 gaff->report->field[0]->value[4] = left; 49 gaff->report->field[0]->value[5] = 0; 53 gaff->report->field[0]->value[0] = 0xfa; 54 gaff->report->field[0]->value[1] = 0xfe; 55 gaff->report->field[0]->value[2] = 0x0; 56 gaff->report->field[ [all...] |
H A D | hid-gfrm.c | 28 struct hid_field *field, struct hid_usage *usage, 27 gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-google-hammer.c | 372 struct hid_field *field, 411 static int hammer_event(struct hid_device *hid, struct hid_field *field, argument 434 struct hid_field *field = report->field[i]; local 436 for (j = 0; j < field->maxusage; j++) 437 if (field->usage[j].hid == usage) 483 struct hid_field *field = report->field[a]; local 485 if (field->usage->hid == HID_USAGE_KBD_FOLDED) { 487 field 371 hammer_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument [all...] |
H A D | hid-google-stadiaff.c | 31 struct hid_field *rumble_field = stadiaff->report->field[0];
|
H A D | hid-holtekff.c | 72 struct hid_field *field; member in struct:holtekff_device 82 holtekff->field->value[i] = data[i]; 87 hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); 147 if (report->maxfield < 1 || report->field[0]->report_count != 7) { 158 holtekff->field = report->field[0];
|
H A D | hid-input.c | 143 for (j = 0; j < report->field[i]->maxusage; j++) { 144 usage = report->field[i]->usage + j; 233 * @field: the HID report field to calculate resolution for 246 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) argument 248 __s32 unit_exponent = field->unit_exponent; 249 __s32 logical_extents = field->logical_maximum - 250 field->logical_minimum; 251 __s32 physical_extents = field->physical_maximum - 252 field 523 hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *field, bool is_percentage) argument 658 hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *field, bool is_percentage) argument 679 hidinput_field_in_collection(struct hid_device *device, struct hid_field *field, unsigned int type, unsigned int usage) argument 689 hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, struct hid_usage *usage, unsigned int usage_index) argument 1525 hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 1754 hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field) argument 1774 struct hid_field *field; local 1794 struct hid_field *field; local 1817 struct hid_field *field; local 1865 struct hid_field *field; local 2218 struct hid_field *field; local [all...] |
H A D | hid-ite.c | 42 struct hid_input *hi, struct hid_field *field, 67 static int ite_event(struct hid_device *hdev, struct hid_field *field, argument 72 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) 75 input = field->hidinput->input; 41 ite_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|