Lines Matching refs:ll
106 volatile struct lance_regs *ll; member
132 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
136 ll->rap = LE_CSR1; in load_csrs()
137 ll->rdp = (leptr & 0xFFFF); in load_csrs()
138 ll->rap = LE_CSR2; in load_csrs()
139 ll->rdp = leptr >> 16; in load_csrs()
140 ll->rap = LE_CSR3; in load_csrs()
141 ll->rdp = lp->busmaster_regval; in load_csrs()
144 ll->rap = LE_CSR0; in load_csrs()
222 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
225 ll->rap = LE_CSR0; in init_restart_lance()
226 ll->rdp = LE_C0_INIT; in init_restart_lance()
229 for (i = 0; (i < 100) && !(ll->rdp & (LE_C0_ERR | LE_C0_IDON)); i++) in init_restart_lance()
231 if ((i == 100) || (ll->rdp & LE_C0_ERR)) { in init_restart_lance()
232 pr_err("unopened after %d ticks, csr0=%04x\n", i, ll->rdp); in init_restart_lance()
237 ll->rdp = LE_C0_IDON; in init_restart_lance()
238 ll->rdp = LE_C0_INEA | LE_C0_STRT; in init_restart_lance()
247 volatile struct lance_regs *ll = lp->ll; in lance_rx() local
267 ll->rdp = LE_C0_RINT | LE_C0_INEA; in lance_rx()
326 volatile struct lance_regs *ll = lp->ll; in lance_tx() local
332 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
359 ll->rap = LE_CSR0; in lance_tx()
360 ll->rdp = LE_C0_STOP; in lance_tx()
376 ll->rap = LE_CSR0; in lance_tx()
377 ll->rdp = LE_C0_STOP; in lance_tx()
401 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
416 volatile struct lance_regs *ll = lp->ll; in lance_interrupt() local
419 ll->rap = LE_CSR0; /* LANCE Controller Status */ in lance_interrupt()
420 csr0 = ll->rdp; in lance_interrupt()
426 ll->rdp = csr0 & ~(LE_C0_INEA | LE_C0_TDMD | LE_C0_STOP | LE_C0_STRT | in lance_interrupt()
431 ll->rdp = LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | LE_C0_INEA; in lance_interrupt()
449 ll->rdp = LE_C0_STRT; in lance_interrupt()
455 ll->rap = LE_CSR0; in lance_interrupt()
456 ll->rdp = (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_MERR | in lance_interrupt()
464 volatile struct lance_regs *ll = lp->ll; in lance_open() local
468 ll->rap = LE_CSR0; in lance_open()
469 ll->rdp = LE_C0_STOP; in lance_open()
488 volatile struct lance_regs *ll = lp->ll; in lance_close() local
494 ll->rap = LE_CSR0; in lance_close()
495 ll->rdp = LE_C0_STOP; in lance_close()
504 volatile struct lance_regs *ll = lp->ll; in lance_reset() local
508 ll->rap = LE_CSR0; in lance_reset()
509 ll->rdp = LE_C0_STOP; in lance_reset()
526 volatile struct lance_regs *ll = lp->ll; in lance_tx_timeout() local
528 netdev_err(dev, "transmit timed out, status %04x, reset\n", ll->rdp); in lance_tx_timeout()
537 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()
613 volatile struct lance_regs *ll = lp->ll; in lance_set_multicast() local
626 ll->rap = LE_CSR0; in lance_set_multicast()
627 ll->rdp = LE_C0_STOP; in lance_set_multicast()
720 priv->ll = (volatile struct lance_regs *)dev->base_addr; in a2065_init_one()