18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 48c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 58c2ecf20Sopenharmony_ci * for more details. 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 2020 Loongson Technology Co., Ltd. 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#ifndef __ASM_DMA_H 118c2ecf20Sopenharmony_ci#define __ASM_DMA_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define MAX_DMA_ADDRESS PAGE_OFFSET 148c2ecf20Sopenharmony_ci#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciextern int isa_dma_bridge_buggy; 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#endif 19