Lines Matching refs:user_dir
3390 enum hl_goya_dma_direction user_dir; in goya_validate_dma_pkt_host() local
3399 user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> in goya_validate_dma_pkt_host()
3405 switch (user_dir) { in goya_validate_dma_pkt_host()
3440 dev_err(hdev->dev, "DMA direction %d is unsupported/undefined\n", user_dir); in goya_validate_dma_pkt_host()
3492 enum hl_goya_dma_direction user_dir; in goya_validate_dma_pkt_no_host() local
3496 user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> in goya_validate_dma_pkt_no_host()
3499 if (user_dir == HL_DMA_DRAM_TO_SRAM) { in goya_validate_dma_pkt_no_host()
3536 enum hl_goya_dma_direction user_dir; in goya_validate_dma_pkt_no_mmu() local
3548 user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> in goya_validate_dma_pkt_no_mmu()
3561 if ((user_dir == HL_DMA_DRAM_TO_SRAM) || (user_dir == HL_DMA_SRAM_TO_DRAM)) in goya_validate_dma_pkt_no_mmu()
3768 enum hl_goya_dma_direction user_dir; in goya_patch_dma_packet() local
3778 user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> in goya_patch_dma_packet()
3784 if ((user_dir == HL_DMA_DRAM_TO_SRAM) || (user_dir == HL_DMA_SRAM_TO_DRAM) || in goya_patch_dma_packet()
3791 if ((user_dir == HL_DMA_HOST_TO_DRAM) || (user_dir == HL_DMA_HOST_TO_SRAM)) { in goya_patch_dma_packet()