Lines Matching refs:ports
219 static unsigned short ports[] = { 0x230, 0x330, 0x280, 0x290, 0x330, 0x340, 0x300, 0x310, 0x348, 0x350 };
220 #define PORT_COUNT ARRAY_SIZE(ports)
478 if (!request_region(port_base, 0x10, "NCR53c406a")) /* ports already snatched */
487 if (!request_region(ports[i], 0x10, "NCR53c406a")) {
488 DEB(printk("NCR53c406a: port 0x%x in use\n", ports[i]));
490 VDEB(printk("NCR53c406a: port 0x%x available\n", ports[i]));
491 outb(C5_IMG, ports[i] + 0x0d); /* reg set 1 */
492 if ((inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7 && (inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7 && (inb(ports[i] + 0x0e) & 0xf8) == 0x58) {
493 port_base = ports[i];
498 release_region(ports[i], 0x10);
504 if (!port_base) { /* no ports found */
505 printk("NCR53c406a: no available ports found\n");
631 if (ports[i] == ints[1]) {