Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/gameport/
H A Dlightning.c22 #define L4_PORT 0x201 macro
52 while ((inb(L4_PORT) & L4_BUSY) && t > 0) t--; in l4_wait_ready()
66 outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
67 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); in l4_cooked_read()
69 if (inb(L4_PORT) & L4_BUSY) goto fail; in l4_cooked_read()
70 outb(l4->port & 3, L4_PORT); in l4_cooked_read()
73 status = inb(L4_PORT); in l4_cooked_read()
78 axes[i] = inb(L4_PORT); in l4_cooked_read()
84 *buttons = inb(L4_PORT) & 0x0f; in l4_cooked_read()
89 fail: outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
[all …]