Home
last modified time | relevance | path

Searched refs:key_code (Results 1 – 13 of 13) sorted by relevance

/drivers/platform/x86/
Dsurfacepro3_button.c74 int key_code = KEY_RESERVED; in surface_button_notify() local
83 key_code = KEY_POWER; in surface_button_notify()
90 key_code = KEY_LEFTMETA; in surface_button_notify()
97 key_code = KEY_VOLUMEUP; in surface_button_notify()
104 key_code = KEY_VOLUMEDOWN; in surface_button_notify()
112 if (KEY_RESERVED == key_code) in surface_button_notify()
118 input_report_key(input, key_code, pressed?1:0); in surface_button_notify()
Dhp-wmi.c536 int key_code = 0, ret; in hp_wmi_notify() local
590 &key_code, in hp_wmi_notify()
591 sizeof(key_code), in hp_wmi_notify()
592 sizeof(key_code)); in hp_wmi_notify()
597 key_code, 1, true)) in hp_wmi_notify()
598 pr_info("Unknown key code - 0x%x\n", key_code); in hp_wmi_notify()
/drivers/hid/
Dhid-picolcd_core.c137 unsigned int key_code; in picolcd_raw_keypad() local
150 key_code = data->keycode[raw_data[i]]; in picolcd_raw_keypad()
152 key_code = KEY_UNKNOWN; in picolcd_raw_keypad()
153 if (key_code != KEY_UNKNOWN) { in picolcd_raw_keypad()
155 raw_data[i], key_code); in picolcd_raw_keypad()
156 input_report_key(data->input_keys, key_code, 1); in picolcd_raw_keypad()
165 unsigned int key_code; in picolcd_raw_keypad() local
173 key_code = data->keycode[data->pressed_keys[j]]; in picolcd_raw_keypad()
175 key_code = KEY_UNKNOWN; in picolcd_raw_keypad()
176 if (key_code != KEY_UNKNOWN) { in picolcd_raw_keypad()
[all …]
/drivers/input/keyboard/
Dmcs_touchkey.c53 unsigned int key_code; member
84 data->key_code = data->keycodes[key_val]; in mcs_touchkey_interrupt()
89 input_report_key(input, data->key_code, pressed); in mcs_touchkey_interrupt()
92 dev_dbg(&client->dev, "key %d %d %s\n", data->key_val, data->key_code, in mcs_touchkey_interrupt()
Dsamsung-keypad.c292 u32 row, col, key_code; in samsung_keypad_parse_dt() local
295 of_property_read_u32(key_np, "linux,code", &key_code); in samsung_keypad_parse_dt()
296 *keymap++ = KEY(row, col, key_code); in samsung_keypad_parse_dt()
/drivers/input/misc/
Dyealink.c119 int key_code; /* last reported key */ member
241 if (yld->key_code >= 0) { in report_key()
243 input_report_key(idev, yld->key_code & 0xff, 0); in report_key()
244 if (yld->key_code >> 8) in report_key()
245 input_report_key(idev, yld->key_code >> 8, 0); in report_key()
248 yld->key_code = key; in report_key()
526 yld->key_code = -1; /* no keys pressed */ in input_open()
Dcm109.c129 int key_code; /* last reported key */ member
301 if (dev->key_code >= 0) { in report_key()
303 input_report_key(idev, dev->key_code, 0); in report_key()
306 dev->key_code = key; in report_key()
540 dev->key_code = -1; /* no keys pressed */ in cm109_input_open()
/drivers/misc/ibmasm/
Dremote.c150 input->data.keyboard.key_code, in print_input()
151 input->data.keyboard.key_code, in print_input()
174 unsigned short code = input->data.keyboard.key_code; in send_keyboard_event()
Dremote.h69 unsigned short key_code; member
/drivers/input/touchscreen/
Dcyttsp4_core.h318 int key_code; member
Dcyttsp4_core.c542 si->btn[btn].key_code = key_table[btn]; in cyttsp4_si_get_btn_data()
547 si->btn[btn].key_code = KEY_RESERVED; in cyttsp4_si_get_btn_data()
/drivers/media/common/b2c2/
Dflexcop_ibi_value_be.h373 u32 key_code : 2; member
Dflexcop_ibi_value_le.h370 u32 key_code : 2; member