Lines Matching refs:ioaddr

255 a3c90x_internal_IssueCommand(int ioaddr, int cmd, int param)
265 outw(val, ioaddr + regCommandIntStatus_w);
268 while (inw(ioaddr + regCommandIntStatus_w) & INT_CMDINPROGRESS);
277 a3c90x_internal_SetWindow(int ioaddr, int window)
284 a3c90x_internal_IssueCommand(ioaddr, cmdSelectRegisterWindow, window);
294 a3c90x_internal_ReadEeprom(int ioaddr, int address)
302 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
305 outw(address + ((0x02)<<6), ioaddr + regEepromCommand_0_w);
306 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
307 val = inw(ioaddr + regEepromData_0_w);
320 a3c90x_internal_WriteEepromWord(int ioaddr, int address, unsigned short value)
323 a3c90x_internal_SetWindow(ioaddr, winEepromBios0);
326 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
329 outw(0x30, ioaddr + regEepromCommand_0_w);
330 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
333 outw(address + ((0x03)<<6), ioaddr + regEepromCommand_0_w);
334 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
337 outw(value, ioaddr + regEepromData_0_w);
338 outw(0x30, ioaddr + regEepromCommand_0_w);
339 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
342 outw(address + ((0x01)<<6), ioaddr + regEepromCommand_0_w);
343 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
354 a3c90x_internal_WriteEeprom(int ioaddr, int address, unsigned short value)
372 if (a3c90x_internal_WriteEepromWord(ioaddr, address, value) == -1)
378 v = a3c90x_internal_ReadEeprom(ioaddr, i);
383 if (a3c90x_internal_WriteEepromWord(ioaddr, cksumAddress, cksum) == -1)
702 if (pci->ioaddr == 0)
707 nic->ioaddr = pci->ioaddr & ~3;
710 INF_3C90X.IOAddr = pci->ioaddr & ~3;