Home
last modified time | relevance | path

Searched refs:dma_write32 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dsun_esp.c34 #define dma_write32(VAL, REG) \ macro
241 dma_write32(val | DMA_RST_SCSI, DMA_CSR); in sbus_esp_reset_dma()
242 dma_write32(val & ~DMA_RST_SCSI, DMA_CSR); in sbus_esp_reset_dma()
246 dma_write32(DMA_RESET_FAS366, DMA_CSR); in sbus_esp_reset_dma()
247 dma_write32(DMA_RST_SCSI, DMA_CSR); in sbus_esp_reset_dma()
276 dma_write32(0, DMA_CSR); in sbus_esp_reset_dma()
277 dma_write32(esp->prev_hme_dmacsr, DMA_CSR); in sbus_esp_reset_dma()
279 dma_write32(0, DMA_ADDR); in sbus_esp_reset_dma()
285 dma_write32(val | DMA_3CLKS, DMA_CSR); in sbus_esp_reset_dma()
297 dma_write32(val, DMA_CSR); in sbus_esp_reset_dma()
[all …]
H A Dsun3x_esp.c45 #define dma_write32(VAL, REG) \
50 #define dma_write32(VAL, REG) \ macro
76 dma_write32(val | DMA_RST_SCSI, DMA_CSR); in sun3x_esp_reset_dma()
77 dma_write32(val & ~DMA_RST_SCSI, DMA_CSR); in sun3x_esp_reset_dma()
81 dma_write32(val | DMA_INT_ENAB, DMA_CSR); in sun3x_esp_reset_dma()
93 dma_write32(csr | DMA_FIFO_STDRAIN, DMA_CSR); in sun3x_esp_dma_drain()
123 dma_write32(val, DMA_CSR); in sun3x_esp_dma_invalidate()
125 dma_write32(val, DMA_CSR); in sun3x_esp_dma_invalidate()
143 dma_write32(csr, DMA_CSR); in sun3x_esp_send_dma_cmd()
144 dma_write32(addr, DMA_ADDR); in sun3x_esp_send_dma_cmd()
[all …]