atakbd_dev 165 drivers/input/keyboard/atakbd.c static struct input_dev *atakbd_dev; atakbd_dev 176 drivers/input/keyboard/atakbd.c input_report_key(atakbd_dev, scancode, down); atakbd_dev 177 drivers/input/keyboard/atakbd.c input_sync(atakbd_dev); atakbd_dev 196 drivers/input/keyboard/atakbd.c atakbd_dev = input_allocate_device(); atakbd_dev 197 drivers/input/keyboard/atakbd.c if (!atakbd_dev) atakbd_dev 200 drivers/input/keyboard/atakbd.c atakbd_dev->name = "Atari Keyboard"; atakbd_dev 201 drivers/input/keyboard/atakbd.c atakbd_dev->phys = "atakbd/input0"; atakbd_dev 202 drivers/input/keyboard/atakbd.c atakbd_dev->id.bustype = BUS_HOST; atakbd_dev 203 drivers/input/keyboard/atakbd.c atakbd_dev->id.vendor = 0x0001; atakbd_dev 204 drivers/input/keyboard/atakbd.c atakbd_dev->id.product = 0x0001; atakbd_dev 205 drivers/input/keyboard/atakbd.c atakbd_dev->id.version = 0x0100; atakbd_dev 207 drivers/input/keyboard/atakbd.c atakbd_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); atakbd_dev 208 drivers/input/keyboard/atakbd.c atakbd_dev->keycode = atakbd_keycode; atakbd_dev 209 drivers/input/keyboard/atakbd.c atakbd_dev->keycodesize = sizeof(unsigned char); atakbd_dev 210 drivers/input/keyboard/atakbd.c atakbd_dev->keycodemax = ARRAY_SIZE(atakbd_keycode); atakbd_dev 213 drivers/input/keyboard/atakbd.c set_bit(atakbd_keycode[i], atakbd_dev->keybit); atakbd_dev 217 drivers/input/keyboard/atakbd.c error = input_register_device(atakbd_dev); atakbd_dev 219 drivers/input/keyboard/atakbd.c input_free_device(atakbd_dev); atakbd_dev 231 drivers/input/keyboard/atakbd.c input_unregister_device(atakbd_dev);