Lines Matching refs:io_base
182 devc->base = hw_config->io_base;
699 devc->base = hw_config->io_base;
720 release_region(hw_config->io_base, 0x10);
721 release_region(hw_config->io_base+0x10, 0x9);
727 release_region(hw_config->io_base, 0x10);
728 release_region(hw_config->io_base+0x10, 0x9);
734 release_region(hw_config->io_base, 0x10);
735 release_region(hw_config->io_base+0x10, 0x9);
755 ports = request_region(hw_config->io_base, 2, "mpu401");
761 if (!set_io_base(devc, CONF_MIDI, hw_config->io_base)) {
785 if ((inb(hw_config->io_base + 1) & 0x80) == 0) /* Input data avail */
786 inb(hw_config->io_base); /* Discard it */
799 release_region(hw_config->io_base, 2);
1050 if (!request_region(hw_config->io_base, 4, "WSS config")) {
1054 ports = request_region(hw_config->io_base + 4, 4, "ad1848");
1057 release_region(hw_config->io_base, 4);
1060 if (!set_io_base(devc, CONF_WSS, hw_config->io_base)) {
1078 for (timeout = 0; timeout < 100000 && (inb(hw_config->io_base + WSS_INDEX) &
1082 outb((0x0b), hw_config->io_base + WSS_INDEX); /* Required by some cards */
1084 for (timeout = 0; (inb(hw_config->io_base + WSS_DATA) & WSS_AUTOCALIBRATION) &&
1119 release_region(hw_config->io_base + 4, 4);
1120 release_region(hw_config->io_base, 4);
1126 release_region(hw_config->io_base, 0x10);
1127 release_region(hw_config->io_base+0x10, 0x9);
1196 cfg.io_base = pss_io;
1208 cfg.io_base = pss_io;
1210 cfg2.io_base = mss_io;
1214 cfg_mpu.io_base = mpu_io;
1217 if (cfg.io_base == -1 || cfg2.io_base == -1 || cfg2.irq == -1 || cfg.dma == -1) {