Lines Matching full:direction

59  * @direction: enum dma_data_direction
73 int direction; member
317 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
482 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
500 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
535 dir2name[entry->direction], in debug_dma_dump_mappings()
568 dir2name[entry->direction], in dump_show()
864 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1020 if (ref->direction != entry->direction) { in check_unmap()
1022 "DMA memory with different direction " in check_unmap()
1026 dir2name[entry->direction], in check_unmap()
1027 dir2name[ref->direction]); in check_unmap()
1119 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1122 if (ref->direction != entry->direction) { in check_sync()
1124 "DMA memory with different direction " in check_sync()
1128 dir2name[entry->direction], in check_sync()
1129 dir2name[ref->direction]); in check_sync()
1132 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1133 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1139 dir2name[entry->direction], in check_sync()
1140 dir2name[ref->direction]); in check_sync()
1142 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1143 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1149 dir2name[entry->direction], in check_sync()
1150 dir2name[ref->direction]); in check_sync()
1205 size_t size, int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
1225 entry->direction = direction; in debug_dma_map_page()
1278 size_t size, int direction) in debug_dma_unmap_page() argument
1285 .direction = direction, in debug_dma_unmap_page()
1294 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
1320 entry->direction = direction; in debug_dma_map_sg()
1366 .direction = dir, in debug_dma_unmap_sg()
1417 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1430 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1446 int direction, dma_addr_t dma_addr, in debug_dma_map_resource() argument
1463 entry->direction = direction; in debug_dma_map_resource()
1470 size_t size, int direction) in debug_dma_unmap_resource() argument
1477 .direction = direction, in debug_dma_unmap_resource()
1487 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1498 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1506 int direction) in debug_dma_sync_single_for_device() argument
1517 ref.direction = direction; in debug_dma_sync_single_for_device()
1524 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1540 .direction = direction, in debug_dma_sync_sg_for_cpu()
1555 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1571 .direction = direction, in debug_dma_sync_sg_for_device()