Lines Matching refs:BRGREG
73 #define BRGREG(x) (*(unsigned long *)(cam->mmio + (x))) macro
203 BRGREG(BRGATXSAR) = (unsigned long)runtime->dma_area; in camelot_prepare()
204 BRGREG(BRGATXTCR) = runtime->dma_bytes; in camelot_prepare()
206 BRGREG(BRGARXDAR) = (unsigned long)runtime->dma_area; in camelot_prepare()
207 BRGREG(BRGARXTCR) = runtime->dma_bytes; in camelot_prepare()
215 unsigned long acr = BRGREG(BRGACR) & ~(ACR_TDS | ACR_RDS); in dmabrg_play_dma_start()
217 BRGREG(BRGACR) = acr | ACR_TDE | ACR_TAR | ACR_TAM_2WORD; in dmabrg_play_dma_start()
222 unsigned long acr = BRGREG(BRGACR) & ~(ACR_TDS | ACR_RDS); in dmabrg_play_dma_stop()
224 BRGREG(BRGACR) = acr | ACR_TDS; in dmabrg_play_dma_stop()
229 unsigned long acr = BRGREG(BRGACR) & ~(ACR_TDS | ACR_RDS); in dmabrg_rec_dma_start()
231 BRGREG(BRGACR) = acr | ACR_RDE | ACR_RAR | ACR_RAM_2WORD; in dmabrg_rec_dma_start()
236 unsigned long acr = BRGREG(BRGACR) & ~(ACR_TDS | ACR_RDS); in dmabrg_rec_dma_stop()
238 BRGREG(BRGACR) = acr | ACR_RDS; in dmabrg_rec_dma_stop()