Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
0002 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
0003 
0004 #ifndef __LIMA_MMU_H__
0005 #define __LIMA_MMU_H__
0006 
0007 struct lima_ip;
0008 struct lima_vm;
0009 
0010 int lima_mmu_resume(struct lima_ip *ip);
0011 void lima_mmu_suspend(struct lima_ip *ip);
0012 int lima_mmu_init(struct lima_ip *ip);
0013 void lima_mmu_fini(struct lima_ip *ip);
0014 
0015 void lima_mmu_flush_tlb(struct lima_ip *ip);
0016 void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm);
0017 void lima_mmu_page_fault_resume(struct lima_ip *ip);
0018 
0019 #endif