Lines Matching refs:IOAddr
244 unsigned int IOAddr;
299 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winEepromBios0);
401 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winTxRxOptions3);
402 cfg = inl(INF_3C90X.IOAddr + regInternalConfig_3_l);
407 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdGlobalReset, 0);
410 while (inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_CMDINPROGRESS);
415 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winAddressing2);
416 outw(0, INF_3C90X.IOAddr + regStationMask_2_3w+0);
417 outw(0, INF_3C90X.IOAddr + regStationMask_2_3w+2);
418 outw(0, INF_3C90X.IOAddr + regStationMask_2_3w+4);
422 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winTxRxOptions3);
423 outl(cfg, INF_3C90X.IOAddr + regInternalConfig_3_l);
428 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdEnableDcConverter, 0);
433 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdTxReset, 0);
434 while (inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_CMDINPROGRESS)
437 outb(0x01, INF_3C90X.IOAddr + regTxFreeThresh_b);
438 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdTxEnable, 0);
445 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdRxReset, 0x04);
447 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdRxReset, 0x00);
448 while (inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_CMDINPROGRESS);
450 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdRxEnable, 0);
452 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr,
455 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr,
458 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr,
491 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdStallCtl, 2);
494 inw(INF_3C90X.IOAddr + regCommandIntStatus_w);
495 inw(INF_3C90X.IOAddr + regCommandIntStatus_w);
497 while (inw(INF_3C90X.IOAddr+regCommandIntStatus_w) &
521 INF_3C90X.IOAddr + regDnListPtr_l);
524 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdStallCtl, 3);
525 while(inl(INF_3C90X.IOAddr + regDnListPtr_l) != 0)
530 while (!(inw(INF_3C90X.IOAddr + regCommandIntStatus_w)&0x0004) &&
534 if (!(inw(INF_3C90X.IOAddr + regCommandIntStatus_w)&0x0004))
540 status = inb(INF_3C90X.IOAddr + regTxStatus_b);
543 outb(0x00, INF_3C90X.IOAddr + regTxStatus_b);
560 outb(0x00, INF_3C90X.IOAddr + regTxStatus_b);
562 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdTxEnable, 0);
568 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdTxEnable, 0);
606 if (!(inw(INF_3C90X.IOAddr + regCommandIntStatus_w)&0x0010))
625 INF_3C90X.IOAddr + regUpListPtr_l);
671 outw(cmdRxDisable, INF_3C90X.IOAddr + regCommandIntStatus_w);
672 outw(cmdTxDisable, INF_3C90X.IOAddr + regCommandIntStatus_w);
710 INF_3C90X.IOAddr = pci->ioaddr & ~3;
712 switch (a3c90x_internal_ReadEeprom(INF_3C90X.IOAddr, 0x03))
738 eeprom[i] = a3c90x_internal_ReadEeprom(INF_3C90X.IOAddr, i);
744 a3c90x_internal_WriteEeprom(INF_3C90X.IOAddr, 0x13, 0x0160);
751 a3c90x_internal_WriteEeprom(INF_3C90X.IOAddr, 0x16, 0);
758 a3c90x_internal_WriteEeprom(INF_3C90X.IOAddr, 0x16,
767 eeprom[i] = a3c90x_internal_ReadEeprom(INF_3C90X.IOAddr, i);
796 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winDiagnostics4);
797 mstat = inw(INF_3C90X.IOAddr + regMediaStatus_4_w);
804 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winAddressing2);
805 outw(htons(eeprom[HWADDR_OFFSET + 0]), INF_3C90X.IOAddr + regStationAddress_2_3w);
806 outw(htons(eeprom[HWADDR_OFFSET + 1]), INF_3C90X.IOAddr + regStationAddress_2_3w+2);
807 outw(htons(eeprom[HWADDR_OFFSET + 2]), INF_3C90X.IOAddr + regStationAddress_2_3w+4);
808 outw(0, INF_3C90X.IOAddr + regStationMask_2_3w+0);
809 outw(0, INF_3C90X.IOAddr + regStationMask_2_3w+2);
810 outw(0, INF_3C90X.IOAddr + regStationMask_2_3w+4);
822 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winTxRxOptions3);
823 mopt = inw(INF_3C90X.IOAddr + regResetMediaOptions_3_w);
907 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdEnableDcConverter, 0);
911 a3c90x_internal_SetWindow(INF_3C90X.IOAddr, winTxRxOptions3);
912 cfg = inl(INF_3C90X.IOAddr + regInternalConfig_3_l);
915 outl(cfg, INF_3C90X.IOAddr + regInternalConfig_3_l);
918 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdTxReset, 0x00);
919 while (inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_CMDINPROGRESS)
923 outb(0x01, INF_3C90X.IOAddr + regTxFreeThresh_b);
925 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdTxEnable, 0);
932 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdRxReset, 0x04);
934 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdRxReset, 0x00);
935 while (inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_CMDINPROGRESS)
939 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdSetRxFilter, 0x01 + 0x02 + 0x04);
940 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdRxEnable, 0);
946 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr, cmdSetInterruptEnable, 0);
947 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr,
949 a3c90x_internal_IssueCommand(INF_3C90X.IOAddr,