Lines Matching refs:lregs
237 void __iomem *lregs; /* Lance RAP/RDP regs. */ member
277 do { void __iomem *__base = (__lp)->lregs; \
304 sbus_writew(LE_CSR1, lp->lregs + RAP); in load_csrs()
305 sbus_writew(leptr & 0xffff, lp->lregs + RDP); in load_csrs()
306 sbus_writew(LE_CSR2, lp->lregs + RAP); in load_csrs()
307 sbus_writew(leptr >> 16, lp->lregs + RDP); in load_csrs()
308 sbus_writew(LE_CSR3, lp->lregs + RAP); in load_csrs()
309 sbus_writew(lp->busmaster_regval, lp->lregs + RDP); in load_csrs()
312 sbus_writew(LE_CSR0, lp->lregs + RAP); in load_csrs()
470 sbus_writew(LE_CSR0, lp->lregs + RAP); in init_restart_lance()
471 sbus_writew(LE_C0_INIT, lp->lregs + RDP); in init_restart_lance()
475 regval = sbus_readw(lp->lregs + RDP); in init_restart_lance()
490 sbus_writew(LE_C0_IDON, lp->lregs + RDP); in init_restart_lance()
491 sbus_writew(LE_C0_INEA | LE_C0_STRT, lp->lregs + RDP); in init_restart_lance()
816 sbus_writew(LE_CSR0, lp->lregs + RAP); in lance_interrupt()
817 csr0 = sbus_readw(lp->lregs + RDP); in lance_interrupt()
821 lp->lregs + RDP); in lance_interrupt()
827 lp->lregs + RDP); in lance_interrupt()
853 sbus_writew(LE_C0_STOP, lp->lregs + RDP); in lance_interrupt()
868 sbus_writew(LE_C0_INEA, lp->lregs + RDP); in lance_interrupt()
955 sbus_writew(LE_C0_INEA | LE_C0_TDMD, lp->lregs + RDP); in lance_open()
1100 dev->name, sbus_readw(lp->lregs + RDP)); in lance_tx_timeout()
1143 sbus_writew(LE_C0_INEA | LE_C0_TDMD, lp->lregs + RDP); in lance_start_xmit()
1149 sbus_readw(lp->lregs + RDP); in lance_start_xmit()
1257 if (lp->lregs) in lance_free_hwresources()
1258 of_iounmap(&lp->op->resource[0], lp->lregs, LANCE_REG_SIZE); in lance_free_hwresources()
1322 lp->lregs = of_ioremap(&op->resource[0], 0, in sparc_lance_probe_one()
1324 if (!lp->lregs) { in sparc_lance_probe_one()