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 */
997 saved_page = GetByte(XIRCREG_PR);
1001 int_status = GetByte(XIRCREG_ISR);
1008 eth_status = GetByte(XIRCREG_ESR);
1011 rx_status = GetByte(XIRCREG40_RXST0);
1013 tx_status = GetByte(XIRCREG40_TXST0);
1014 tx_status |= GetByte(XIRCREG40_TXST1) << 8;
1024 rsr = GetByte(XIRCREG0_RSR);
1057 buf[i] = GetByte(XIRCREG_EDP);
1122 eth_status = GetByte(XIRCREG_ESR);
1135 nn = GetByte(XIRCREG0_PTR);
1178 if (int_status != 0xff && (int_status = GetByte(XIRCREG_ISR)) != 0)
1340 value = GetByte(XIRCREG42_SWC1) & 0xC0;
1495 local->silicon = local->mohawk ? (GetByte(XIRCREG4_BOV) & 0x70) >> 4
1496 : (GetByte(XIRCREG4_BOV) & 0x30) >> 4;
1516 value = GetByte(XIRCREG_ESR); /* read the ESR */
1525 value = GetByte(XIRCREG1_ECR);
1569 PutByte(XIRCREG2_MSR, GetByte(XIRCREG2_MSR) | 0x08);
1581 PutByte(XIRCREG1_ECR, GetByte(XIRCREG1_ECR | FullDuplex));
1584 value = GetByte(XIRCREG_ESR); /* read the ESR */
1612 if (!(GetByte(0x10) & 0x01))
1684 dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2;