Lines Matching refs:writereg
296 static inline void writereg(volatile unsigned short *regptr, short value) in writereg() function
313 writereg(&ll->rap, LE_CSR1); in load_csrs()
314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
315 writereg(&ll->rap, LE_CSR2); in load_csrs()
316 writereg(&ll->rdp, leptr >> 16); in load_csrs()
317 writereg(&ll->rap, LE_CSR3); in load_csrs()
318 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs()
321 writereg(&ll->rap, LE_CSR0); in load_csrs()
532 writereg(&ll->rap, LE_CSR0); in init_restart_lance()
533 writereg(&ll->rdp, LE_C0_INIT); in init_restart_lance()
549 writereg(&ll->rdp, LE_C0_IDON); in init_restart_lance()
550 writereg(&ll->rdp, LE_C0_STRT); in init_restart_lance()
551 writereg(&ll->rdp, LE_C0_INEA); in init_restart_lance()
675 writereg(&ll->rap, LE_CSR0); in lance_tx()
676 writereg(&ll->rdp, LE_C0_STOP); in lance_tx()
691 writereg(&ll->rap, LE_CSR0); in lance_tx()
692 writereg(&ll->rdp, LE_C0_STOP); in lance_tx()
741 writereg(&ll->rap, LE_CSR0); in lance_interrupt()
745 writereg(&ll->rdp, csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT)); in lance_interrupt()
749 writereg(&ll->rdp, LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | in lance_interrupt()
767 writereg(&ll->rdp, LE_C0_STOP); in lance_interrupt()
775 writereg(&ll->rdp, LE_C0_INEA); in lance_interrupt()
776 writereg(&ll->rdp, LE_C0_INEA); in lance_interrupt()
788 writereg(&ll->rap, LE_CSR0); in lance_open()
789 writereg(&ll->rdp, LE_C0_STOP); in lance_open()
848 writereg(&ll->rap, LE_CSR0); in lance_close()
849 writereg(&ll->rdp, LE_C0_STOP); in lance_close()
877 writereg(&ll->rap, LE_CSR0); in lance_reset()
878 writereg(&ll->rdp, LE_C0_STOP); in lance_reset()
934 writereg(&ll->rdp, LE_C0_INEA | LE_C0_TDMD); in lance_start_xmit()
989 writereg(&ll->rap, LE_CSR0); in lance_set_multicast()
990 writereg(&ll->rdp, LE_C0_STOP); in lance_set_multicast()