Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/input/gameport/
Dlightning.c19 #define L4_PORT 0x201 macro
49 while ((inb(L4_PORT) & L4_BUSY) && t > 0) t--; in l4_wait_ready()
63 outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
64 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); in l4_cooked_read()
66 if (inb(L4_PORT) & L4_BUSY) goto fail; in l4_cooked_read()
67 outb(l4->port & 3, L4_PORT); in l4_cooked_read()
70 status = inb(L4_PORT); in l4_cooked_read()
75 axes[i] = inb(L4_PORT); in l4_cooked_read()
81 *buttons = inb(L4_PORT) & 0x0f; in l4_cooked_read()
86 fail: outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
[all …]