1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * This file is subject to the terms and conditions of the GNU General Public 4 * License. See the file "COPYING" in the main directory of this archive 5 * for more details. 6 * 7 * Copyright (C) 2020 Loongson Technology Corporation Limited 8 * 9 */ 10#ifndef _LOONGARCH_DMA_DIRECT_H 11#define _LOONGARCH_DMA_DIRECT_H 12 13dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr); 14phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); 15 16#endif /* _LOONGARCH_DMA_DIRECT_H */ 17