Lines Matching refs:in_8
173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe()
174 in_8(&mp->mace->chipid_lo); in mace_probe()
328 if (in_8(&mb->biucc) & SWRST) { in mace_reset()
340 i = in_8(&mb->ir); in mace_reset()
357 while ((in_8(&mb->iac) & ADDRCHG) != 0) in mace_reset()
386 while ((in_8(&mb->iac) & ADDRCHG) != 0) in __mace_set_address()
628 while ((in_8(&mb->iac) & ADDRCHG) != 0) in mace_set_multicast()
648 dev->stats.rx_missed_errors += in_8(&mb->mpc); /* reading clears it */ in mace_handle_misc_intrs()
651 dev->stats.rx_length_errors += in_8(&mb->rntpc); /* reading clears it */ in mace_handle_misc_intrs()
675 intr = in_8(&mb->ir); /* read interrupt register */ in mace_interrupt()
676 in_8(&mb->xmtrc); /* get retries */ in mace_interrupt()
680 while (in_8(&mb->pr) & XMTSV) { in mace_interrupt()
688 intr = in_8(&mb->ir); in mace_interrupt()
692 fs = in_8(&mb->xmtfs); in mace_interrupt()
704 xcount = (in_8(&mb->fifofc) >> XMTFC_SH) & XMTFC_MASK; in mace_interrupt()
719 fs = in_8(&mb->xmtfs); in mace_interrupt()
737 x = (in_8(&mb->fifofc) >> XMTFC_SH) & XMTFC_MASK; in mace_interrupt()
749 out_8(&mb->maccc, in_8(&mb->maccc) & ~ENXMT); in mace_interrupt()
750 out_8(&mb->fifocc, in_8(&mb->fifocc) | XMTFWU); in mace_interrupt()
752 out_8(&mb->maccc, in_8(&mb->maccc) | ENXMT); in mace_interrupt()
825 mace_handle_misc_intrs(mp, in_8(&mb->ir), dev); in mace_tx_timeout()