Searched refs:pgt_residency (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu.c | 23 static struct hl_mmu_funcs *hl_mmu_get_funcs(struct hl_device *hdev, int pgt_residency, in hl_mmu_get_funcs() argument 26 return &hdev->mmu_func[pgt_residency]; in hl_mmu_get_funcs() 232 int i, pgt_residency, rc = 0; in hl_mmu_unmap_page() local 243 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_unmap_page() 244 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_unmap_page() 296 int i, rc, pgt_residency, mapped_cnt = 0; in hl_mmu_map_page() local 311 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_map_page() 312 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_map_page() 555 int pgt_residency, rc; in hl_mmu_get_tlb_info() local 570 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_get_tlb_info() [all …]
|