Lines Matching refs:ll

107 	volatile struct lance_regs *ll;  member
133 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
137 ll->rap = LE_CSR1; in load_csrs()
138 ll->rdp = (leptr & 0xFFFF); in load_csrs()
139 ll->rap = LE_CSR2; in load_csrs()
140 ll->rdp = leptr >> 16; in load_csrs()
141 ll->rap = LE_CSR3; in load_csrs()
142 ll->rdp = lp->busmaster_regval; in load_csrs()
145 ll->rap = LE_CSR0; in load_csrs()
223 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
226 ll->rap = LE_CSR0; in init_restart_lance()
227 ll->rdp = LE_C0_INIT; in init_restart_lance()
230 for (i = 0; (i < 100) && !(ll->rdp & (LE_C0_ERR | LE_C0_IDON)); i++) in init_restart_lance()
232 if ((i == 100) || (ll->rdp & LE_C0_ERR)) { in init_restart_lance()
233 pr_err("unopened after %d ticks, csr0=%04x\n", i, ll->rdp); in init_restart_lance()
238 ll->rdp = LE_C0_IDON; in init_restart_lance()
239 ll->rdp = LE_C0_INEA | LE_C0_STRT; in init_restart_lance()
248 volatile struct lance_regs *ll = lp->ll; in lance_rx() local
268 ll->rdp = LE_C0_RINT | LE_C0_INEA; in lance_rx()
327 volatile struct lance_regs *ll = lp->ll; in lance_tx() local
333 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
360 ll->rap = LE_CSR0; in lance_tx()
361 ll->rdp = LE_C0_STOP; in lance_tx()
377 ll->rap = LE_CSR0; in lance_tx()
378 ll->rdp = LE_C0_STOP; in lance_tx()
402 ll->rdp = LE_C0_TINT | LE_C0_INEA; in lance_tx()
417 volatile struct lance_regs *ll = lp->ll; in lance_interrupt() local
420 ll->rap = LE_CSR0; /* LANCE Controller Status */ in lance_interrupt()
421 csr0 = ll->rdp; in lance_interrupt()
427 ll->rdp = csr0 & ~(LE_C0_INEA | LE_C0_TDMD | LE_C0_STOP | LE_C0_STRT | in lance_interrupt()
432 ll->rdp = LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | LE_C0_INEA; in lance_interrupt()
450 ll->rdp = LE_C0_STRT; in lance_interrupt()
456 ll->rap = LE_CSR0; in lance_interrupt()
457 ll->rdp = (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_MERR | in lance_interrupt()
465 volatile struct lance_regs *ll = lp->ll; in lance_open() local
469 ll->rap = LE_CSR0; in lance_open()
470 ll->rdp = LE_C0_STOP; in lance_open()
489 volatile struct lance_regs *ll = lp->ll; in lance_close() local
495 ll->rap = LE_CSR0; in lance_close()
496 ll->rdp = LE_C0_STOP; in lance_close()
505 volatile struct lance_regs *ll = lp->ll; in lance_reset() local
509 ll->rap = LE_CSR0; in lance_reset()
510 ll->rdp = LE_C0_STOP; in lance_reset()
527 volatile struct lance_regs *ll = lp->ll; in lance_tx_timeout() local
529 netdev_err(dev, "transmit timed out, status %04x, reset\n", ll->rdp); in lance_tx_timeout()
538 volatile struct lance_regs *ll = lp->ll; in lance_start_xmit() local
575 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()
723 priv->ll = (volatile struct lance_regs *)dev->base_addr; in a2065_init_one()