Lines Matching refs:mb

266 	volatile struct mace *mb = mp->mace;
272 mb->biucc = SWRST;
273 if (mb->biucc & SWRST) {
284 mb->maccc = 0; /* turn off tx, rx */
285 mb->imr = 0xFF; /* disable all intrs for now */
286 i = mb->ir;
288 mb->biucc = XMTSP_64;
289 mb->utr = RTRD;
290 mb->fifocc = XMTFW_8 | RCVFW_64 | XMTFWU | RCVFWU;
292 mb->xmtfc = AUTO_PAD_XMIT; /* auto-pad short frames */
293 mb->rcvfc = 0;
300 mb->iac = LOGADDR;
302 mb->iac = ADDRCHG | LOGADDR;
303 while ((mb->iac & ADDRCHG) != 0)
307 mb->ladrf = 0;
311 mb->iac = 0;
313 mb->plscc = PORTSEL_AUI;
323 volatile struct mace *mb = mp->mace;
330 mb->iac = PHYADDR;
332 mb->iac = ADDRCHG | PHYADDR;
333 while ((mb->iac & ADDRCHG) != 0)
337 mb->padr = macaddr[i] = p[i];
340 mb->iac = 0;
346 volatile struct mace *mb = mp->mace;
352 maccc = mb->maccc;
356 mb->maccc = maccc;
371 volatile struct mace *mb = mp->mace;
413 mb->maccc = ENXMT | ENRCV;
415 mb->imr = RCVINT;
434 volatile struct mace *mb = mp->mace;
436 mb->maccc = 0; /* disable rx and tx */
437 mb->imr = 0xFF; /* disable all irqs */
486 volatile struct mace *mb = mp->mace;
493 maccc = mb->maccc;
494 mb->maccc &= ~PROM;
497 mb->maccc |= PROM;
518 mb->iac = LOGADDR;
520 mb->iac = ADDRCHG | LOGADDR;
521 while ((mb->iac & ADDRCHG) != 0)
525 mb->ladrf = multicast_filter[i];
527 mb->iac = 0;
530 mb->maccc = maccc;
537 volatile struct mace *mb = mp->mace;
542 dev->stats.rx_missed_errors += mb->mpc; /* reading clears it */
545 dev->stats.rx_length_errors += mb->rntpc; /* reading clears it */
560 volatile struct mace *mb = mp->mace;
567 intr = mb->ir; /* read interrupt register */
571 fs = mb->xmtfs;
591 if (mb->xmtfs & UFLO) {
610 volatile struct mace *mb = mp->mace;
616 mb->maccc = 0;
628 mb->maccc = ENXMT | ENRCV;
630 mb->imr = RCVINT;