Lines Matching refs:kbd_iobase
20 static void __iomem *kbd_iobase; variable
22 #define I8042_COMMAND_REG (kbd_iobase + 0x64UL)
23 #define I8042_DATA_REG (kbd_iobase + 0x60UL)
27 return readb(kbd_iobase + 0x60UL); in i8042_read_data()
32 return readb(kbd_iobase + 0x64UL); in i8042_read_status()
37 writeb(val, kbd_iobase + 0x60UL); in i8042_write_data()
42 writeb(val, kbd_iobase + 0x64UL); in i8042_write_command()
66 kbd_iobase = of_ioremap(&kbd->resource[0], in sparc_i8042_probe()
84 of_iounmap(kbd_res, kbd_iobase, 8); in sparc_i8042_remove()
114 kbd_iobase = ioremap(0x71300060, 8); in i8042_platform_init()
115 if (!kbd_iobase) in i8042_platform_init()
124 if (kbd_iobase) { in i8042_platform_init()
125 of_iounmap(kbd_res, kbd_iobase, 8); in i8042_platform_init()
126 kbd_iobase = (void __iomem *) NULL; in i8042_platform_init()