1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _PARISC_DMA_MAPPING_H 3 #define _PARISC_DMA_MAPPING_H 4 5 /* 6 ** We need to support 4 different coherent dma 7 ** 8 ** I/O MMU consistent method 9 ** ============= ====================== 10 ** a) PA-7x00LC uncachable host memory 11 ** b) U2/Uturn cachable host memory 12 ** c) Ike/Astro cachable host memory 13 ** d) EPIC/SAGA memory on EPIC/SAGA 14 ** 15 ** PA-7[13]00LC processors have a GSC bus inte 16 ** 17 ** Systems (eg PCX-T workstations) that don't 18 ** categories will need to modify the needed d 19 ** flush/purge and allocate "regular" cacheabl 20 */ 21 22 extern const struct dma_map_ops *hppa_dma_ops; 23 24 static inline const struct dma_map_ops *get_ar 25 { 26 return hppa_dma_ops; 27 } 28 29 #endif 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.