Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/gameport/
Dlightning.c34 #define L4_PORT 0x201 macro
64 while ((inb(L4_PORT) & L4_BUSY) && t > 0) t--; in l4_wait_ready()
78 outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
79 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); in l4_cooked_read()
81 if (inb(L4_PORT) & L4_BUSY) goto fail; in l4_cooked_read()
82 outb(l4->port & 3, L4_PORT); in l4_cooked_read()
85 status = inb(L4_PORT); in l4_cooked_read()
90 axes[i] = inb(L4_PORT); in l4_cooked_read()
96 *buttons = inb(L4_PORT) & 0x0f; in l4_cooked_read()
101 fail: outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
[all …]