Lines Matching refs:paddr
360 int mm_map_vma(struct vm_area_struct *vma, uint64_t paddr, uint64_t offset, uint64_t length) in mm_map_vma() argument
373 pg = __create_mmio_page_struct(paddr); in mm_map_vma()
378 pg = Phy_to_2M_Page(paddr); in mm_map_vma()
412 …_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset, paddr, len_4k, page_flag… in mm_map_vma()
431 …e_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, paddr + mapped, len_2m, … in mm_map_vma()
447 …e_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, paddr + mapped, len_4k, … in mm_map_vma()
473 int mm_map(struct mm_struct *mm, uint64_t vaddr, uint64_t length, uint64_t paddr) in mm_map() argument
496 retval = mm_map_vma(vma, paddr + mapped, offset, m_len); in mm_map()
516 int mm_unmap_vma(struct mm_struct *mm, struct vm_area_struct *vma, uint64_t *paddr) in mm_unmap_vma() argument
522 if (paddr != NULL) in mm_unmap_vma()
523 *paddr = __mm_get_paddr(mm, vma->vm_start); in mm_unmap_vma()