Lines Matching +full:0 +full:x78
30 static unsigned char amikbd_keycode[0x78] __initdata = {
31 [0] = KEY_GRAVE,
135 for (i = 0; i < MAX_NR_KEYMAPS; i++) { in amikbd_init_console_keymaps()
138 memset(temp_map, 0, sizeof(temp_map)); in amikbd_init_console_keymaps()
139 for (j = 0; j < 0x78; j++) { in amikbd_init_console_keymaps()
144 for (j = 0; j < NR_KEYS; j++) { in amikbd_init_console_keymaps()
146 temp_map[j] = 0xf200; in amikbd_init_console_keymaps()
156 [0] = KERN_ALERT "amikbd: Ctrl-Amiga-Amiga reset warning!!\n",
172 ciaa.cra |= 0x40; /* switch SP pin to output for handshake */ in amikbd_interrupt()
174 ciaa.cra &= ~0x40; /* switch CIA serial port to input mode */ in amikbd_interrupt()
179 if (scancode < 0x78) { /* scancodes < 0x78 are keys */ in amikbd_interrupt()
182 input_report_key(dev, scancode, 0); in amikbd_interrupt()
188 } else /* scancodes >= 0x78 are error codes */ in amikbd_interrupt()
189 printk(amikbd_messages[scancode - 0x78]); in amikbd_interrupt()
208 dev->id.vendor = 0x0001; in amikbd_probe()
209 dev->id.product = 0x0001; in amikbd_probe()
210 dev->id.version = 0x0100; in amikbd_probe()
212 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in amikbd_probe()
214 for (i = 0; i < 0x78; i++) in amikbd_probe()
219 ciaa.cra &= ~0x41; /* serial data in, turn off TA */ in amikbd_probe()
221 0, "amikbd", dev); in amikbd_probe()
231 return 0; in amikbd_probe()