Lines Matching refs:SONIC_WRITE

189 	SONIC_WRITE(SONIC_CMD, SONIC_CR_RXDIS);  in sonic_close()
192 SONIC_WRITE(SONIC_IMR, 0); in sonic_close()
193 SONIC_WRITE(SONIC_ISR, 0x7fff); in sonic_close()
194 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in sonic_close()
231 SONIC_WRITE(SONIC_CMD, SONIC_CR_RXDIS); in sonic_tx_timeout()
234 SONIC_WRITE(SONIC_IMR, 0); in sonic_tx_timeout()
235 SONIC_WRITE(SONIC_ISR, 0x7fff); in sonic_tx_timeout()
236 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in sonic_tx_timeout()
319 SONIC_WRITE(SONIC_CMD, SONIC_CR_TXP); in sonic_send_packet()
366 SONIC_WRITE(SONIC_ISR, status); /* clear the interrupt(s) */ in sonic_interrupt()
463 SONIC_WRITE(SONIC_CMD, SONIC_CR_TXP); in sonic_interrupt()
473 SONIC_WRITE(SONIC_IMR, 0); in sonic_interrupt()
549 SONIC_WRITE(SONIC_RWP, sonic_rr_addr(dev, entry)); in sonic_update_rra()
631 SONIC_WRITE(SONIC_ISR, SONIC_INT_RBE); in sonic_rx()
645 SONIC_WRITE(SONIC_CRCT, 0xffff); in sonic_get_stats()
647 SONIC_WRITE(SONIC_FAET, 0xffff); in sonic_get_stats()
649 SONIC_WRITE(SONIC_MPT, 0xffff); in sonic_get_stats()
690 SONIC_WRITE(SONIC_CDC, 16); in sonic_multicast_list()
691 SONIC_WRITE(SONIC_CDP, lp->cda_laddr & 0xffff); in sonic_multicast_list()
696 SONIC_WRITE(SONIC_CMD, SONIC_CR_LCAM); in sonic_multicast_list()
704 SONIC_WRITE(SONIC_RCR, rcr); in sonic_multicast_list()
720 SONIC_WRITE(SONIC_IMR, 0); in sonic_init()
721 SONIC_WRITE(SONIC_ISR, 0x7fff); in sonic_init()
722 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in sonic_init()
725 SONIC_WRITE(SONIC_CE, 0); in sonic_init()
731 SONIC_WRITE(SONIC_CMD, 0); in sonic_init()
732 SONIC_WRITE(SONIC_CMD, SONIC_CR_RXDIS | SONIC_CR_STP); in sonic_init()
751 SONIC_WRITE(SONIC_RSA, sonic_rr_addr(dev, 0)); in sonic_init()
752 SONIC_WRITE(SONIC_REA, sonic_rr_addr(dev, SONIC_NUM_RRS)); in sonic_init()
753 SONIC_WRITE(SONIC_RRP, sonic_rr_addr(dev, 0)); in sonic_init()
754 SONIC_WRITE(SONIC_RWP, sonic_rr_addr(dev, SONIC_NUM_RRS - 1)); in sonic_init()
755 SONIC_WRITE(SONIC_URRA, lp->rra_laddr >> 16); in sonic_init()
756 SONIC_WRITE(SONIC_EOBC, (SONIC_RBSIZE >> 1) - (lp->dma_bitmode ? 2 : 1)); in sonic_init()
761 SONIC_WRITE(SONIC_CMD, SONIC_CR_RRRA); in sonic_init()
788 SONIC_WRITE(SONIC_URDA, lp->rda_laddr >> 16); in sonic_init()
789 SONIC_WRITE(SONIC_CRDA, lp->rda_laddr & 0xffff); in sonic_init()
811 SONIC_WRITE(SONIC_UTDA, lp->tda_laddr >> 16); in sonic_init()
812 SONIC_WRITE(SONIC_CTDA, lp->tda_laddr & 0xffff); in sonic_init()
830 SONIC_WRITE(SONIC_CDP, lp->cda_laddr & 0xffff); in sonic_init()
831 SONIC_WRITE(SONIC_CDC, 16); in sonic_init()
836 SONIC_WRITE(SONIC_CMD, SONIC_CR_LCAM); in sonic_init()
843 SONIC_WRITE(SONIC_RCR, SONIC_RCR_DEFAULT); in sonic_init()
844 SONIC_WRITE(SONIC_TCR, SONIC_TCR_DEFAULT); in sonic_init()
845 SONIC_WRITE(SONIC_ISR, 0x7fff); in sonic_init()
846 SONIC_WRITE(SONIC_IMR, SONIC_IMR_DEFAULT); in sonic_init()
847 SONIC_WRITE(SONIC_CMD, SONIC_CR_RXEN); in sonic_init()