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()
798 dir2name[entry->direction], in dump_show()
866 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1022 if (ref->direction != entry->direction) { in check_unmap()
1024 "DMA memory with different direction " in check_unmap()
1028 dir2name[entry->direction], in check_unmap()
1029 dir2name[ref->direction]); in check_unmap()
1127 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1130 if (ref->direction != entry->direction) { in check_sync()
1132 "DMA memory with different direction " in check_sync()
1136 dir2name[entry->direction], in check_sync()
1137 dir2name[ref->direction]); in check_sync()
1140 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1141 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1147 dir2name[entry->direction], in check_sync()
1148 dir2name[ref->direction]); in check_sync()
1150 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1151 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1157 dir2name[entry->direction], in check_sync()
1158 dir2name[ref->direction]); in check_sync()
1215 size_t size, int direction, dma_addr_t dma_addr) in debug_dma_map_page() argument
1235 entry->direction = direction; in debug_dma_map_page()
1288 size_t size, int direction) in debug_dma_unmap_page() argument
1295 .direction = direction, in debug_dma_unmap_page()
1304 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1330 entry->direction = direction; in debug_dma_map_sg()
1377 .direction = dir, in debug_dma_unmap_sg()
1415 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1434 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1453 int direction, dma_addr_t dma_addr) in debug_dma_map_resource() argument
1470 entry->direction = direction; in debug_dma_map_resource()
1477 size_t size, int direction) in debug_dma_unmap_resource() argument
1484 .direction = direction, in debug_dma_unmap_resource()
1494 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1505 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1513 int direction) in debug_dma_sync_single_for_device() argument
1524 ref.direction = direction; in debug_dma_sync_single_for_device()
1531 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1548 .direction = direction, in debug_dma_sync_sg_for_cpu()
1563 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1580 .direction = direction, in debug_dma_sync_sg_for_device()