Lines Matching refs:ll
107 volatile struct lance_regs *ll; member
130 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
134 ll->rap = LE_CSR1; in load_csrs()
135 ll->rdp = (leptr & 0xFFFF); in load_csrs()
136 ll->rap = LE_CSR2; in load_csrs()
137 ll->rdp = leptr >> 16; in load_csrs()
138 ll->rap = LE_CSR3; in load_csrs()
139 ll->rdp = lp->busmaster_regval; in load_csrs()
142 ll->rap = LE_CSR0; in load_csrs()
220 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
223 ll->rap = LE_CSR0; in init_restart_lance()
224 ll->rdp = LE_C0_INIT; in init_restart_lance()
227 for (i = 0; (i < 100) && !(ll->rdp & (LE_C0_ERR | LE_C0_IDON)); i++) in init_restart_lance()
229 if ((i == 100) || (ll->rdp & LE_C0_ERR)) { in init_restart_lance()
230 pr_err("unopened after %d ticks, csr0=%04x\n", i, ll->rdp); in init_restart_lance()
235 ll->rdp = LE_C0_IDON; in init_restart_lance()
236 ll->rdp = LE_C0_INEA | LE_C0_STRT; in init_restart_lance()
245 volatile struct lance_regs *ll = lp->ll; in lance_rx() local
265 ll->rdp = LE_C0_RINT | LE_C0_INEA; in lance_rx()
324 volatile struct lance_regs *ll = lp->ll; in lance_tx() local
330 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
357 ll->rap = LE_CSR0; in lance_tx()
358 ll->rdp = LE_C0_STOP; in lance_tx()
374 ll->rap = LE_CSR0; in lance_tx()
375 ll->rdp = LE_C0_STOP; in lance_tx()
399 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
414 volatile struct lance_regs *ll = lp->ll; in lance_interrupt() local
417 ll->rap = LE_CSR0; /* LANCE Controller Status */ in lance_interrupt()
418 csr0 = ll->rdp; in lance_interrupt()
424 ll->rdp = csr0 & ~(LE_C0_INEA | LE_C0_TDMD | LE_C0_STOP | LE_C0_STRT | in lance_interrupt()
429 ll->rdp = LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | LE_C0_INEA; in lance_interrupt()
447 ll->rdp = LE_C0_STRT; in lance_interrupt()
453 ll->rap = LE_CSR0; in lance_interrupt()
454 ll->rdp = (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_MERR | in lance_interrupt()
462 volatile struct lance_regs *ll = lp->ll; in lance_open() local
466 ll->rap = LE_CSR0; in lance_open()
467 ll->rdp = LE_C0_STOP; in lance_open()
486 volatile struct lance_regs *ll = lp->ll; in lance_close() local
492 ll->rap = LE_CSR0; in lance_close()
493 ll->rdp = LE_C0_STOP; in lance_close()
502 volatile struct lance_regs *ll = lp->ll; in lance_reset() local
506 ll->rap = LE_CSR0; in lance_reset()
507 ll->rdp = LE_C0_STOP; in lance_reset()
524 volatile struct lance_regs *ll = lp->ll; in lance_tx_timeout() local
526 netdev_err(dev, "transmit timed out, status %04x, reset\n", ll->rdp); in lance_tx_timeout()
535 volatile struct lance_regs *ll = lp->ll; in lance_start_xmit() local
569 ll->rdp = LE_C0_INEA | LE_C0_TDMD; in lance_start_xmit()
609 volatile struct lance_regs *ll = lp->ll; in lance_set_multicast() local
622 ll->rap = LE_CSR0; in lance_set_multicast()
623 ll->rdp = LE_C0_STOP; in lance_set_multicast()
726 priv->ll = (volatile struct lance_regs *)dev->base_addr; in a2065_init_one()