Lines Matching full:ll
107 volatile struct lance_regs *ll; member
134 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
138 ll->rap = LE_CSR1; in load_csrs()
139 ll->rdp = (leptr & 0xFFFF); in load_csrs()
140 ll->rap = LE_CSR2; in load_csrs()
141 ll->rdp = leptr >> 16; in load_csrs()
142 ll->rap = LE_CSR3; in load_csrs()
143 ll->rdp = lp->busmaster_regval; in load_csrs()
146 ll->rap = LE_CSR0; in load_csrs()
224 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
227 ll->rap = LE_CSR0; in init_restart_lance()
228 ll->rdp = LE_C0_INIT; in init_restart_lance()
231 for (i = 0; (i < 100) && !(ll->rdp & (LE_C0_ERR | LE_C0_IDON)); i++) in init_restart_lance()
233 if ((i == 100) || (ll->rdp & LE_C0_ERR)) { in init_restart_lance()
234 pr_err("unopened after %d ticks, csr0=%04x\n", i, ll->rdp); in init_restart_lance()
239 ll->rdp = LE_C0_IDON; in init_restart_lance()
240 ll->rdp = LE_C0_INEA | LE_C0_STRT; in init_restart_lance()
249 volatile struct lance_regs *ll = lp->ll; in lance_rx() local
269 ll->rdp = LE_C0_RINT | LE_C0_INEA; in lance_rx()
328 volatile struct lance_regs *ll = lp->ll; in lance_tx() local
334 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
361 ll->rap = LE_CSR0; in lance_tx()
362 ll->rdp = LE_C0_STOP; in lance_tx()
378 ll->rap = LE_CSR0; in lance_tx()
379 ll->rdp = LE_C0_STOP; in lance_tx()
403 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
418 volatile struct lance_regs *ll = lp->ll; in lance_interrupt() local
421 ll->rap = LE_CSR0; /* LANCE Controller Status */ in lance_interrupt()
422 csr0 = ll->rdp; in lance_interrupt()
428 ll->rdp = csr0 & ~(LE_C0_INEA | LE_C0_TDMD | LE_C0_STOP | LE_C0_STRT | in lance_interrupt()
433 ll->rdp = LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | LE_C0_INEA; in lance_interrupt()
451 ll->rdp = LE_C0_STRT; in lance_interrupt()
457 ll->rap = LE_CSR0; in lance_interrupt()
458 ll->rdp = (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_MERR | in lance_interrupt()
466 volatile struct lance_regs *ll = lp->ll; in lance_open() local
470 ll->rap = LE_CSR0; in lance_open()
471 ll->rdp = LE_C0_STOP; in lance_open()
490 volatile struct lance_regs *ll = lp->ll; in lance_close() local
496 ll->rap = LE_CSR0; in lance_close()
497 ll->rdp = LE_C0_STOP; in lance_close()
506 volatile struct lance_regs *ll = lp->ll; in lance_reset() local
510 ll->rap = LE_CSR0; in lance_reset()
511 ll->rdp = LE_C0_STOP; in lance_reset()
528 volatile struct lance_regs *ll = lp->ll; in lance_tx_timeout() local
530 netdev_err(dev, "transmit timed out, status %04x, reset\n", ll->rdp); in lance_tx_timeout()
539 volatile struct lance_regs *ll = lp->ll; in lance_start_xmit() local
574 ll->rdp = LE_C0_INEA | LE_C0_TDMD; in lance_start_xmit()
614 volatile struct lance_regs *ll = lp->ll; in lance_set_multicast() local
627 ll->rap = LE_CSR0; in lance_set_multicast()
628 ll->rdp = LE_C0_STOP; in lance_set_multicast()
729 priv->ll = (volatile struct lance_regs *)dev->base_addr; in a2065_init_one()