Home
last modified time | relevance | path

Searched refs:kbd_iobase (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/input/serio/
H A Di8042-snirm.h24 static void __iomem *kbd_iobase; variable
26 #define I8042_COMMAND_REG (kbd_iobase + 0x64UL)
27 #define I8042_DATA_REG (kbd_iobase + 0x60UL)
31 return readb(kbd_iobase + 0x60UL); in i8042_read_data()
36 return readb(kbd_iobase + 0x64UL); in i8042_read_status()
41 writeb(val, kbd_iobase + 0x60UL); in i8042_write_data()
46 writeb(val, kbd_iobase + 0x64UL); in i8042_write_command()
52 kbd_iobase = ioremap(0x16000000, 4); in i8042_platform_init()
56 kbd_iobase = ioremap(0x14000000, 4); in i8042_platform_init()
60 if (!kbd_iobase) in i8042_platform_init()
H A Di8042-sparcio.h23 static void __iomem *kbd_iobase; variable
30 return readb(kbd_iobase + 0x60UL); in i8042_read_data()
35 return readb(kbd_iobase + 0x64UL); in i8042_read_status()
40 writeb(val, kbd_iobase + 0x60UL); in i8042_write_data()
45 writeb(val, kbd_iobase + 0x64UL); in i8042_write_command()
87 of_iounmap(kbd_res, kbd_iobase, 8); in sparc_i8042_remove()
130 kbd_iobase = ioremap(0x71300060, 8); in i8042_platform_init()
131 if (!kbd_iobase) in i8042_platform_init()
140 if (kbd_iobase) { in i8042_platform_init()
141 of_iounmap(kbd_res, kbd_iobase, 8); in i8042_platform_init()
[all …]