Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) // Copyright (C) 2005-2017 Andes Technology Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #ifndef __NDS32_PROCFNS_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define __NDS32_PROCFNS_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifdef __KERNEL__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <asm/page.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct mm_struct;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct vm_area_struct;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern void cpu_proc_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) extern void cpu_proc_fin(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) extern void cpu_do_idle(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) extern void cpu_reset(unsigned long reset);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) extern void cpu_switch_mm(struct mm_struct *mm);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern void cpu_dcache_inval_all(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) extern void cpu_dcache_wbinval_all(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) extern void cpu_dcache_inval_page(unsigned long page);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) extern void cpu_dcache_wb_page(unsigned long page);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) extern void cpu_dcache_wbinval_page(unsigned long page);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) extern void cpu_dcache_inval_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) extern void cpu_dcache_wb_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) extern void cpu_dcache_wbinval_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) extern void cpu_icache_inval_all(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) extern void cpu_icache_inval_page(unsigned long page);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) extern void cpu_icache_inval_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) extern void cpu_cache_wbinval_page(unsigned long page, int flushi);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) extern void cpu_cache_wbinval_range(unsigned long start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 				    unsigned long end, int flushi);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) extern void cpu_cache_wbinval_range_check(struct vm_area_struct *vma,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 					  unsigned long start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 					  unsigned long end, bool flushi,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 					  bool wbd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) extern void cpu_dma_wb_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) extern void cpu_dma_inval_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) extern void cpu_dma_wbinval_range(unsigned long start, unsigned long end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #endif /* __KERNEL__ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) #endif /* __NDS32_PROCFNS_H__ */