Searched refs:keys_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/staging/nvec/
H A Dnvec_kbd.c42 static struct nvec_keys keys_dev; variable in typeref:struct:nvec_keys
48 keys_dev.caps_lock = !keys_dev.caps_lock; nvec_kbd_toggle_led()
50 if (keys_dev.caps_lock) nvec_kbd_toggle_led()
54 nvec_write_async(keys_dev.nvec, buf, sizeof(buf)); nvec_kbd_toggle_led()
79 input_report_key(keys_dev.input, code_tabs[_size][code], nvec_keys_notifier()
81 input_sync(keys_dev.input); nvec_keys_notifier()
92 struct nvec_chip *nvec = keys_dev.nvec; nvec_kbd_event()
147 keys_dev.input = idev; nvec_kbd_probe()
148 keys_dev.notifier.notifier_call = nvec_keys_notifier; nvec_kbd_probe()
149 keys_dev.nvec = nvec; nvec_kbd_probe()
150 nvec_register_notifier(nvec, &keys_dev.notifier, 0); nvec_kbd_probe()
174 nvec_unregister_notifier(nvec, &keys_dev.notifier); nvec_kbd_remove()

Completed in 176 milliseconds