Lines Matching refs:direction

76 	int              direction;  member
322 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
490 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
516 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
551 dir2name[entry->direction], in debug_dma_dump_mappings()
584 dir2name[entry->direction], in dump_show()
888 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1045 if (ref->direction != entry->direction) { in check_unmap()
1051 dir2name[entry->direction], in check_unmap()
1052 dir2name[ref->direction]); in check_unmap()
1145 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1148 if (ref->direction != entry->direction) { in check_sync()
1154 dir2name[entry->direction], in check_sync()
1155 dir2name[ref->direction]); in check_sync()
1158 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1159 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1165 dir2name[entry->direction], in check_sync()
1166 dir2name[ref->direction]); in check_sync()
1168 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1169 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1175 dir2name[entry->direction], in check_sync()
1176 dir2name[ref->direction]); in check_sync()
1231 int direction, dma_addr_t dma_addr, unsigned long attrs) in debug_dma_map_phys() argument
1250 entry->direction = direction; in debug_dma_map_phys()
1302 size_t size, int direction) in debug_dma_unmap_phys() argument
1309 .direction = direction, in debug_dma_unmap_phys()
1318 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
1344 entry->direction = direction; in debug_dma_map_sg()
1390 .direction = dir, in debug_dma_unmap_sg()
1441 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1454 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1470 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1481 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1489 int direction) in debug_dma_sync_single_for_device() argument
1500 ref.direction = direction; in debug_dma_sync_single_for_device()
1507 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1523 .direction = direction, in debug_dma_sync_sg_for_cpu()
1538 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1554 .direction = direction, in debug_dma_sync_sg_for_device()
1568 size_t size, int direction, in debug_dma_alloc_pages() argument
1586 entry->direction = direction; in debug_dma_alloc_pages()
1592 size_t size, int direction, in debug_dma_free_pages() argument
1601 .direction = direction, in debug_dma_free_pages()