#ifndef ARC_PLAT_QTN_DMA_MAPPING_H | |
#define ARC_PLAT_QTN_DMA_MAPPING_H | |
#include <common/common_mem.h> | |
#define plat_dma_to_phys(dev, dma_handle) ((phys_addr_t)virt_to_phys(bus_to_virt(dma_handle))) | |
#define plat_phys_to_dma(dev, paddr) ((dma_addr_t)virt_to_bus(phys_to_virt(paddr))) | |
#endif |