Lines Matching +full:0 +full:x78
33 static unsigned char amikbd_keycode[0x78] __initdata = {
34 [0] = KEY_GRAVE,
138 for (i = 0; i < MAX_NR_KEYMAPS; i++) { in amikbd_init_console_keymaps()
141 memset(temp_map, 0, sizeof(temp_map)); in amikbd_init_console_keymaps()
142 for (j = 0; j < 0x78; j++) { in amikbd_init_console_keymaps()
147 for (j = 0; j < NR_KEYS; j++) { in amikbd_init_console_keymaps()
149 temp_map[j] = 0xf200; in amikbd_init_console_keymaps()
159 [0] = KERN_ALERT "amikbd: Ctrl-Amiga-Amiga reset warning!!\n",
175 ciaa.cra |= 0x40; /* switch SP pin to output for handshake */ in amikbd_interrupt()
177 ciaa.cra &= ~0x40; /* switch CIA serial port to input mode */ in amikbd_interrupt()
182 if (scancode < 0x78) { /* scancodes < 0x78 are keys */ in amikbd_interrupt()
185 input_report_key(dev, scancode, 0); in amikbd_interrupt()
191 } else /* scancodes >= 0x78 are error codes */ in amikbd_interrupt()
192 printk(amikbd_messages[scancode - 0x78]); in amikbd_interrupt()
211 dev->id.vendor = 0x0001; in amikbd_probe()
212 dev->id.product = 0x0001; in amikbd_probe()
213 dev->id.version = 0x0100; in amikbd_probe()
216 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in amikbd_probe()
218 for (i = 0; i < 0x78; i++) in amikbd_probe()
223 ciaa.cra &= ~0x41; /* serial data in, turn off TA */ in amikbd_probe()
224 err = request_irq(IRQ_AMIGA_CIAA_SP, amikbd_interrupt, 0, "amikbd", in amikbd_probe()
235 return 0; in amikbd_probe()
248 return 0; in amikbd_remove()