Lines Matching refs:field

170 		struct hid_input *hi, struct hid_field *field,  in lenovo_input_mapping_tpkbd()  argument
183 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_cptkbd() argument
237 field->flags |= HID_MAIN_ITEM_RELATIVE | HID_MAIN_ITEM_VARIABLE; in lenovo_input_mapping_cptkbd()
238 field->logical_minimum = -127; in lenovo_input_mapping_cptkbd()
239 field->logical_maximum = 127; in lenovo_input_mapping_cptkbd()
257 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_tpIIkbd() argument
268 field->report->id == 5) { in lenovo_input_mapping_tpIIkbd()
312 field->report->id == 21) { in lenovo_input_mapping_tpIIkbd()
332 field->flags |= HID_MAIN_ITEM_RELATIVE | HID_MAIN_ITEM_VARIABLE; in lenovo_input_mapping_tpIIkbd()
333 field->logical_minimum = -127; in lenovo_input_mapping_tpIIkbd()
334 field->logical_maximum = 127; in lenovo_input_mapping_tpIIkbd()
352 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_scrollpoint() argument
363 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_tp10_ultrabook_kbd() argument
401 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_x1_tab_kbd() argument
449 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping() argument
454 return lenovo_input_mapping_tpkbd(hdev, hi, field, in lenovo_input_mapping()
458 return lenovo_input_mapping_cptkbd(hdev, hi, field, in lenovo_input_mapping()
462 return lenovo_input_mapping_tpIIkbd(hdev, hi, field, in lenovo_input_mapping()
470 return lenovo_input_mapping_scrollpoint(hdev, hi, field, in lenovo_input_mapping()
473 return lenovo_input_mapping_tp10_ultrabook_kbd(hdev, hi, field, in lenovo_input_mapping()
476 return lenovo_input_mapping_x1_tab_kbd(hdev, hi, field, usage, bit, max); in lenovo_input_mapping()
703 struct hid_field *field, struct hid_usage *usage, __s32 value) in lenovo_event_tp10ubkbd() argument
721 struct hid_field *field, struct hid_usage *usage, __s32 value) in lenovo_event_cptkbd() argument
741 input_event(field->hidinput->input, in lenovo_event_cptkbd()
743 input_sync(field->hidinput->input); in lenovo_event_cptkbd()
744 input_event(field->hidinput->input, in lenovo_event_cptkbd()
746 input_sync(field->hidinput->input); in lenovo_event_cptkbd()
766 static int lenovo_event(struct hid_device *hdev, struct hid_field *field, in lenovo_event() argument
777 return lenovo_event_cptkbd(hdev, field, usage, value); in lenovo_event()
780 return lenovo_event_tp10ubkbd(hdev, field, usage, value); in lenovo_event()
793 report->field[0]->value[0] = data_pointer->press_to_select ? 0x01 : 0x02; in lenovo_features_set_tpkbd()
794 report->field[0]->value[0] |= data_pointer->dragging ? 0x04 : 0x08; in lenovo_features_set_tpkbd()
795 report->field[0]->value[0] |= data_pointer->release_to_select ? 0x10 : 0x20; in lenovo_features_set_tpkbd()
796 report->field[0]->value[0] |= data_pointer->select_right ? 0x80 : 0x40; in lenovo_features_set_tpkbd()
797 report->field[1]->value[0] = 0x03; // unknown setting, imitate windows driver in lenovo_features_set_tpkbd()
798 report->field[2]->value[0] = data_pointer->sensitivity; in lenovo_features_set_tpkbd()
799 report->field[3]->value[0] = data_pointer->press_speed; in lenovo_features_set_tpkbd()
1033 report->field[0]->value[0] = (data_pointer->led_state >> 0) & 1; in lenovo_led_set_tpkbd()
1034 report->field[0]->value[1] = (data_pointer->led_state >> 1) & 1; in lenovo_led_set_tpkbd()