• Home
  • Raw
  • Download

Lines Matching full:direction

58  * @direction: enum dma_data_direction
72 int direction; member
317 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
421 dir2name[entry->direction], in debug_dma_dump_mappings()
520 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
538 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
788 dir2name[entry->direction], in dump_show()
856 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1012 if (ref->direction != entry->direction) { in check_unmap()
1014 "DMA memory with different direction " in check_unmap()
1018 dir2name[entry->direction], in check_unmap()
1019 dir2name[ref->direction]); in check_unmap()
1117 if (entry->direction == DMA_BIDIRECTIONAL) in check_sync()
1120 if (ref->direction != entry->direction) { in check_sync()
1122 "DMA memory with different direction " in check_sync()
1126 dir2name[entry->direction], in check_sync()
1127 dir2name[ref->direction]); in check_sync()
1130 if (to_cpu && !(entry->direction == DMA_FROM_DEVICE) && in check_sync()
1131 !(ref->direction == DMA_TO_DEVICE)) in check_sync()
1137 dir2name[entry->direction], in check_sync()
1138 dir2name[ref->direction]); in check_sync()
1140 if (!to_cpu && !(entry->direction == DMA_TO_DEVICE) && in check_sync()
1141 !(ref->direction == DMA_FROM_DEVICE)) in check_sync()
1147 dir2name[entry->direction], in check_sync()
1148 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()
1367 .direction = dir, in debug_dma_unmap_sg()
1405 entry->direction = DMA_BIDIRECTIONAL; in debug_dma_alloc_coherent()
1424 .direction = DMA_BIDIRECTIONAL, in debug_dma_free_coherent()
1443 int direction, dma_addr_t dma_addr) in debug_dma_map_resource() argument
1460 entry->direction = direction; in debug_dma_map_resource()
1467 size_t size, int direction) in debug_dma_unmap_resource() argument
1474 .direction = direction, in debug_dma_unmap_resource()
1484 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
1495 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1503 int direction) in debug_dma_sync_single_for_device() argument
1514 ref.direction = direction; in debug_dma_sync_single_for_device()
1521 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1538 .direction = direction, in debug_dma_sync_sg_for_cpu()
1553 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1570 .direction = direction, in debug_dma_sync_sg_for_device()