/linux-6.6.21/drivers/platform/x86/ |
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 | asus-tf103c-dock.c | 314 static void tf103c_dock_toprow_press(struct tf103c_dock_data *dock, int key_code) in tf103c_dock_toprow_press() argument 325 input_report_key(dock->input, key_code, true); in tf103c_dock_toprow_press() 329 static void tf103c_dock_toprow_release(struct tf103c_dock_data *dock, int key_code) in tf103c_dock_toprow_release() argument 331 input_report_key(dock->input, key_code, false); in tf103c_dock_toprow_release() 343 int key_code, fn = dock->altgr_pressed ^ fnlock; in tf103c_dock_toprow_event() local 353 key_code = tf103c_dock_toprow_codes[toprow_index][fn]; in tf103c_dock_toprow_event() 354 tf103c_dock_toprow_press(dock, key_code); in tf103c_dock_toprow_event() 357 *last_press = key_code; in tf103c_dock_toprow_event() 359 tf103c_dock_toprow_release(dock, key_code); in tf103c_dock_toprow_event()
|
/linux-6.6.21/drivers/platform/surface/ |
D | surfacepro3_button.c | 78 int key_code = KEY_RESERVED; in surface_button_notify() local 87 key_code = KEY_POWER; in surface_button_notify() 94 key_code = KEY_LEFTMETA; in surface_button_notify() 101 key_code = KEY_VOLUMEUP; in surface_button_notify() 108 key_code = KEY_VOLUMEDOWN; in surface_button_notify() 119 if (key_code == KEY_RESERVED) in surface_button_notify() 125 input_report_key(input, key_code, pressed?1:0); in surface_button_notify()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 | 287 u32 row, col, key_code; in samsung_keypad_parse_dt() local 290 of_property_read_u32(key_np, "linux,code", &key_code); in samsung_keypad_parse_dt() 291 *keymap++ = KEY(row, col, key_code); in samsung_keypad_parse_dt()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/platform/x86/hp/ |
D | hp-wmi.c | 809 int key_code; in hp_wmi_notify() local 860 key_code = hp_wmi_read_int(HPWMI_HOTKEY_QUERY); in hp_wmi_notify() 861 if (key_code < 0) in hp_wmi_notify() 865 key_code, 1, true)) in hp_wmi_notify() 866 pr_info("Unknown key code - 0x%x\n", key_code); in hp_wmi_notify() 870 key_code = event_data; in hp_wmi_notify() 872 key_code = hp_wmi_read_int(HPWMI_HOTKEY_QUERY); in hp_wmi_notify() 875 key_code, 1, true)) in hp_wmi_notify() 876 pr_info("Unknown key code - 0x%x\n", key_code); in hp_wmi_notify()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | cyttsp5.c | 174 u32 key_code[HID_SYSINFO_MAX_BTN]; member 419 memset32(si->key_code, KEY_RESERVED, si->num_btns); in cyttsp5_parse_dt_key_code() 422 si->key_code, si->num_btns); in cyttsp5_parse_dt_key_code() 450 input_report_key(ts->input, si->key_code[cur_btn], in cyttsp5_btn_attention() 903 __set_bit(si->key_code[i], ts->input->keybit); in cyttsp5_probe()
|
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() 1477 input->keycode = ts->key_code; in mip4_probe() 1478 input->keycodesize = sizeof(*ts->key_code); in mip4_probe()
|
D | cyttsp4_core.h | 294 int key_code; member
|
D | cyttsp4_core.c | 574 si->btn[btn].key_code = key_table[btn]; in cyttsp4_si_get_btn_data() 579 si->btn[btn].key_code = KEY_RESERVED; in cyttsp4_si_get_btn_data()
|
/linux-6.6.21/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
|
/linux-6.6.21/include/linux/greybus/ |
D | greybus_protocols.h | 1173 __le16 key_code; member
|