/drivers/platform/x86/ |
D | surfacepro3_button.c | 80 int key_code = KEY_RESERVED; in surface_button_notify() local 89 key_code = KEY_POWER; in surface_button_notify() 96 key_code = KEY_LEFTMETA; in surface_button_notify() 103 key_code = KEY_VOLUMEUP; in surface_button_notify() 110 key_code = KEY_VOLUMEDOWN; in surface_button_notify() 121 if (key_code == KEY_RESERVED) in surface_button_notify() 127 input_report_key(input, key_code, pressed?1:0); in surface_button_notify()
|
D | xiaomi-wmi.c | 23 unsigned int key_code; member 44 data->key_code = *((const unsigned int *)context); in xiaomi_wmi_probe() 46 set_bit(data->key_code, data->input_dev->keybit); in xiaomi_wmi_probe() 62 input_report_key(data->input_dev, data->key_code, 1); in xiaomi_wmi_notify() 64 input_report_key(data->input_dev, data->key_code, 0); in xiaomi_wmi_notify()
|
D | hp-wmi.c | 535 int key_code; in hp_wmi_notify() local 586 key_code = hp_wmi_read_int(HPWMI_HOTKEY_QUERY); in hp_wmi_notify() 587 if (key_code < 0) in hp_wmi_notify() 591 key_code, 1, true)) in hp_wmi_notify() 592 pr_info("Unknown key code - 0x%x\n", key_code); in hp_wmi_notify()
|
/drivers/hid/ |
D | hid-picolcd_core.c | 128 unsigned int key_code; in picolcd_raw_keypad() local 141 key_code = data->keycode[raw_data[i]]; in picolcd_raw_keypad() 143 key_code = KEY_UNKNOWN; in picolcd_raw_keypad() 144 if (key_code != KEY_UNKNOWN) { in picolcd_raw_keypad() 146 raw_data[i], key_code); in picolcd_raw_keypad() 147 input_report_key(data->input_keys, key_code, 1); in picolcd_raw_keypad() 156 unsigned int key_code; in picolcd_raw_keypad() local 164 key_code = data->keycode[data->pressed_keys[j]]; in picolcd_raw_keypad() 166 key_code = KEY_UNKNOWN; in picolcd_raw_keypad() 167 if (key_code != KEY_UNKNOWN) { in picolcd_raw_keypad() [all …]
|
/drivers/input/rmi4/ |
D | rmi_f3a.c | 41 u16 key_code = f3a->gpio_key_map[button]; in rmi_f3a_report_button() local 47 rmi_f03_overwrite_button(f3a->f03, key_code, key_down); in rmi_f3a_report_button() 51 __func__, key_code, key_down); in rmi_f3a_report_button() 52 input_report_key(f3a->input, key_code, key_down); in rmi_f3a_report_button()
|
D | rmi_f30.c | 106 u16 key_code = f30->gpioled_key_map[button]; in rmi_f30_report_button() local 112 rmi_f03_overwrite_button(f30->f03, key_code, key_down); in rmi_f30_report_button() 116 __func__, key_code, key_down); in rmi_f30_report_button() 118 input_report_key(f30->input, key_code, key_down); in rmi_f30_report_button()
|
/drivers/input/keyboard/ |
D | mcs_touchkey.c | 49 unsigned int key_code; member 80 data->key_code = data->keycodes[key_val]; in mcs_touchkey_interrupt() 85 input_report_key(input, data->key_code, pressed); in mcs_touchkey_interrupt() 88 dev_dbg(&client->dev, "key %d %d %s\n", data->key_val, data->key_code, in mcs_touchkey_interrupt()
|
D | samsung-keypad.c | 288 u32 row, col, key_code; in samsung_keypad_parse_dt() local 291 of_property_read_u32(key_np, "linux,code", &key_code); in samsung_keypad_parse_dt() 292 *keymap++ = KEY(row, col, key_code); in samsung_keypad_parse_dt()
|
/drivers/input/misc/ |
D | yealink.c | 104 int key_code; /* last reported key */ member 226 if (yld->key_code >= 0) { in report_key() 228 input_report_key(idev, yld->key_code & 0xff, 0); in report_key() 229 if (yld->key_code >> 8) in report_key() 230 input_report_key(idev, yld->key_code >> 8, 0); in report_key() 233 yld->key_code = key; in report_key() 511 yld->key_code = -1; /* no keys pressed */ in input_open()
|
D | cm109.c | 126 int key_code; /* last reported key */ member 298 if (dev->key_code >= 0) { in report_key() 300 input_report_key(idev, dev->key_code, 0); in report_key() 303 dev->key_code = key; in report_key() 562 dev->key_code = -1; /* no keys pressed */ in cm109_input_open()
|
/drivers/misc/ibmasm/ |
D | remote.c | 136 input->data.keyboard.key_code, in print_input() 137 input->data.keyboard.key_code, in print_input() 160 unsigned short code = input->data.keyboard.key_code; in send_keyboard_event()
|
D | remote.h | 56 unsigned short key_code; member
|
/drivers/input/touchscreen/ |
D | melfas_mip4.c | 172 unsigned short key_code[MIP4_MAX_KEYS]; member 399 input_report_key(ts->input, ts->key_code[i], 0); in mip4_clear_input() 451 unsigned short keycode = ts->key_code[key - 1]; in mip4_report_keys() 1482 input->keycode = ts->key_code; in mip4_probe() 1483 input->keycodesize = sizeof(*ts->key_code); in mip4_probe()
|
D | cyttsp4_core.h | 308 int key_code; member
|
D | cyttsp4_core.c | 560 si->btn[btn].key_code = key_table[btn]; in cyttsp4_si_get_btn_data() 565 si->btn[btn].key_code = KEY_RESERVED; in cyttsp4_si_get_btn_data()
|
/drivers/media/common/b2c2/ |
D | flexcop_ibi_value_be.h | 374 u32 key_code : 2; member
|
D | flexcop_ibi_value_le.h | 371 u32 key_code : 2; member
|