Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/joystick/
Dlightning.c43 #define L4_PORT 0x201 macro
70 while ((inb(L4_PORT) & L4_BUSY) && t > 0) t--; in l4_wait_ready()
84 outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
85 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); in l4_cooked_read()
87 if (inb(L4_PORT) & L4_BUSY) goto fail; in l4_cooked_read()
88 outb(l4->port & 3, L4_PORT); in l4_cooked_read()
91 status = inb(L4_PORT); in l4_cooked_read()
96 axes[i] = inb(L4_PORT); in l4_cooked_read()
102 *buttons = inb(L4_PORT) & 0x0f; in l4_cooked_read()
107 fail: outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
[all …]