Lines Matching refs:mb

264 	volatile struct mace *mb = mp->mace;
270 mb->biucc = SWRST;
271 if (mb->biucc & SWRST) {
282 mb->maccc = 0; /* turn off tx, rx */
283 mb->imr = 0xFF; /* disable all intrs for now */
284 i = mb->ir;
286 mb->biucc = XMTSP_64;
287 mb->utr = RTRD;
288 mb->fifocc = XMTFW_8 | RCVFW_64 | XMTFWU | RCVFWU;
290 mb->xmtfc = AUTO_PAD_XMIT; /* auto-pad short frames */
291 mb->rcvfc = 0;
298 mb->iac = LOGADDR;
300 mb->iac = ADDRCHG | LOGADDR;
301 while ((mb->iac & ADDRCHG) != 0)
305 mb->ladrf = 0;
309 mb->iac = 0;
311 mb->plscc = PORTSEL_AUI;
321 volatile struct mace *mb = mp->mace;
327 mb->iac = PHYADDR;
329 mb->iac = ADDRCHG | PHYADDR;
330 while ((mb->iac & ADDRCHG) != 0)
334 mb->padr = dev->dev_addr[i] = p[i];
336 mb->iac = 0;
342 volatile struct mace *mb = mp->mace;
348 maccc = mb->maccc;
352 mb->maccc = maccc;
367 volatile struct mace *mb = mp->mace;
409 mb->maccc = ENXMT | ENRCV;
411 mb->imr = RCVINT;
430 volatile struct mace *mb = mp->mace;
432 mb->maccc = 0; /* disable rx and tx */
433 mb->imr = 0xFF; /* disable all irqs */
482 volatile struct mace *mb = mp->mace;
489 maccc = mb->maccc;
490 mb->maccc &= ~PROM;
493 mb->maccc |= PROM;
514 mb->iac = LOGADDR;
516 mb->iac = ADDRCHG | LOGADDR;
517 while ((mb->iac & ADDRCHG) != 0)
521 mb->ladrf = multicast_filter[i];
523 mb->iac = 0;
526 mb->maccc = maccc;
533 volatile struct mace *mb = mp->mace;
538 dev->stats.rx_missed_errors += mb->mpc; /* reading clears it */
541 dev->stats.rx_length_errors += mb->rntpc; /* reading clears it */
556 volatile struct mace *mb = mp->mace;
563 intr = mb->ir; /* read interrupt register */
567 fs = mb->xmtfs;
587 if (mb->xmtfs & UFLO) {
606 volatile struct mace *mb = mp->mace;
612 mb->maccc = 0;
624 mb->maccc = ENXMT | ENRCV;
626 mb->imr = RCVINT;