Lines Matching refs:io_port
72 int io_port = joystick_port[dev];
74 if (!io_port)
79 if (io_port == 1) {
81 io_port = pci_resource_start(chip->pci, 2);
82 if (!io_port)
86 if (io_port == 1) {
88 for (io_port = 0x201; io_port <= 0x205; io_port++) {
89 if (io_port == 0x203)
91 r = request_region(io_port, 1, "YMFPCI gameport");
101 switch (io_port) {
108 "invalid joystick port %#x", io_port);
114 r = request_region(io_port, 1, "YMFPCI gameport");
117 "joystick port %#x is in use.\n", io_port);
134 gp->io = io_port;
138 pci_write_config_word(chip->pci, PCIR_DSXG_JOYBASE, io_port);