Searched refs:L4_PORT (Results 1 – 1 of 1) sorted by relevance
38 #define L4_PORT 0x201 macro68 while ((inb(L4_PORT) & L4_BUSY) && t > 0) t--; in l4_wait_ready()82 outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()83 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); in l4_cooked_read()85 if (inb(L4_PORT) & L4_BUSY) goto fail; in l4_cooked_read()86 outb(l4->port & 3, L4_PORT); in l4_cooked_read()89 status = inb(L4_PORT); in l4_cooked_read()94 axes[i] = inb(L4_PORT); in l4_cooked_read()100 *buttons = inb(L4_PORT) & 0x0f; in l4_cooked_read()105 fail: outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()[all …]