/linux/drivers/input/ |
H A D | sparse-keymap.c | 23 const struct key_entry *k) in sparse_keymap_get_key_index() 25 struct key_entry *key; in sparse_keymap_get_key_index() 39 static struct key_entry *sparse_keymap_entry_by_index(struct input_dev *dev, in sparse_keymap_entry_by_index() 42 struct key_entry *key; in sparse_keymap_entry_by_index() 61 struct key_entry *sparse_keymap_entry_from_scancode(struct input_dev *dev, in sparse_keymap_entry_from_scancode() 64 struct key_entry *key; in sparse_keymap_entry_from_scancode() 82 struct key_entry *sparse_keymap_entry_from_keycode(struct input_dev *dev, in sparse_keymap_entry_from_keycode() 85 struct key_entry *key; in sparse_keymap_entry_from_keycode() 95 static struct key_entry *sparse_keymap_locate(struct input_dev *dev, in sparse_keymap_locate() 98 struct key_entry *key; in sparse_keymap_locate() [all …]
|
/linux/include/linux/input/ |
H A D | sparse-keymap.h | 33 struct key_entry { struct 45 struct key_entry *sparse_keymap_entry_from_scancode(struct input_dev *dev, argument 47 struct key_entry *sparse_keymap_entry_from_keycode(struct input_dev *dev, 50 const struct key_entry *keymap, 51 int (*setup)(struct input_dev *, struct key_entry *)); 53 void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *ke,
|
/linux/drivers/input/misc/ |
H A D | wistron_btns.c | 223 static struct key_entry *keymap; /* = NULL; Current key map */ 230 const struct key_entry *key; in dmi_matched() 244 static struct key_entry keymap_empty[] __initdata = { 248 static struct key_entry keymap_fs_amilo_pro_v2000[] __initdata = { 258 static struct key_entry keymap_fs_amilo_pro_v3505[] __initdata = { 268 static struct key_entry keymap_fs_amilo_pro_v8210[] __initdata = { 278 static struct key_entry keymap_fujitsu_n3510[] __initdata = { 290 static struct key_entry keymap_wistron_ms2111[] __initdata = { 299 static struct key_entry keymap_wistron_md40100[] __initdata = { 308 static struct key_entry keymap_wistron_ms2141[] __initdata = { [all …]
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-base.c | 80 static const struct key_entry dell_wmi_keymap_type_0000[] = { 203 struct key_entry *keymap; 256 static const struct key_entry dell_wmi_keymap_type_0010[] = { 330 static const struct key_entry dell_wmi_keymap_type_0011[] = { 364 static const struct key_entry dell_wmi_keymap_type_0012[] = { 407 const struct key_entry *key; in dell_wmi_process_key() 536 static bool have_scancode(u32 scancode, const struct key_entry *keymap, int len) in have_scancode() 552 struct key_entry *keymap; in handle_dmi_entry() 577 keymap = kcalloc(hotkey_num, sizeof(struct key_entry), GFP_KERNEL); in handle_dmi_entry() 622 struct key_entry *keymap; in dell_wmi_input_setup() [all …]
|
H A D | dell-wmi-privacy.c | 60 static const struct key_entry dell_wmi_keymap_type_0012[] = { 98 const struct key_entry *key; in dell_privacy_process_event() 297 struct key_entry *keymap; in dell_privacy_wmi_probe() 318 sizeof(struct key_entry), GFP_KERNEL); in dell_privacy_wmi_probe()
|
H A D | dell-wmi-aio.c | 40 static const struct key_entry dell_wmi_aio_keymap[] = {
|
/linux/drivers/platform/x86/ |
H A D | asus-wmi.h | 25 struct key_entry; 67 const struct key_entry *keymap;
|
H A D | msi-wmi.c | 50 static struct key_entry msi_wmi_keymap[] = { 175 struct key_entry *key; in msi_wmi_notify()
|
H A D | toshiba-wmi.c | 29 static const struct key_entry toshiba_wmi_keymap[] __initconst = {
|
H A D | fujitsu-laptop.c | 444 static const struct key_entry keymap_backlight[] = { 558 static const struct key_entry keymap_default[] = { 571 static const struct key_entry keymap_s64x0[] = { 579 static const struct key_entry keymap_p8010[] = { 587 static const struct key_entry *keymap = keymap_default;
|
H A D | lenovo-ymc.c | 45 static const struct key_entry lenovo_ymc_keymap[] = {
|
H A D | eeepc-wmi.c | 52 static const struct key_entry eeepc_wmi_keymap[] = {
|
H A D | quickstart.c | 56 static const struct key_entry quickstart_keymap[] = {
|
H A D | topstar-laptop.c | 106 static const struct key_entry topstar_keymap[] = {
|
H A D | lg-laptop.c | 100 static const struct key_entry wmi_keymap[] = { 218 struct key_entry *key; in wmi_notify()
|
H A D | huawei-wmi.c | 74 static const struct key_entry huawei_wmi_keymap[] = { 700 const struct key_entry *key; in huawei_wmi_process_key()
|
H A D | asus-nb-wmi.c | 553 static const struct key_entry asus_nb_wmi_keymap[] = {
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt73usb.c | 260 struct hw_key_entry key_entry; in rt73usb_config_shared_key() local 289 memcpy(key_entry.key, crypto->key, in rt73usb_config_shared_key() 290 sizeof(key_entry.key)); in rt73usb_config_shared_key() 291 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt73usb_config_shared_key() 292 sizeof(key_entry.tx_mic)); in rt73usb_config_shared_key() 293 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt73usb_config_shared_key() 294 sizeof(key_entry.rx_mic)); in rt73usb_config_shared_key() 298 &key_entry, sizeof(key_entry)); in rt73usb_config_shared_key() 358 struct hw_key_entry key_entry; in rt73usb_config_pairwise_key() local 385 memcpy(key_entry.key, crypto->key, in rt73usb_config_pairwise_key() [all …]
|
H A D | rt61pci.c | 326 struct hw_key_entry key_entry; in rt61pci_config_pairwise_key() local 353 memcpy(key_entry.key, crypto->key, in rt61pci_config_pairwise_key() 354 sizeof(key_entry.key)); in rt61pci_config_pairwise_key() 355 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt61pci_config_pairwise_key() 356 sizeof(key_entry.tx_mic)); in rt61pci_config_pairwise_key() 357 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt61pci_config_pairwise_key() 358 sizeof(key_entry.rx_mic)); in rt61pci_config_pairwise_key() 366 &key_entry, sizeof(key_entry)); in rt61pci_config_pairwise_key()
|
H A D | rt2800lib.c | 1765 struct hw_key_entry key_entry; in rt2800_config_shared_key() local 1773 memcpy(key_entry.key, crypto->key, in rt2800_config_shared_key() 1774 sizeof(key_entry.key)); in rt2800_config_shared_key() 1775 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt2800_config_shared_key() 1776 sizeof(key_entry.tx_mic)); in rt2800_config_shared_key() 1777 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt2800_config_shared_key() 1778 sizeof(key_entry.rx_mic)); in rt2800_config_shared_key() 1782 &key_entry, sizeof(key_entry)); in rt2800_config_shared_key() 1818 struct hw_key_entry key_entry; in rt2800_config_pairwise_key() local 1830 memcpy(key_entry.key, crypto->key, in rt2800_config_pairwise_key() [all …]
|
/linux/drivers/platform/x86/intel/ |
H A D | vbtn.c | 40 static const struct key_entry intel_vbtn_keymap[] = { 54 static const struct key_entry intel_vbtn_switchmap[] = { 156 const struct key_entry *ke, *ke_rel; in notify_handler()
|
H A D | hid.c | 61 static const struct key_entry intel_hid_keymap[] = { 85 static const struct key_entry intel_array_keymap[] = { 509 struct key_entry *ke; in notify_handler()
|
/linux/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 57 static struct key_entry hotkey_keycode_map[GENERIC_HOTKEY_MAP_MAX]; 199 struct key_entry ke; in loongson_hotkey_resume() 473 struct key_entry *ke = NULL; in event_notify()
|
/linux/net/mac802154/ |
H A D | llsec.c | 557 struct ieee802154_llsec_key_entry *key_entry; in llsec_lookup_key() local 570 list_for_each_entry_rcu(key_entry, &sec->table.keys, list) { in llsec_lookup_key() 571 const struct ieee802154_llsec_key_id *id = &key_entry->id; in llsec_lookup_key() 573 if (!(key_entry->key->frame_types & BIT(hdr->fc.type))) in llsec_lookup_key() 598 key = container_of(key_entry->key, struct mac802154_llsec_key, key); in llsec_lookup_key() 600 *key_id = key_entry->id; in llsec_lookup_key()
|
/linux/drivers/input/joystick/ |
H A D | adafruit-seesaw.c | 76 static const struct key_entry seesaw_buttons_new[] = {
|