Home
last modified time | relevance | path

Searched refs:pgt_residency (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c22 static struct hl_mmu_funcs *hl_mmu_get_funcs(struct hl_device *hdev, int pgt_residency, in hl_mmu_get_funcs() argument
25 return &hdev->mmu_func[pgt_residency]; in hl_mmu_get_funcs()
231 int i, pgt_residency, rc = 0; in hl_mmu_unmap_page() local
242 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_unmap_page()
243 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_unmap_page()
295 int i, rc, pgt_residency, mapped_cnt = 0; in hl_mmu_map_page() local
310 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_map_page()
311 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_map_page()
554 int pgt_residency, rc; in hl_mmu_get_tlb_info() local
569 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_get_tlb_info()
[all …]