Lines Matching refs:atakbd_dev
60 static struct input_dev *atakbd_dev;
72 input_report_key(atakbd_dev, scancode, 1);
73 input_report_key(atakbd_dev, scancode, 0);
74 input_sync(atakbd_dev);
76 input_report_key(atakbd_dev, scancode, down);
77 input_sync(atakbd_dev);
94 if (!(atakbd_dev = input_allocate_device()))
101 atakbd_dev->name = "Atari Keyboard";
102 atakbd_dev->phys = "atakbd/input0";
103 atakbd_dev->id.bustype = BUS_ATARI;
104 atakbd_dev->id.vendor = 0x0001;
105 atakbd_dev->id.product = 0x0001;
106 atakbd_dev->id.version = 0x0100;
108 atakbd_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP);
109 atakbd_dev->keycode = atakbd_keycode;
110 atakbd_dev->keycodesize = sizeof(unsigned char);
111 atakbd_dev->keycodemax = ARRAY_SIZE(atakbd_keycode);
115 set_bit(atakbd_keycode[i], atakbd_dev->keybit);
118 input_register_device(atakbd_dev);
122 printk(KERN_INFO "input: %s at IKBD ACIA\n", atakbd_dev->name);
130 input_unregister_device(atakbd_dev);