Lines Matching full:direction
59 * @direction: enum dma_data_direction
74 int direction; member
319 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
492 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
510 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
545 &cln, dir2name[entry->direction], in debug_dma_dump_mappings()
578 &cln, dir2name[entry->direction], in dump_show()
874 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1030 if (ref->direction != entry->direction) { in check_unmap()
1032 "DMA memory with different direction " in check_unmap()
1036 dir2name[entry->direction], in check_unmap()
1037 dir2name[ref->direction]); in check_unmap()
1125 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1128 if (ref->direction != entry->direction) { in check_sync()
1130 "DMA memory with different direction " in check_sync()
1134 dir2name[entry->direction], in check_sync()
1135 dir2name[ref->direction]); in check_sync()
1138 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1139 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1145 dir2name[entry->direction], in check_sync()
1146 dir2name[ref->direction]); in check_sync()
1148 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1149 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1155 dir2name[entry->direction], in check_sync()
1156 dir2name[ref->direction]); in check_sync()
1213 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1234 entry->direction = direction; in debug_dma_map_page()
1287 size_t size, int direction) in debug_dma_unmap_page() argument
1294 .direction = direction, in debug_dma_unmap_page()
1303 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()
1416 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1435 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1454 int direction, dma_addr_t dma_addr, in debug_dma_map_resource() argument
1472 entry->direction = direction; in debug_dma_map_resource()
1479 size_t size, int direction) in debug_dma_unmap_resource() argument
1486 .direction = direction, in debug_dma_unmap_resource()
1496 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1507 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1515 int direction) in debug_dma_sync_single_for_device() argument
1526 ref.direction = direction; in debug_dma_sync_single_for_device()
1533 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1550 .direction = direction, in debug_dma_sync_sg_for_cpu()
1565 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1582 .direction = direction, in debug_dma_sync_sg_for_device()