Lines Matching refs:writereg
295 static inline void writereg(volatile unsigned short *regptr, short value) in writereg() function
312 writereg(&ll->rap, LE_CSR1); in load_csrs()
313 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
314 writereg(&ll->rap, LE_CSR2); in load_csrs()
315 writereg(&ll->rdp, leptr >> 16); in load_csrs()
316 writereg(&ll->rap, LE_CSR3); in load_csrs()
317 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs()
320 writereg(&ll->rap, LE_CSR0); in load_csrs()
531 writereg(&ll->rap, LE_CSR0); in init_restart_lance()
532 writereg(&ll->rdp, LE_C0_INIT); in init_restart_lance()
548 writereg(&ll->rdp, LE_C0_IDON); in init_restart_lance()
549 writereg(&ll->rdp, LE_C0_STRT); in init_restart_lance()
550 writereg(&ll->rdp, LE_C0_INEA); in init_restart_lance()
674 writereg(&ll->rap, LE_CSR0); in lance_tx()
675 writereg(&ll->rdp, LE_C0_STOP); in lance_tx()
690 writereg(&ll->rap, LE_CSR0); in lance_tx()
691 writereg(&ll->rdp, LE_C0_STOP); in lance_tx()
740 writereg(&ll->rap, LE_CSR0); in lance_interrupt()
744 writereg(&ll->rdp, csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT)); in lance_interrupt()
748 writereg(&ll->rdp, LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | in lance_interrupt()
766 writereg(&ll->rdp, LE_C0_STOP); in lance_interrupt()
774 writereg(&ll->rdp, LE_C0_INEA); in lance_interrupt()
775 writereg(&ll->rdp, LE_C0_INEA); in lance_interrupt()
787 writereg(&ll->rap, LE_CSR0); in lance_open()
788 writereg(&ll->rdp, LE_C0_STOP); in lance_open()
847 writereg(&ll->rap, LE_CSR0); in lance_close()
848 writereg(&ll->rdp, LE_C0_STOP); in lance_close()
876 writereg(&ll->rap, LE_CSR0); in lance_reset()
877 writereg(&ll->rdp, LE_C0_STOP); in lance_reset()
933 writereg(&ll->rdp, LE_C0_INEA | LE_C0_TDMD); in lance_start_xmit()
988 writereg(&ll->rap, LE_CSR0); in lance_set_multicast()
989 writereg(&ll->rdp, LE_C0_STOP); in lance_set_multicast()