Searched refs:DCSR (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/sound/arm/
H A Dpxa2xx-pcm-lib.c128 DCSR(prtd->dma_ch) = DCSR_RUN; pxa2xx_pcm_trigger()
134 DCSR(prtd->dma_ch) &= ~DCSR_RUN; pxa2xx_pcm_trigger()
138 DCSR(prtd->dma_ch) |= DCSR_RUN; pxa2xx_pcm_trigger()
142 DCSR(prtd->dma_ch) |= DCSR_RUN; pxa2xx_pcm_trigger()
180 DCSR(prtd->dma_ch) &= ~DCSR_RUN; __pxa2xx_pcm_prepare()
181 DCSR(prtd->dma_ch) = 0; __pxa2xx_pcm_prepare()
195 dcsr = DCSR(dma_ch); pxa2xx_pcm_dma_irq()
196 DCSR(dma_ch) = dcsr & ~DCSR_STOPIRQEN; pxa2xx_pcm_dma_irq()
201 printk(KERN_ERR "DMA error on channel %d (DCSR=%#x)\n", pxa2xx_pcm_dma_irq()
/linux-4.1.27/drivers/spi/
H A Dspi-pxa2xx-pxadma.c132 while (!(DCSR(channel) & DCSR_STOPSTATE) && --limit) wait_dma_channel_stop()
142 DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL; pxa2xx_spi_dma_error_stop()
143 DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL; pxa2xx_spi_dma_error_stop()
171 DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL; pxa2xx_spi_dma_transfer_complete()
172 DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL; pxa2xx_spi_dma_transfer_complete()
211 u32 irq_status = DCSR(channel) & DMA_INT_MASK; pxa2xx_spi_dma_handler()
252 && (DCSR(drv_data->tx_channel) & DCSR_RUN)) { pxa2xx_spi_dma_transfer()
291 DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL; pxa2xx_spi_dma_prepare()
308 DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL; pxa2xx_spi_dma_prepare()
333 DCSR(drv_data->rx_channel) |= DCSR_RUN; pxa2xx_spi_dma_start()
334 DCSR(drv_data->tx_channel) |= DCSR_RUN; pxa2xx_spi_dma_start()
/linux-4.1.27/drivers/ata/
H A Dpata_pxa.c50 /* DMA DCSR register value */
116 DCSR(pd->dma_channel) = 0; pxa_qc_prep()
148 DCSR(pd->dma_channel) = DCSR_RUN; pxa_bmdma_start()
158 if ((DCSR(pd->dma_channel) & DCSR_RUN) && pxa_bmdma_stop()
162 DCSR(pd->dma_channel) = 0; pxa_bmdma_stop()
224 pd->dma_dcsr = DCSR(dma); pxa_ata_dma_irq()
225 DCSR(dma) = pd->dma_dcsr; pxa_ata_dma_irq()
358 DCSR(data->dma_channel) = 0; pxa_ata_probe()
/linux-4.1.27/drivers/net/irda/
H A Dpxaficp_ir.c156 DCSR(si->rxdma) = DCSR_NODESC; pxa_irda_fir_dma_rx_start()
160 DCSR(si->rxdma) |= DCSR_RUN; pxa_irda_fir_dma_rx_start()
165 DCSR(si->txdma) = DCSR_NODESC; pxa_irda_fir_dma_tx_start()
169 DCSR(si->txdma) |= DCSR_RUN; pxa_irda_fir_dma_tx_start()
208 DCSR(si->rxdma) &= ~DCSR_RUN; pxa_irda_set_speed()
350 int dcsr = DCSR(channel); pxa_irda_fir_dma_rx_irq()
352 DCSR(channel) = dcsr & ~DCSR_RUN; pxa_irda_fir_dma_rx_irq()
364 dcsr = DCSR(channel); pxa_irda_fir_dma_tx_irq()
365 DCSR(channel) = dcsr & ~DCSR_RUN; pxa_irda_fir_dma_tx_irq()
475 DCSR(si->rxdma) &= ~DCSR_RUN; pxa_irda_fir_irq()
556 DCSR(si->rxdma) &= ~DCSR_RUN; pxa_irda_hard_xmit()
652 DCSR(si->txdma) &= ~DCSR_RUN; pxa_irda_shutdown()
653 DCSR(si->rxdma) &= ~DCSR_RUN; pxa_irda_shutdown()
/linux-4.1.27/arch/arm/plat-pxa/
H A Ddma.c138 dcsr = DCSR(chan); dbg_show_chan_state()
301 DCSR(i) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; pxa_request_dma()
327 DCSR(dma_ch) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; pxa_free_dma()
350 DCSR(i) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; dma_irq_handler()
370 DCSR(i) = 0; pxa_init_dma()
/linux-4.1.27/arch/arm/plat-pxa/include/plat/
H A Ddma.h6 #define DCSR(n) DMAC_REG((n) << 2) macro
/linux-4.1.27/drivers/mmc/host/
H A Dpxamci.c254 DCSR(host->dma) = DCSR_RUN; pxamci_setup_data()
346 DCSR(host->dma) = DCSR_RUN; pxamci_cmd_done()
361 DCSR(host->dma) = 0; pxamci_data_done()
558 int dcsr = DCSR(dma); pxamci_dma_irq()
559 DCSR(dma) = dcsr & ~DCSR_STOPIRQEN; pxamci_dma_irq()
564 pr_err("%s: DMA error on channel %d (DCSR=%#x)\n", pxamci_dma_irq()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc91x.h296 DCSR(dma) = DCSR_NODESC; smc_pxa_dma_insl()
301 DCSR(dma) = DCSR_NODESC | DCSR_RUN; smc_pxa_dma_insl()
302 while (!(DCSR(dma) & DCSR_STOPSTATE)) smc_pxa_dma_insl()
304 DCSR(dma) = 0; smc_pxa_dma_insl()
335 DCSR(dma) = DCSR_NODESC; smc_pxa_dma_insw()
340 DCSR(dma) = DCSR_NODESC | DCSR_RUN; smc_pxa_dma_insw()
341 while (!(DCSR(dma) & DCSR_STOPSTATE)) smc_pxa_dma_insw()
343 DCSR(dma) = 0; smc_pxa_dma_insw()
351 DCSR(dma) = 0; smc_pxa_dma_irq()
H A Dsmc911x.h228 if (DCSR(dma) & DCSR_BUSERR) { \
231 DCSR(dma) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; \
261 DCSR(dma) = DCSR_NODESC; smc_pxa_dma_insl()
266 DCSR(dma) = DCSR_NODESC | DCSR_RUN; smc_pxa_dma_insl()
289 DCSR(dma) = DCSR_NODESC; smc_pxa_dma_outsl()
294 DCSR(dma) = DCSR_NODESC | DCSR_RUN; smc_pxa_dma_outsl()
/linux-4.1.27/arch/alpha/kernel/
H A Dcore_apecs.c140 DBGC(("conf_read: APECS DCSR was 0x%x\n", stat0)); conf_read()
180 DBGC(("conf_read: APECS DCSR after read 0x%x\n", stat0)); conf_read()
/linux-4.1.27/drivers/dma/
H A Dmmp_pdma.c28 #define DCSR 0x0000 macro
168 reg = (phy->idx << 2) + DCSR; enable_chan()
179 reg = (phy->idx << 2) + DCSR; disable_chan()
187 u32 reg = (phy->idx << 2) + DCSR; clear_chan_irq()
H A Dsa11x0-dma.c220 dev_dbg(p->dev->slave.dev, "pchan %u: load: DCSR:%02x DBS%c:%08x DBT%c:%08x\n", sa11x0_dma_start_sg()
267 dev_dbg(d->slave.dev, "pchan %u: irq: DCSR:%02x\n", p->num, dcsr); sa11x0_dma_irq()
270 dev_err(d->slave.dev, "pchan %u: error. DCSR:%02x DDAR:%08x DBSA:%08x DBTA:%08x DBSB:%08x DBTB:%08x\n", sa11x0_dma_irq()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Dpxa_camera.c559 DCSR(pcdev->dma_chans[i]) = DCSR_RUN; pxa_dma_start_channels()
570 DCSR(pcdev->dma_chans[i]) = 0; pxa_dma_stop_channels()
743 status = DCSR(channel); pxa_camera_dma_irq()
744 DCSR(channel) = status; pxa_camera_dma_irq()
996 DCSR(pcdev->dma_chans[0]) = 0; pxa_camera_clock_stop()
997 DCSR(pcdev->dma_chans[1]) = 0; pxa_camera_clock_stop()
998 DCSR(pcdev->dma_chans[2]) = 0; pxa_camera_clock_stop()
/linux-4.1.27/arch/avr32/include/asm/
H A Docd.h336 /* Bits in DCSR */
/linux-4.1.27/drivers/mtd/nand/
H A Dpxa3xx_nand.c584 DCSR(info->data_dma_ch) |= DCSR_RUN; start_data_dma()
592 dcsr = DCSR(channel); pxa3xx_nand_data_dma_irq()
593 DCSR(channel) = dcsr; pxa3xx_nand_data_dma_irq()

Completed in 334 milliseconds