Lines Matching defs:io
30 static unsigned int io[] = {0,0,0,0};
35 module_param_array(io, int, NULL, 0);
78 pr_debug("I/O Base for board %d is 0x%x, %s probe\n", b, io[b],
79 io[b] == 0 ? "will" : "won't");
80 if(io[b]) {
85 if(!request_region(io[b] + i * 0x400, 1, "sc test")) {
86 pr_debug("request_region for 0x%x failed\n", io[b] + i * 0x400);
87 io[b] = 0;
90 release_region(io[b] + i * 0x400, 1);
96 if(io[b] == 0) {
101 outb(0x18, io[b] + 0x400 * EXP_PAGE0);
102 if(inb(io[b] + 0x400 * EXP_PAGE0) != 0x18) {
104 io[b] + 0x400 * EXP_PAGE0);
135 io[b] = i;
136 outb(0x18, io[b] + 0x400 * EXP_PAGE0);
137 if(inb(io[b] + 0x400 * EXP_PAGE0) != 0x18) {
155 outb(0xFF, io[b] + RESET_OFFSET);
169 model = identify_board(ram[b], io[b]);
182 model = identify_board(i, io[b]);
349 sc_adapter[cinst]->iobase = io[b];
351 sc_adapter[cinst]->ioport[i] = io[b] + i * 0x400;
357 sc_adapter[cinst]->ioport[IRQ_SELECT] = io[b] + 0x2;
369 boardname[model], channels, irq[b], io[b], ram[b]);
449 pr_debug("Attempting to identify adapter @ 0x%lx io 0x%x\n",