1*4be47400SFrançois Tigeot /* 2*4be47400SFrançois Tigeot * Copyright (c) 2020 François Tigeot <ftigeot@wolfpond.org> 3*4be47400SFrançois Tigeot * All rights reserved. 4*4be47400SFrançois Tigeot * 5*4be47400SFrançois Tigeot * Redistribution and use in source and binary forms, with or without 6*4be47400SFrançois Tigeot * modification, are permitted provided that the following conditions 7*4be47400SFrançois Tigeot * are met: 8*4be47400SFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 9*4be47400SFrançois Tigeot * notice unmodified, this list of conditions, and the following 10*4be47400SFrançois Tigeot * disclaimer. 11*4be47400SFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 12*4be47400SFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 13*4be47400SFrançois Tigeot * documentation and/or other materials provided with the distribution. 14*4be47400SFrançois Tigeot * 15*4be47400SFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16*4be47400SFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17*4be47400SFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18*4be47400SFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19*4be47400SFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20*4be47400SFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21*4be47400SFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22*4be47400SFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23*4be47400SFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24*4be47400SFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25*4be47400SFrançois Tigeot */ 26*4be47400SFrançois Tigeot 27*4be47400SFrançois Tigeot #ifndef _ASM_DMA_MAPPING_H_ 28*4be47400SFrançois Tigeot #define _ASM_DMA_MAPPING_H_ 29*4be47400SFrançois Tigeot 30*4be47400SFrançois Tigeot #include <linux/scatterlist.h> 31*4be47400SFrançois Tigeot #include <asm/io.h> 32*4be47400SFrançois Tigeot #include <asm/swiotlb.h> 33*4be47400SFrançois Tigeot 34*4be47400SFrançois Tigeot #endif /* _ASM_DMA_MAPPING_H_ */ 35