Searched refs:pgt_residency (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/ |
D | mmu.c | 22 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() 594 int pgt_residency, rc; in hl_mmu_get_tlb_info() local 609 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_get_tlb_info() [all …]
|