dma-mapping.h (a34a9b9682a5a9de53386ed0872c7d38ca9d6b38) | dma-mapping.h (c1f59375b3782f478ac2c488889abdc00dd8e25f) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _PARISC_DMA_MAPPING_H 3#define _PARISC_DMA_MAPPING_H 4 5#include <asm/cacheflush.h> 6 7/* 8** We need to support 4 different coherent dma models with one binary: --- 7 unchanged lines hidden (view full) --- 16** 17** PA-7[13]00LC processors have a GSC bus interface and no I/O MMU. 18** 19** Systems (eg PCX-T workstations) that don't fall into the above 20** categories will need to modify the needed drivers to perform 21** flush/purge and allocate "regular" cacheable pages for everything. 22*/ 23 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _PARISC_DMA_MAPPING_H 3#define _PARISC_DMA_MAPPING_H 4 5#include <asm/cacheflush.h> 6 7/* 8** We need to support 4 different coherent dma models with one binary: --- 7 unchanged lines hidden (view full) --- 16** 17** PA-7[13]00LC processors have a GSC bus interface and no I/O MMU. 18** 19** Systems (eg PCX-T workstations) that don't fall into the above 20** categories will need to modify the needed drivers to perform 21** flush/purge and allocate "regular" cacheable pages for everything. 22*/ 23 |
24#ifdef CONFIG_PA11 25extern const struct dma_map_ops pa11_dma_ops; 26#endif 27 | |
28extern const struct dma_map_ops *hppa_dma_ops; 29 30static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 31{ 32 return hppa_dma_ops; 33} 34 35static inline void * --- 44 unchanged lines hidden --- | 24extern const struct dma_map_ops *hppa_dma_ops; 25 26static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 27{ 28 return hppa_dma_ops; 29} 30 31static inline void * --- 44 unchanged lines hidden --- |