Lines Matching refs:sbus_writew

278 	sbus_writew(LE_CSR0,	__base + RAP); \
279 sbus_writew(LE_C0_STOP, __base + RDP); \
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()
398 sbus_writew(leptr, &ib->btx_ring [i].tmd0); in lance_init_ring_pio()
403 sbus_writew(0xf000, &ib->btx_ring [i].length); in lance_init_ring_pio()
404 sbus_writew(0, &ib->btx_ring [i].misc); in lance_init_ring_pio()
411 sbus_writew(leptr, &ib->brx_ring [i].rmd0); in lance_init_ring_pio()
414 sbus_writew(-RX_BUFF_SIZE|0xf000, in lance_init_ring_pio()
416 sbus_writew(0, &ib->brx_ring [i].mblength); in lance_init_ring_pio()
423 sbus_writew((LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16), in lance_init_ring_pio()
425 sbus_writew(leptr, &ib->rx_ptr); in lance_init_ring_pio()
429 sbus_writew((LANCE_LOG_TX_BUFFERS << 13) | (leptr >> 16), in lance_init_ring_pio()
431 sbus_writew(leptr, &ib->tx_ptr); in lance_init_ring_pio()
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()
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()
705 sbus_writew(0, &rd->mblength); in lance_rx_pio()
722 sbus_writew(0, &rd->mblength); in lance_rx_pio()
816 sbus_writew(LE_CSR0, lp->lregs + RAP); in lance_interrupt()
820 sbus_writew(csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT), in lance_interrupt()
825 sbus_writew((LE_C0_BABL | LE_C0_ERR | LE_C0_MISS | 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()
885 sbus_writew(0, &packet[i]); in build_fake_packet()
890 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length); in build_fake_packet()
891 sbus_writew(0, &ib->btx_ring[entry].misc); in build_fake_packet()
937 sbus_writew(0, &ib->mode); in lance_open()
955 sbus_writew(LE_C0_INEA | LE_C0_TDMD, lp->lregs + RDP); in lance_open()
1050 sbus_writew(val, piobuf); in lance_piocopy_from_skb()
1075 sbus_writew(0, piobuf); in lance_piozero()
1087 sbus_writew(0, piobuf); in lance_piozero()
1121 sbus_writew((-len) | 0xf000, &ib->btx_ring[entry].length); in lance_start_xmit()
1122 sbus_writew(0, &ib->btx_ring[entry].misc); in lance_start_xmit()
1143 sbus_writew(LE_C0_INEA | LE_C0_TDMD, lp->lregs + RDP); in lance_start_xmit()
1194 sbus_writew(tmp, &mcast_table[crc>>4]); in lance_load_multicast()
1231 sbus_writew(mode, &ib_iomem->mode); in lance_set_multicast()
1237 sbus_writew(mode, &ib_iomem->mode); in lance_set_multicast()