Lines Matching refs:direction

73 	int              direction;  member
318 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
488 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
506 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
541 &cln, dir2name[entry->direction], in debug_dma_dump_mappings()
574 &cln, dir2name[entry->direction], in dump_show()
870 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1026 if (ref->direction != entry->direction) { in check_unmap()
1032 dir2name[entry->direction], in check_unmap()
1033 dir2name[ref->direction]); in check_unmap()
1121 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1124 if (ref->direction != entry->direction) { in check_sync()
1130 dir2name[entry->direction], in check_sync()
1131 dir2name[ref->direction]); in check_sync()
1134 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1135 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1141 dir2name[entry->direction], in check_sync()
1142 dir2name[ref->direction]); in check_sync()
1144 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1145 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1151 dir2name[entry->direction], in check_sync()
1152 dir2name[ref->direction]); in check_sync()
1209 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1230 entry->direction = direction; in debug_dma_map_page()
1283 size_t size, int direction) in debug_dma_unmap_page() argument
1290 .direction = direction, in debug_dma_unmap_page()
1299 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
1326 entry->direction = direction; in debug_dma_map_sg()
1373 .direction = dir, in debug_dma_unmap_sg()
1412 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1431 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1450 int direction, dma_addr_t dma_addr, in debug_dma_map_resource() argument
1468 entry->direction = direction; in debug_dma_map_resource()
1475 size_t size, int direction) in debug_dma_unmap_resource() argument
1482 .direction = direction, in debug_dma_unmap_resource()
1492 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1503 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1511 int direction) in debug_dma_sync_single_for_device() argument
1522 ref.direction = direction; in debug_dma_sync_single_for_device()
1529 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1546 .direction = direction, in debug_dma_sync_sg_for_cpu()
1561 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1578 .direction = direction, in debug_dma_sync_sg_for_device()