Lines Matching refs:direction
63 int direction; member
300 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
396 dir2name[entry->direction], in debug_dma_dump_mappings()
760 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
921 if (ref->direction != entry->direction) { in check_unmap()
927 dir2name[entry->direction], in check_unmap()
928 dir2name[ref->direction]); in check_unmap()
1000 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1003 if (ref->direction != entry->direction) { in check_sync()
1009 dir2name[entry->direction], in check_sync()
1010 dir2name[ref->direction]); in check_sync()
1013 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1014 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1020 dir2name[entry->direction], in check_sync()
1021 dir2name[ref->direction]); in check_sync()
1023 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1024 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1030 dir2name[entry->direction], in check_sync()
1031 dir2name[ref->direction]); in check_sync()
1038 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1058 entry->direction = direction; in debug_dma_map_page()
1114 size_t size, int direction, bool map_single) in debug_dma_unmap_page() argument
1121 .direction = direction, in debug_dma_unmap_page()
1135 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1154 entry->direction = direction; in debug_dma_map_sg()
1204 .direction = dir, in debug_dma_unmap_sg()
1239 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1254 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1265 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1276 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1285 int direction) in debug_dma_sync_single_for_device() argument
1296 ref.direction = direction; in debug_dma_sync_single_for_device()
1306 int direction) in debug_dma_sync_single_range_for_cpu() argument
1317 ref.direction = direction; in debug_dma_sync_single_range_for_cpu()
1327 size_t size, int direction) in debug_dma_sync_single_range_for_device() argument
1338 ref.direction = direction; in debug_dma_sync_single_range_for_device()
1346 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1362 .direction = direction, in debug_dma_sync_sg_for_cpu()
1378 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1394 .direction = direction, in debug_dma_sync_sg_for_device()