Lines Matching defs:GetByte
308 #define GetByte(reg) ((unsigned)inb(ioaddr + (reg)))
325 pr_cont(" %2.2x", GetByte(i));
331 pr_cont(" %2.2x", GetByte(i));
341 pr_cont(" %2.2x", GetByte(i));
405 d = GetByte(XIRCREG2_GPR2); /* read MDIO */
1003 saved_page = GetByte(XIRCREG_PR);
1007 int_status = GetByte(XIRCREG_ISR);
1014 eth_status = GetByte(XIRCREG_ESR);
1017 rx_status = GetByte(XIRCREG40_RXST0);
1019 tx_status = GetByte(XIRCREG40_TXST0);
1020 tx_status |= GetByte(XIRCREG40_TXST1) << 8;
1030 rsr = GetByte(XIRCREG0_RSR);
1063 buf[i] = GetByte(XIRCREG_EDP);
1128 eth_status = GetByte(XIRCREG_ESR);
1141 nn = GetByte(XIRCREG0_PTR);
1184 if (int_status != 0xff && (int_status = GetByte(XIRCREG_ISR)) != 0)
1346 value = GetByte(XIRCREG42_SWC1) & 0xC0;
1501 local->silicon = local->mohawk ? (GetByte(XIRCREG4_BOV) & 0x70) >> 4
1502 : (GetByte(XIRCREG4_BOV) & 0x30) >> 4;
1522 value = GetByte(XIRCREG_ESR); /* read the ESR */
1531 value = GetByte(XIRCREG1_ECR);
1575 PutByte(XIRCREG2_MSR, GetByte(XIRCREG2_MSR) | 0x08);
1587 PutByte(XIRCREG1_ECR, GetByte(XIRCREG1_ECR | FullDuplex));
1590 value = GetByte(XIRCREG_ESR); /* read the ESR */
1618 if (!(GetByte(0x10) & 0x01))
1690 dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2;