Lines Matching full:direction

58  * @direction: enum dma_data_direction
72 int direction; member
317 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
421 dir2name[entry->direction], in debug_dma_dump_mappings()
520 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
538 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
788 dir2name[entry->direction], in dump_show()
853 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1011 if (ref->direction != entry->direction) { in check_unmap()
1013 "DMA memory with different direction " in check_unmap()
1017 dir2name[entry->direction], in check_unmap()
1018 dir2name[ref->direction]); in check_unmap()
1116 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1119 if (ref->direction != entry->direction) { in check_sync()
1121 "DMA memory with different direction " in check_sync()
1125 dir2name[entry->direction], in check_sync()
1126 dir2name[ref->direction]); in check_sync()
1129 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1130 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1136 dir2name[entry->direction], in check_sync()
1137 dir2name[ref->direction]); in check_sync()
1139 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1140 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1146 dir2name[entry->direction], in check_sync()
1147 dir2name[ref->direction]); in check_sync()
1204 size_t size, int direction, dma_addr_t dma_addr) in debug_dma_map_page() argument
1224 entry->direction = direction; in debug_dma_map_page()
1277 size_t size, int direction) in debug_dma_unmap_page() argument
1284 .direction = direction, in debug_dma_unmap_page()
1293 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1313 entry->direction = direction; in debug_dma_map_sg()
1366 .direction = dir, in debug_dma_unmap_sg()
1404 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1423 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1442 int direction, dma_addr_t dma_addr) in debug_dma_map_resource() argument
1459 entry->direction = direction; in debug_dma_map_resource()
1466 size_t size, int direction) in debug_dma_unmap_resource() argument
1473 .direction = direction, in debug_dma_unmap_resource()
1483 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1494 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1502 int direction) in debug_dma_sync_single_for_device() argument
1513 ref.direction = direction; in debug_dma_sync_single_for_device()
1520 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1537 .direction = direction, in debug_dma_sync_sg_for_cpu()
1552 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1569 .direction = direction, in debug_dma_sync_sg_for_device()