L4_PORT 52 drivers/input/gameport/lightning.c while ((inb(L4_PORT) & L4_BUSY) && t > 0) t--; L4_PORT 66 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 67 drivers/input/gameport/lightning.c outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); L4_PORT 69 drivers/input/gameport/lightning.c if (inb(L4_PORT) & L4_BUSY) goto fail; L4_PORT 70 drivers/input/gameport/lightning.c outb(l4->port & 3, L4_PORT); L4_PORT 73 drivers/input/gameport/lightning.c status = inb(L4_PORT); L4_PORT 78 drivers/input/gameport/lightning.c axes[i] = inb(L4_PORT); L4_PORT 84 drivers/input/gameport/lightning.c *buttons = inb(L4_PORT) & 0x0f; L4_PORT 89 drivers/input/gameport/lightning.c fail: outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 99 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 111 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 112 drivers/input/gameport/lightning.c outb(L4_SELECT_DIGITAL + (port >> 2), L4_PORT); L4_PORT 113 drivers/input/gameport/lightning.c if (inb(L4_PORT) & L4_BUSY) L4_PORT 116 drivers/input/gameport/lightning.c outb(L4_CMD_GETCAL, L4_PORT); L4_PORT 120 drivers/input/gameport/lightning.c if (inb(L4_PORT) != L4_SELECT_DIGITAL + (port >> 2)) L4_PORT 125 drivers/input/gameport/lightning.c outb(port & 3, L4_PORT); L4_PORT 130 drivers/input/gameport/lightning.c cal[i] = inb(L4_PORT); L4_PORT 135 drivers/input/gameport/lightning.c out: outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 147 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 148 drivers/input/gameport/lightning.c outb(L4_SELECT_DIGITAL + (port >> 2), L4_PORT); L4_PORT 149 drivers/input/gameport/lightning.c if (inb(L4_PORT) & L4_BUSY) L4_PORT 152 drivers/input/gameport/lightning.c outb(L4_CMD_SETCAL, L4_PORT); L4_PORT 156 drivers/input/gameport/lightning.c if (inb(L4_PORT) != L4_SELECT_DIGITAL + (port >> 2)) L4_PORT 161 drivers/input/gameport/lightning.c outb(port & 3, L4_PORT); L4_PORT 166 drivers/input/gameport/lightning.c outb(cal[i], L4_PORT); L4_PORT 171 drivers/input/gameport/lightning.c out: outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 230 drivers/input/gameport/lightning.c gameport_set_phys(port, "isa%04x/gameport%d", L4_PORT, idx); L4_PORT 233 drivers/input/gameport/lightning.c port->io = L4_PORT; L4_PORT 245 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 246 drivers/input/gameport/lightning.c outb(L4_SELECT_DIGITAL + card_no, L4_PORT); L4_PORT 248 drivers/input/gameport/lightning.c if (inb(L4_PORT) & L4_BUSY) L4_PORT 250 drivers/input/gameport/lightning.c outb(L4_CMD_ID, L4_PORT); L4_PORT 255 drivers/input/gameport/lightning.c if (inb(L4_PORT) != L4_SELECT_DIGITAL + card_no) L4_PORT 260 drivers/input/gameport/lightning.c if (inb(L4_PORT) != L4_ID) L4_PORT 265 drivers/input/gameport/lightning.c rev = inb(L4_PORT); L4_PORT 275 drivers/input/gameport/lightning.c card_no ? "secondary" : "primary", rev >> 4, rev, L4_PORT); L4_PORT 292 drivers/input/gameport/lightning.c if (!request_region(L4_PORT, 1, "lightning")) L4_PORT 299 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 302 drivers/input/gameport/lightning.c release_region(L4_PORT, 1); L4_PORT 320 drivers/input/gameport/lightning.c outb(L4_SELECT_ANALOG, L4_PORT); L4_PORT 321 drivers/input/gameport/lightning.c release_region(L4_PORT, 1);