Lines Matching refs:direction
75 int direction; member
313 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
417 dir2name[entry->direction], in debug_dma_dump_mappings()
521 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
539 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
836 dir2name[entry->direction], in dump_show()
901 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1059 if (ref->direction != entry->direction) { in check_unmap()
1065 dir2name[entry->direction], in check_unmap()
1066 dir2name[ref->direction]); in check_unmap()
1164 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1167 if (ref->direction != entry->direction) { in check_sync()
1173 dir2name[entry->direction], in check_sync()
1174 dir2name[ref->direction]); in check_sync()
1177 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1178 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1184 dir2name[entry->direction], in check_sync()
1185 dir2name[ref->direction]); in check_sync()
1187 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1188 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1194 dir2name[entry->direction], in check_sync()
1195 dir2name[ref->direction]); in check_sync()
1252 size_t size, int direction, dma_addr_t dma_addr) in debug_dma_map_page() argument
1272 entry->direction = direction; in debug_dma_map_page()
1326 size_t size, int direction) in debug_dma_unmap_page() argument
1333 .direction = direction, in debug_dma_unmap_page()
1343 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1363 entry->direction = direction; in debug_dma_map_sg()
1417 .direction = dir, in debug_dma_unmap_sg()
1456 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1475 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1494 int direction, dma_addr_t dma_addr) in debug_dma_map_resource() argument
1511 entry->direction = direction; in debug_dma_map_resource()
1519 size_t size, int direction) in debug_dma_unmap_resource() argument
1526 .direction = direction, in debug_dma_unmap_resource()
1537 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1548 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1557 int direction) in debug_dma_sync_single_for_device() argument
1568 ref.direction = direction; in debug_dma_sync_single_for_device()
1576 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1593 .direction = direction, in debug_dma_sync_sg_for_cpu()
1609 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1626 .direction = direction, in debug_dma_sync_sg_for_device()