Home
last modified time | relevance | path

Searched refs:valid_dma_direction (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/
Ddma-mapping.h146 static inline int valid_dma_direction(int dma_direction) in valid_dma_direction() function
284 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs()
299 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs()
318 BUG_ON(!valid_dma_direction(dir)); in dma_map_sg_attrs()
335 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_sg_attrs()
352 BUG_ON(!valid_dma_direction(dir)); in dma_map_resource()
373 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_resource()
385 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_cpu()
399 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_device()
413 BUG_ON(!valid_dma_direction(dir)); in dma_sync_sg_for_cpu()
[all …]
/Linux-v5.4/arch/c6x/mm/
Ddma-coherent.c146 BUG_ON(!valid_dma_direction(dir)); in c6x_dma_sync()
/Linux-v5.4/kernel/dma/
Dmapping.c406 BUG_ON(!valid_dma_direction(dir)); in dma_cache_sync()