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()
1257 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1278 entry->direction = direction; in debug_dma_map_page()
1334 size_t size, int direction, bool map_single) in debug_dma_unmap_page() argument
1341 .direction = direction, in debug_dma_unmap_page()
1355 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1375 entry->direction = direction; in debug_dma_map_sg()
1426 .direction = dir, in debug_dma_unmap_sg()
1462 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1478 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1489 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1500 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1509 int direction) in debug_dma_sync_single_for_device() argument
1520 ref.direction = direction; in debug_dma_sync_single_for_device()
1530 int direction) in debug_dma_sync_single_range_for_cpu() argument
1541 ref.direction = direction; in debug_dma_sync_single_range_for_cpu()
1551 size_t size, int direction) in debug_dma_sync_single_range_for_device() argument
1562 ref.direction = direction; in debug_dma_sync_single_range_for_device()
1570 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1587 .direction = direction, in debug_dma_sync_sg_for_cpu()
1603 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1620 .direction = direction, in debug_dma_sync_sg_for_device()