Lines Matching refs:atakbd_dev
162 static struct input_dev *atakbd_dev; variable
173 input_report_key(atakbd_dev, scancode, down); in atakbd_interrupt()
174 input_sync(atakbd_dev); in atakbd_interrupt()
193 atakbd_dev = input_allocate_device(); in atakbd_init()
194 if (!atakbd_dev) in atakbd_init()
197 atakbd_dev->name = "Atari Keyboard"; in atakbd_init()
198 atakbd_dev->phys = "atakbd/input0"; in atakbd_init()
199 atakbd_dev->id.bustype = BUS_HOST; in atakbd_init()
200 atakbd_dev->id.vendor = 0x0001; in atakbd_init()
201 atakbd_dev->id.product = 0x0001; in atakbd_init()
202 atakbd_dev->id.version = 0x0100; in atakbd_init()
204 atakbd_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in atakbd_init()
205 atakbd_dev->keycode = atakbd_keycode; in atakbd_init()
206 atakbd_dev->keycodesize = sizeof(unsigned char); in atakbd_init()
207 atakbd_dev->keycodemax = ARRAY_SIZE(atakbd_keycode); in atakbd_init()
210 set_bit(atakbd_keycode[i], atakbd_dev->keybit); in atakbd_init()
214 error = input_register_device(atakbd_dev); in atakbd_init()
216 input_free_device(atakbd_dev); in atakbd_init()
228 input_unregister_device(atakbd_dev); in atakbd_exit()