Lines Matching refs:mbase

218 	b1dmaoutmeml(card->mbase+AMCC_INTCSR, card->csr);  in b1dma_reset()
219 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0); in b1dma_reset()
220 b1dmaoutmeml(card->mbase+AMCC_RXLEN, 0); in b1dma_reset()
221 b1dmaoutmeml(card->mbase+AMCC_TXLEN, 0); in b1dma_reset()
228 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0); in b1dma_reset()
230 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0x0f000000); /* reset all */ in b1dma_reset()
232 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0); in b1dma_reset()
243 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0); in b1dma_detect()
245 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0x0f000000); /* reset all */ in b1dma_detect()
247 b1dmaoutmeml(card->mbase+AMCC_MCSR, 0); in b1dma_detect()
250 b1dmaoutmeml(card->mbase+AMCC_RXLEN, 0); in b1dma_detect()
251 b1dmaoutmeml(card->mbase+AMCC_TXLEN, 0); in b1dma_detect()
253 b1dmaoutmeml(card->mbase+AMCC_INTCSR, card->csr); in b1dma_detect()
255 if (b1dmainmeml(card->mbase+AMCC_MCSR) != 0x000000E6) in b1dma_detect()
258 b1dmaoutmeml(card->mbase+AMCC_RXPTR, 0xffffffff); in b1dma_detect()
259 b1dmaoutmeml(card->mbase+AMCC_TXPTR, 0xffffffff); in b1dma_detect()
260 if ( b1dmainmeml(card->mbase+AMCC_RXPTR) != 0xfffffffc in b1dma_detect()
261 || b1dmainmeml(card->mbase+AMCC_TXPTR) != 0xfffffffc) in b1dma_detect()
264 b1dmaoutmeml(card->mbase+AMCC_RXPTR, 0x0); in b1dma_detect()
265 b1dmaoutmeml(card->mbase+AMCC_TXPTR, 0x0); in b1dma_detect()
266 if ( b1dmainmeml(card->mbase+AMCC_RXPTR) != 0x0 in b1dma_detect()
267 || b1dmainmeml(card->mbase+AMCC_TXPTR) != 0x0) in b1dma_detect()
417 b1dmaoutmeml(card->mbase+AMCC_TXPTR, virt_to_phys(dma->sendbuf)); in b1dma_dispatch_tx()
418 b1dmaoutmeml(card->mbase+AMCC_TXLEN, txlen); in b1dma_dispatch_tx()
423 b1dmaoutmeml(card->mbase+AMCC_INTCSR, card->csr); in b1dma_dispatch_tx()
584 __u32 status = b1dmainmeml(card->mbase+AMCC_INTCSR); in b1dma_handle_interrupt()
593 b1dmaoutmeml(card->mbase+AMCC_INTCSR, newcsr); in b1dma_handle_interrupt()
601 b1dmaoutmeml(card->mbase+AMCC_RXPTR, in b1dma_handle_interrupt()
603 b1dmaoutmeml(card->mbase+AMCC_RXLEN, rxlen); in b1dma_handle_interrupt()
607 b1dmaoutmeml(card->mbase+AMCC_RXPTR, virt_to_phys(recvbuf)); in b1dma_handle_interrupt()
608 b1dmaoutmeml(card->mbase+AMCC_RXLEN, 4); in b1dma_handle_interrupt()
616 b1dmaoutmeml(card->mbase+AMCC_INTCSR, card->csr); in b1dma_handle_interrupt()
734 b1dmaoutmeml(card->mbase+AMCC_INTCSR, card->csr); in b1dma_load_firmware()
735 b1dmaoutmeml(card->mbase+AMCC_MCSR, in b1dma_load_firmware()
743 b1dmaoutmeml(card->mbase+AMCC_RXPTR, virt_to_phys(card->dma->recvbuf)); in b1dma_load_firmware()
744 b1dmaoutmeml(card->mbase+AMCC_RXLEN, 4); in b1dma_load_firmware()
746 b1dmaoutmeml(card->mbase+AMCC_INTCSR, card->csr); in b1dma_load_firmware()
910 txaddr = (u_long)phys_to_virt(b1dmainmeml(card->mbase+0x2c)); in b1dmactl_read_proc()
912 txlen = b1dmainmeml(card->mbase+0x30); in b1dmactl_read_proc()
914 rxaddr = (u_long)phys_to_virt(b1dmainmeml(card->mbase+0x24)); in b1dmactl_read_proc()
916 rxlen = b1dmainmeml(card->mbase+0x28); in b1dmactl_read_proc()
918 csr = b1dmainmeml(card->mbase+AMCC_INTCSR); in b1dmactl_read_proc()