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

/linux-4.4.14/drivers/input/keyboard/
H A Datakbd.c193 static struct input_dev *atakbd_dev; variable in typeref:struct:input_dev
205 input_report_key(atakbd_dev, scancode, 1); atakbd_interrupt()
206 input_report_key(atakbd_dev, scancode, 0); atakbd_interrupt()
207 input_sync(atakbd_dev); atakbd_interrupt()
209 input_report_key(atakbd_dev, scancode, down); atakbd_interrupt()
210 input_sync(atakbd_dev); atakbd_interrupt()
230 atakbd_dev = input_allocate_device(); atakbd_init()
231 if (!atakbd_dev) atakbd_init()
234 atakbd_dev->name = "Atari Keyboard"; atakbd_init()
235 atakbd_dev->phys = "atakbd/input0"; atakbd_init()
236 atakbd_dev->id.bustype = BUS_HOST; atakbd_init()
237 atakbd_dev->id.vendor = 0x0001; atakbd_init()
238 atakbd_dev->id.product = 0x0001; atakbd_init()
239 atakbd_dev->id.version = 0x0100; atakbd_init()
241 atakbd_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); atakbd_init()
242 atakbd_dev->keycode = atakbd_keycode; atakbd_init()
243 atakbd_dev->keycodesize = sizeof(unsigned char); atakbd_init()
244 atakbd_dev->keycodemax = ARRAY_SIZE(atakbd_keycode); atakbd_init()
247 set_bit(atakbd_keycode[i], atakbd_dev->keybit); atakbd_init()
251 error = input_register_device(atakbd_dev); atakbd_init()
253 input_free_device(atakbd_dev); atakbd_init()
265 input_unregister_device(atakbd_dev); atakbd_exit()

Completed in 42 milliseconds