Lines Matching refs:writereg
294 static inline void writereg(volatile unsigned short *regptr, short value) in writereg() function
311 writereg(&ll->rap, LE_CSR1); in load_csrs()
312 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
313 writereg(&ll->rap, LE_CSR2); in load_csrs()
314 writereg(&ll->rdp, leptr >> 16); in load_csrs()
315 writereg(&ll->rap, LE_CSR3); in load_csrs()
316 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs()
319 writereg(&ll->rap, LE_CSR0); in load_csrs()
530 writereg(&ll->rap, LE_CSR0); in init_restart_lance()
531 writereg(&ll->rdp, LE_C0_INIT); in init_restart_lance()
547 writereg(&ll->rdp, LE_C0_IDON); in init_restart_lance()
548 writereg(&ll->rdp, LE_C0_STRT); in init_restart_lance()
549 writereg(&ll->rdp, LE_C0_INEA); in init_restart_lance()
673 writereg(&ll->rap, LE_CSR0); in lance_tx()
674 writereg(&ll->rdp, LE_C0_STOP); in lance_tx()
689 writereg(&ll->rap, LE_CSR0); in lance_tx()
690 writereg(&ll->rdp, LE_C0_STOP); in lance_tx()
739 writereg(&ll->rap, LE_CSR0); in lance_interrupt()
743 writereg(&ll->rdp, csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT)); in lance_interrupt()
747 writereg(&ll->rdp, LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | in lance_interrupt()
765 writereg(&ll->rdp, LE_C0_STOP); in lance_interrupt()
773 writereg(&ll->rdp, LE_C0_INEA); in lance_interrupt()
774 writereg(&ll->rdp, LE_C0_INEA); in lance_interrupt()
786 writereg(&ll->rap, LE_CSR0); in lance_open()
787 writereg(&ll->rdp, LE_C0_STOP); in lance_open()
846 writereg(&ll->rap, LE_CSR0); in lance_close()
847 writereg(&ll->rdp, LE_C0_STOP); in lance_close()
875 writereg(&ll->rap, LE_CSR0); in lance_reset()
876 writereg(&ll->rdp, LE_C0_STOP); in lance_reset()
932 writereg(&ll->rdp, LE_C0_INEA | LE_C0_TDMD); in lance_start_xmit()
987 writereg(&ll->rap, LE_CSR0); in lance_set_multicast()
988 writereg(&ll->rdp, LE_C0_STOP); in lance_set_multicast()