Lines Matching refs:ports
2934 static unsigned short ports[] = { 0x340, 0x140 }; variable
3031 for (i = 0; i < ARRAY_SIZE(ports) && (setup->io_port != ports[i]); i++) in checksetup()
3034 if (i == ARRAY_SIZE(ports)) in checksetup()
3278 for (i = 0; i < ARRAY_SIZE(ports) && setup_count < 2; i++) { in aha152x_init()
3279 if ((setup_count == 1) && (setup[0].io_port == ports[i])) in aha152x_init()
3282 if (!request_region(ports[i], IO_RANGE, "aha152x")) { in aha152x_init()
3283 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]); in aha152x_init()
3287 if (aha152x_porttest(ports[i])) { in aha152x_init()
3291 (GETPORT(ports[i] + O_PORTA) << 8) + GETPORT(ports[i] + O_PORTB); in aha152x_init()
3292 } else if (tc1550_porttest(ports[i])) { in aha152x_init()
3296 (GETPORT(ports[i] + O_TC_PORTA) << 8) + GETPORT(ports[i] + O_TC_PORTB); in aha152x_init()
3298 release_region(ports[i], IO_RANGE); in aha152x_init()
3302 release_region(ports[i], IO_RANGE); in aha152x_init()
3305 setup[setup_count].io_port = ports[i]; in aha152x_init()