Lines Matching full:ioaddr
51 /* define all ioaddr */
53 #define byPAR0 ioaddr
54 #define byRCR ioaddr + 6
55 #define byTCR ioaddr + 7
56 #define byCR0 ioaddr + 8
57 #define byCR1 ioaddr + 9
58 #define byISR0 ioaddr + 0x0c
59 #define byISR1 ioaddr + 0x0d
60 #define byIMR0 ioaddr + 0x0e
61 #define byIMR1 ioaddr + 0x0f
62 #define byMAR0 ioaddr + 0x10
63 #define byMAR1 ioaddr + 0x11
64 #define byMAR2 ioaddr + 0x12
65 #define byMAR3 ioaddr + 0x13
66 #define byMAR4 ioaddr + 0x14
67 #define byMAR5 ioaddr + 0x15
68 #define byMAR6 ioaddr + 0x16
69 #define byMAR7 ioaddr + 0x17
70 #define dwCurrentRxDescAddr ioaddr + 0x18
71 #define dwCurrentTxDescAddr ioaddr + 0x1c
72 #define dwCurrentRDSE0 ioaddr + 0x20
73 #define dwCurrentRDSE1 ioaddr + 0x24
74 #define dwCurrentRDSE2 ioaddr + 0x28
75 #define dwCurrentRDSE3 ioaddr + 0x2c
76 #define dwNextRDSE0 ioaddr + 0x30
77 #define dwNextRDSE1 ioaddr + 0x34
78 #define dwNextRDSE2 ioaddr + 0x38
79 #define dwNextRDSE3 ioaddr + 0x3c
80 #define dwCurrentTDSE0 ioaddr + 0x40
81 #define dwCurrentTDSE1 ioaddr + 0x44
82 #define dwCurrentTDSE2 ioaddr + 0x48
83 #define dwCurrentTDSE3 ioaddr + 0x4c
84 #define dwNextTDSE0 ioaddr + 0x50
85 #define dwNextTDSE1 ioaddr + 0x54
86 #define dwNextTDSE2 ioaddr + 0x58
87 #define dwNextTDSE3 ioaddr + 0x5c
88 #define dwCurrRxDMAPtr ioaddr + 0x60
89 #define dwCurrTxDMAPtr ioaddr + 0x64
90 #define byMPHY ioaddr + 0x6c
91 #define byMIISR ioaddr + 0x6d
92 #define byBCR0 ioaddr + 0x6e
93 #define byBCR1 ioaddr + 0x6f
94 #define byMIICR ioaddr + 0x70
95 #define byMIIAD ioaddr + 0x71
96 #define wMIIDATA ioaddr + 0x72
97 #define byEECSR ioaddr + 0x74
98 #define byTEST ioaddr + 0x75
99 #define byGPIO ioaddr + 0x76
100 #define byCFGA ioaddr + 0x78
101 #define byCFGB ioaddr + 0x79
102 #define byCFGC ioaddr + 0x7a
103 #define byCFGD ioaddr + 0x7b
104 #define wTallyCntMPA ioaddr + 0x7c
105 #define wTallyCntCRC ioaddr + 0x7d
639 unsigned short ioaddr;
655 static struct nic *rhine_probe1 (struct nic *dev, int ioaddr,
716 QueryAuto (int ioaddr)
725 MIIReturn = ReadMII (byMIIIndex, ioaddr);
729 MIIReturn = ReadMII (byMIIIndex, ioaddr);
742 ReadMII (int byMIIIndex, int ioaddr)
780 WriteMII (char byMIISetByte, char byMIISetBit, char byMIIOP, int ioaddr)
861 if (!pci->ioaddr)
863 nic = rhine_probe1 (nic, pci->ioaddr, 0, -1);
877 rhine_probe1 (struct nic *nic, int ioaddr, int chip_id, int options)
891 printf ("IO address %hX Ethernet Address: %!\n", ioaddr, nic->node_addr);
894 WriteMII (0, 9, 1, ioaddr);
902 if (ReadMII (1, ioaddr) & 0x0020)
909 printf("MII : Address %hhX ",inb(ioaddr+0x6c));
913 st1=ReadMII(1,ioaddr)>>8;
914 st2=ReadMII(1,ioaddr)&0xFF;
915 adv1=ReadMII(4,ioaddr)>>8;
916 adv2=ReadMII(4,ioaddr)&0xFF;
917 l1=ReadMII(5,ioaddr)>>8;
918 l2=ReadMII(5,ioaddr)&0xFF;
924 byMIIvalue = inb (ioaddr + 0x6d);
935 FDXFlag = QueryAuto (ioaddr);
948 WriteMII (17, 1, 1, ioaddr);
963 tp->ioaddr = ioaddr;
981 int ioaddr = tp->ioaddr;
997 int ioaddr = tp->ioaddr;
1019 /*outb(CmdReset, ioaddr + ChipCmd); */
1081 FDXFlag = QueryAuto (ioaddr);
1135 int ioaddr = tp->ioaddr;