Lines Matching refs:direction
78 int direction; member
323 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
424 dir2name[entry->direction], in debug_dma_dump_mappings()
529 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
547 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
974 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1140 if (ref->direction != entry->direction) { in check_unmap()
1146 dir2name[entry->direction], in check_unmap()
1147 dir2name[ref->direction]); in check_unmap()
1219 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1222 if (ref->direction != entry->direction) { in check_sync()
1228 dir2name[entry->direction], in check_sync()
1229 dir2name[ref->direction]); in check_sync()
1232 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1233 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1239 dir2name[entry->direction], in check_sync()
1240 dir2name[ref->direction]); in check_sync()
1242 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1243 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1249 dir2name[entry->direction], in check_sync()
1250 dir2name[ref->direction]); in check_sync()
1265 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1286 entry->direction = direction; in debug_dma_map_page()
1342 size_t size, int direction, bool map_single) in debug_dma_unmap_page() argument
1349 .direction = direction, in debug_dma_unmap_page()
1363 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1383 entry->direction = direction; in debug_dma_map_sg()
1434 .direction = dir, in debug_dma_unmap_sg()
1470 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1486 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1497 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1508 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1517 int direction) in debug_dma_sync_single_for_device() argument
1528 ref.direction = direction; in debug_dma_sync_single_for_device()
1538 int direction) in debug_dma_sync_single_range_for_cpu() argument
1549 ref.direction = direction; in debug_dma_sync_single_range_for_cpu()
1559 size_t size, int direction) in debug_dma_sync_single_range_for_device() argument
1570 ref.direction = direction; in debug_dma_sync_single_range_for_device()
1578 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1595 .direction = direction, in debug_dma_sync_sg_for_cpu()
1611 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1628 .direction = direction, in debug_dma_sync_sg_for_device()