Lines Matching full:direction
59 * @direction: enum dma_data_direction
74 int direction; member
319 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
489 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
507 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
542 &cln, dir2name[entry->direction], in debug_dma_dump_mappings()
575 &cln, dir2name[entry->direction], in dump_show()
871 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1027 if (ref->direction != entry->direction) { in check_unmap()
1029 "DMA memory with different direction " in check_unmap()
1033 dir2name[entry->direction], in check_unmap()
1034 dir2name[ref->direction]); in check_unmap()
1122 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1125 if (ref->direction != entry->direction) { in check_sync()
1127 "DMA memory with different direction " in check_sync()
1131 dir2name[entry->direction], in check_sync()
1132 dir2name[ref->direction]); in check_sync()
1135 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1136 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1142 dir2name[entry->direction], in check_sync()
1143 dir2name[ref->direction]); in check_sync()
1145 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1146 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1152 dir2name[entry->direction], in check_sync()
1153 dir2name[ref->direction]); in check_sync()
1210 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1231 entry->direction = direction; in debug_dma_map_page()
1284 size_t size, int direction) in debug_dma_unmap_page() argument
1291 .direction = direction, in debug_dma_unmap_page()
1300 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
1327 entry->direction = direction; in debug_dma_map_sg()
1374 .direction = dir, in debug_dma_unmap_sg()
1413 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1432 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1451 int direction, dma_addr_t dma_addr, in debug_dma_map_resource() argument
1469 entry->direction = direction; in debug_dma_map_resource()
1476 size_t size, int direction) in debug_dma_unmap_resource() argument
1483 .direction = direction, in debug_dma_unmap_resource()
1493 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1504 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1512 int direction) in debug_dma_sync_single_for_device() argument
1523 ref.direction = direction; in debug_dma_sync_single_for_device()
1530 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1547 .direction = direction, in debug_dma_sync_sg_for_cpu()
1562 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1579 .direction = direction, in debug_dma_sync_sg_for_device()