Lines Matching refs:vaddr
21 unsigned long vaddr; in kmap_coherent_init() local
24 vaddr = __fix_to_virt(FIX_CMAP_BEGIN); in kmap_coherent_init()
25 kmap_coherent_pte = virt_to_kpte(vaddr); in kmap_coherent_init()
31 unsigned long vaddr; in kmap_coherent() local
42 vaddr = __fix_to_virt(idx); in kmap_coherent()
47 return (void *)vaddr; in kmap_coherent()
53 unsigned long vaddr = (unsigned long)kvaddr & PAGE_MASK; in kunmap_coherent() local
54 enum fixed_addresses idx = __virt_to_fix(vaddr); in kunmap_coherent()
57 __flush_purge_region((void *)vaddr, PAGE_SIZE); in kunmap_coherent()
59 pte_clear(&init_mm, vaddr, kmap_coherent_pte - idx); in kunmap_coherent()
60 local_flush_tlb_one(get_asid(), vaddr); in kunmap_coherent()