Lines Matching defs:GetByte
338 #define GetByte(reg) ((unsigned)inb(ioaddr + (reg)))
388 d = GetByte(XIRCREG2_GPR2); /* read MDIO */
985 saved_page = GetByte(XIRCREG_PR);
989 int_status = GetByte(XIRCREG_ISR);
996 eth_status = GetByte(XIRCREG_ESR);
999 rx_status = GetByte(XIRCREG40_RXST0);
1001 tx_status = GetByte(XIRCREG40_TXST0);
1002 tx_status |= GetByte(XIRCREG40_TXST1) << 8;
1012 rsr = GetByte(XIRCREG0_RSR);
1046 buf[i] = GetByte(XIRCREG_EDP);
1088 eth_status = GetByte(XIRCREG_ESR);
1101 nn = GetByte(XIRCREG0_PTR);
1144 if (int_status != 0xff && (int_status = GetByte(XIRCREG_ISR)) != 0)
1299 value = GetByte(XIRCREG42_SWC1) & 0xC0;
1454 local->silicon = local->mohawk ? (GetByte(XIRCREG4_BOV) & 0x70) >> 4
1455 : (GetByte(XIRCREG4_BOV) & 0x30) >> 4;
1477 value = GetByte(XIRCREG1_ECR);
1512 PutByte(XIRCREG2_MSR, GetByte(XIRCREG2_MSR) | 0x08);
1525 PutByte(XIRCREG1_ECR, GetByte(XIRCREG1_ECR | FullDuplex));
1528 value = GetByte(XIRCREG_ESR); /* read the ESR */
1556 if (!(GetByte(0x10) & 0x01))
1626 dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2;