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()
419 dir2name[entry->direction], in debug_dma_dump_mappings()
518 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
536 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
785 dir2name[entry->direction], in dump_show()
853 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1009 if (ref->direction != entry->direction) { in check_unmap()
1011 "DMA memory with different direction " in check_unmap()
1015 dir2name[entry->direction], in check_unmap()
1016 dir2name[ref->direction]); in check_unmap()
1104 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1107 if (ref->direction != entry->direction) { in check_sync()
1109 "DMA memory with different direction " in check_sync()
1113 dir2name[entry->direction], in check_sync()
1114 dir2name[ref->direction]); in check_sync()
1117 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1118 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1124 dir2name[entry->direction], in check_sync()
1125 dir2name[ref->direction]); in check_sync()
1127 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1128 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1134 dir2name[entry->direction], in check_sync()
1135 dir2name[ref->direction]); in check_sync()
1192 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1213 entry->direction = direction; in debug_dma_map_page()
1266 size_t size, int direction) in debug_dma_unmap_page() argument
1273 .direction = direction, in debug_dma_unmap_page()
1282 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
1309 entry->direction = direction; in debug_dma_map_sg()
1356 .direction = dir, in debug_dma_unmap_sg()
1395 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1414 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1433 int direction, dma_addr_t dma_addr, in debug_dma_map_resource() argument
1451 entry->direction = direction; in debug_dma_map_resource()
1458 size_t size, int direction) in debug_dma_unmap_resource() argument
1465 .direction = direction, in debug_dma_unmap_resource()
1475 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1486 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1494 int direction) in debug_dma_sync_single_for_device() argument
1505 ref.direction = direction; in debug_dma_sync_single_for_device()
1512 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1529 .direction = direction, in debug_dma_sync_sg_for_cpu()
1544 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1561 .direction = direction, in debug_dma_sync_sg_for_device()