• Home
  • Raw
  • Download

Lines Matching refs:kaddr

31 	unsigned long kaddr;  in flush_icache_page()  local
33 kaddr = (unsigned long)kmap_atomic(page); in flush_icache_page()
34 cpu_cache_wbinval_page(kaddr, vma->vm_flags & VM_EXEC); in flush_icache_page()
35 kunmap_atomic((void *)kaddr); in flush_icache_page()
43 unsigned long kaddr; in flush_icache_user_range() local
44 kaddr = (unsigned long)kmap_atomic(page) + (addr & ~PAGE_MASK); in flush_icache_user_range()
45 flush_icache_range(kaddr, kaddr + len); in flush_icache_user_range()
46 kunmap_atomic((void *)kaddr); in flush_icache_user_range()
70 unsigned long kaddr; in update_mmu_cache() local
72 kaddr = (unsigned long)kmap_atomic(page); in update_mmu_cache()
73 cpu_cache_wbinval_page(kaddr, vma->vm_flags & VM_EXEC); in update_mmu_cache()
74 kunmap_atomic((void *)kaddr); in update_mmu_cache()
88 unsigned long kaddr, pte; in kremap0() local
91 kaddr = BASE_ADDR0 | (uaddr & L1_cache_info[DCACHE].aliasing_mask); in kremap0()
93 __nds32__mtsr_dsb(kaddr, NDS32_SR_TLB_VPN); in kremap0()
96 return kaddr; in kremap0()
99 static inline void kunmap01(unsigned long kaddr) in kunmap01() argument
101 __nds32__tlbop_unlk(kaddr); in kunmap01()
102 __nds32__tlbop_inv(kaddr); in kunmap01()
108 unsigned long kaddr, pte; in kremap1() local
111 kaddr = BASE_ADDR1 | (uaddr & L1_cache_info[DCACHE].aliasing_mask); in kremap1()
113 __nds32__mtsr_dsb(kaddr, NDS32_SR_TLB_VPN); in kremap1()
116 return kaddr; in kremap1()
246 unsigned long kaddr, flags; in flush_dcache_page() local
248 kaddr = (unsigned long)page_address(page); in flush_dcache_page()
250 cpu_dcache_wbinval_page(kaddr); in flush_dcache_page()
255 if (aliasing(vaddr, kaddr)) { in flush_dcache_page()
303 unsigned long kaddr, flags, ktmp; in flush_anon_page() local
313 kaddr = (unsigned long)page_address(page); in flush_anon_page()
314 if (aliasing(vaddr, kaddr)) { in flush_anon_page()