Home
last modified time | relevance | path

Searched refs:key_entry (Results 1 – 22 of 22) sorted by relevance

/drivers/input/misc/
Dgpio_input.c61 const struct gpio_event_direct_entry *key_entry; in gpio_event_input_timer_func() local
68 key_entry = kp->keys_info->keymap; in gpio_event_input_timer_func()
70 for (i = 0; i < nkeys; i++, key_entry++, key_state++) in gpio_event_input_timer_func()
71 pr_info("gpio_read_detect_status %d %d\n", key_entry->gpio, in gpio_event_input_timer_func()
72 gpio_read_detect_status(key_entry->gpio)); in gpio_event_input_timer_func()
74 key_entry = ds->info->keymap; in gpio_event_input_timer_func()
78 for (i = 0; i < nkeys; i++, key_entry++, key_state++) { in gpio_event_input_timer_func()
84 enable_irq(gpio_to_irq(key_entry->gpio)); in gpio_event_input_timer_func()
88 ds->info->type, key_entry->code, in gpio_event_input_timer_func()
89 i, key_entry->gpio); in gpio_event_input_timer_func()
[all …]
Dwistron_btns.c236 static struct key_entry *keymap; /* = NULL; Current key map */
243 const struct key_entry *key; in dmi_matched()
257 static struct key_entry keymap_empty[] __initdata = {
261 static struct key_entry keymap_fs_amilo_pro_v2000[] __initdata = {
271 static struct key_entry keymap_fs_amilo_pro_v3505[] __initdata = {
281 static struct key_entry keymap_fujitsu_n3510[] __initdata = {
293 static struct key_entry keymap_wistron_ms2111[] __initdata = {
302 static struct key_entry keymap_wistron_md40100[] __initdata = {
311 static struct key_entry keymap_wistron_ms2141[] __initdata = {
324 static struct key_entry keymap_acer_aspire_1500[] __initdata = {
[all …]
Ddm355evm_keys.c40 static const struct key_entry dm355evm_keys[] = {
109 const struct key_entry *ke; in dm355evm_keys_irq()
/drivers/input/
Dsparse-keymap.c27 const struct key_entry *k) in sparse_keymap_get_key_index()
29 struct key_entry *key; in sparse_keymap_get_key_index()
43 static struct key_entry *sparse_keymap_entry_by_index(struct input_dev *dev, in sparse_keymap_entry_by_index()
46 struct key_entry *key; in sparse_keymap_entry_by_index()
65 struct key_entry *sparse_keymap_entry_from_scancode(struct input_dev *dev, in sparse_keymap_entry_from_scancode()
68 struct key_entry *key; in sparse_keymap_entry_from_scancode()
86 struct key_entry *sparse_keymap_entry_from_keycode(struct input_dev *dev, in sparse_keymap_entry_from_keycode()
89 struct key_entry *key; in sparse_keymap_entry_from_keycode()
99 static struct key_entry *sparse_keymap_locate(struct input_dev *dev, in sparse_keymap_locate()
102 struct key_entry *key; in sparse_keymap_locate()
[all …]
/drivers/platform/x86/
Ddell-wmi.c56 static const struct key_entry dell_wmi_legacy_keymap[] __initconst = {
163 const struct key_entry *key; in dell_wmi_notify()
196 static const struct key_entry * __init dell_wmi_prepare_new_keymap(void) in dell_wmi_prepare_new_keymap()
200 struct key_entry *keymap; in dell_wmi_prepare_new_keymap()
203 keymap = kcalloc(hotkey_num + 1, sizeof(struct key_entry), GFP_KERNEL); in dell_wmi_prepare_new_keymap()
235 const struct key_entry *keymap = dell_wmi_prepare_new_keymap(); in dell_wmi_input_setup()
Dasus-wmi.h37 struct key_entry;
65 const struct key_entry *keymap;
Dmsi-wmi.c62 static struct key_entry msi_wmi_keymap[] = {
186 static struct key_entry *key; in msi_wmi_notify()
Dtopstar-laptop.c30 static const struct key_entry topstar_keymap[] = {
Ddell-wmi-aio.c54 static const struct key_entry dell_wmi_aio_keymap[] = {
Deeepc-wmi.c65 static const struct key_entry eeepc_wmi_keymap[] = {
Dasus-nb-wmi.c201 static const struct key_entry asus_nb_wmi_keymap[] = {
Dpanasonic-laptop.c208 static const struct key_entry panasonic_keymap[] = {
Dhp-wmi.c137 static const struct key_entry hp_wmi_keymap[] = {
Dideapad-laptop.c557 static const struct key_entry ideapad_keymap[] = {
Dacer-wmi.c101 static const struct key_entry acer_wmi_keymap[] = {
1705 const struct key_entry *key; in acer_wmi_notify()
Dasus-laptop.c261 struct key_entry *keymap;
297 static const struct key_entry asus_keymap[] = {
Dmsi-laptop.c114 static const struct key_entry msi_laptop_keymap[] = {
Dtoshiba_acpi.c153 static const struct key_entry toshiba_acpi_keymap[] = {
Deeepc-laptop.c134 static const struct key_entry eeepc_keymap[] = {
/drivers/net/wireless/rt2x00/
Drt73usb.c271 struct hw_key_entry key_entry; in rt73usb_config_shared_key() local
300 memcpy(key_entry.key, crypto->key, in rt73usb_config_shared_key()
301 sizeof(key_entry.key)); in rt73usb_config_shared_key()
302 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt73usb_config_shared_key()
303 sizeof(key_entry.tx_mic)); in rt73usb_config_shared_key()
304 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt73usb_config_shared_key()
305 sizeof(key_entry.rx_mic)); in rt73usb_config_shared_key()
309 &key_entry, sizeof(key_entry)); in rt73usb_config_shared_key()
369 struct hw_key_entry key_entry; in rt73usb_config_pairwise_key() local
396 memcpy(key_entry.key, crypto->key, in rt73usb_config_pairwise_key()
[all …]
Drt61pci.c324 struct hw_key_entry key_entry; in rt61pci_config_shared_key() local
353 memcpy(key_entry.key, crypto->key, in rt61pci_config_shared_key()
354 sizeof(key_entry.key)); in rt61pci_config_shared_key()
355 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt61pci_config_shared_key()
356 sizeof(key_entry.tx_mic)); in rt61pci_config_shared_key()
357 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt61pci_config_shared_key()
358 sizeof(key_entry.rx_mic)); in rt61pci_config_shared_key()
362 &key_entry, sizeof(key_entry)); in rt61pci_config_shared_key()
422 struct hw_key_entry key_entry; in rt61pci_config_pairwise_key() local
449 memcpy(key_entry.key, crypto->key, in rt61pci_config_pairwise_key()
[all …]
Drt2800lib.c1104 struct hw_key_entry key_entry; in rt2800_config_shared_key() local
1112 memcpy(key_entry.key, crypto->key, in rt2800_config_shared_key()
1113 sizeof(key_entry.key)); in rt2800_config_shared_key()
1114 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt2800_config_shared_key()
1115 sizeof(key_entry.tx_mic)); in rt2800_config_shared_key()
1116 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt2800_config_shared_key()
1117 sizeof(key_entry.rx_mic)); in rt2800_config_shared_key()
1121 &key_entry, sizeof(key_entry)); in rt2800_config_shared_key()
1189 struct hw_key_entry key_entry; in rt2800_config_pairwise_key() local
1201 memcpy(key_entry.key, crypto->key, in rt2800_config_pairwise_key()
[all …]