Lines Matching refs:sg_command
160 uint32_t sg_command; in ppc4xx_enable_dma_sgl() local
176 sg_command = mfdcr(DCRN_ASGC); in ppc4xx_enable_dma_sgl()
182 sg_command |= SSG0_ENABLE; in ppc4xx_enable_dma_sgl()
185 sg_command |= SSG1_ENABLE; in ppc4xx_enable_dma_sgl()
188 sg_command |= SSG2_ENABLE; in ppc4xx_enable_dma_sgl()
191 sg_command |= SSG3_ENABLE; in ppc4xx_enable_dma_sgl()
197 mtdcr(DCRN_ASGC, sg_command); /* start transfer */ in ppc4xx_enable_dma_sgl()
207 uint32_t sg_command; in ppc4xx_disable_dma_sgl() local
218 sg_command = mfdcr(DCRN_ASGC); in ppc4xx_disable_dma_sgl()
221 sg_command &= ~SSG0_ENABLE; in ppc4xx_disable_dma_sgl()
224 sg_command &= ~SSG1_ENABLE; in ppc4xx_disable_dma_sgl()
227 sg_command &= ~SSG2_ENABLE; in ppc4xx_disable_dma_sgl()
230 sg_command &= ~SSG3_ENABLE; in ppc4xx_disable_dma_sgl()
236 mtdcr(DCRN_ASGC, sg_command); /* stop transfer */ in ppc4xx_disable_dma_sgl()
420 uint32_t sg_command; in ppc4xx_alloc_dma_handle() local
471 sg_command = mfdcr(DCRN_ASGC); in ppc4xx_alloc_dma_handle()
474 sg_command |= SSG0_MASK_ENABLE; in ppc4xx_alloc_dma_handle()
477 sg_command |= SSG1_MASK_ENABLE; in ppc4xx_alloc_dma_handle()
480 sg_command |= SSG2_MASK_ENABLE; in ppc4xx_alloc_dma_handle()
483 sg_command |= SSG3_MASK_ENABLE; in ppc4xx_alloc_dma_handle()
493 mtdcr(DCRN_ASGC, sg_command); in ppc4xx_alloc_dma_handle()