Home
last modified time | relevance | path

Searched refs:pmmu (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dgp100.c41 struct nvkm_mmu **pmmu) in gp100_mmu_new() argument
44 return gm200_mmu_new(device, type, inst, pmmu); in gp100_mmu_new()
45 return nvkm_mmu_new_(&gp100_mmu, device, type, inst, pmmu); in gp100_mmu_new()
Dgp10b.c41 struct nvkm_mmu **pmmu) in gp10b_mmu_new() argument
44 return gm20b_mmu_new(device, type, inst, pmmu); in gp10b_mmu_new()
45 return nvkm_mmu_new_(&gp10b_mmu, device, type, inst, pmmu); in gp10b_mmu_new()
Dgm20b.c51 struct nvkm_mmu **pmmu) in gm20b_mmu_new() argument
54 return nvkm_mmu_new_(&gm20b_mmu_fixed, device, type, inst, pmmu); in gm20b_mmu_new()
55 return nvkm_mmu_new_(&gm20b_mmu, device, type, inst, pmmu); in gm20b_mmu_new()
Dnv41.c51 struct nvkm_mmu **pmmu) in nv41_mmu_new() argument
55 return nv04_mmu_new(device, type, inst, pmmu); in nv41_mmu_new()
57 return nvkm_mmu_new_(&nv41_mmu, device, type, inst, pmmu); in nv41_mmu_new()
Dgm200.c94 struct nvkm_mmu **pmmu) in gm200_mmu_new() argument
97 return nvkm_mmu_new_(&gm200_mmu_fixed, device, type, inst, pmmu); in gm200_mmu_new()
98 return nvkm_mmu_new_(&gm200_mmu, device, type, inst, pmmu); in gm200_mmu_new()
Dnv44.c66 struct nvkm_mmu **pmmu) in nv44_mmu_new() argument
70 return nv04_mmu_new(device, type, inst, pmmu); in nv44_mmu_new()
72 return nvkm_mmu_new_(&nv44_mmu, device, type, inst, pmmu); in nv44_mmu_new()
Dnv04.c39 struct nvkm_mmu **pmmu) in nv04_mmu_new() argument
41 return nvkm_mmu_new_(&nv04_mmu, device, type, inst, pmmu); in nv04_mmu_new()
Dgk104.c39 struct nvkm_mmu **pmmu) in gk104_mmu_new() argument
41 return nvkm_mmu_new_(&gk104_mmu, device, type, inst, pmmu); in gk104_mmu_new()
Dgk20a.c39 struct nvkm_mmu **pmmu) in gk20a_mmu_new() argument
41 return nvkm_mmu_new_(&gk20a_mmu, device, type, inst, pmmu); in gk20a_mmu_new()
Dg84.c39 struct nvkm_mmu **pmmu) in g84_mmu_new() argument
41 return nvkm_mmu_new_(&g84_mmu, device, type, inst, pmmu); in g84_mmu_new()
Dgv100.c41 struct nvkm_mmu **pmmu) in gv100_mmu_new() argument
43 return nvkm_mmu_new_(&gv100_mmu, device, type, inst, pmmu); in gv100_mmu_new()
Dmcp77.c39 struct nvkm_mmu **pmmu) in mcp77_mmu_new() argument
41 return nvkm_mmu_new_(&mcp77_mmu, device, type, inst, pmmu); in mcp77_mmu_new()
Dgf100.c88 struct nvkm_mmu **pmmu) in gf100_mmu_new() argument
90 return nvkm_mmu_new_(&gf100_mmu, device, type, inst, pmmu); in gf100_mmu_new()
Dnv50.c75 struct nvkm_mmu **pmmu) in nv50_mmu_new() argument
77 return nvkm_mmu_new_(&nv50_mmu, device, type, inst, pmmu); in nv50_mmu_new()
Dtu102.c55 struct nvkm_mmu **pmmu) in tu102_mmu_new() argument
57 return nvkm_mmu_new_(&tu102_mmu, device, type, inst, pmmu); in tu102_mmu_new()
Dbase.c431 enum nvkm_subdev_type type, int inst, struct nvkm_mmu **pmmu) in nvkm_mmu_new_() argument
433 if (!(*pmmu = kzalloc(sizeof(**pmmu), GFP_KERNEL))) in nvkm_mmu_new_()
435 nvkm_mmu_ctor(func, device, type, inst, *pmmu); in nvkm_mmu_new_()
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/
Dmmu_v2_hr.c129 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v2_hr_unmap()
230 mmu_prop = &prop->pmmu; in _hl_mmu_v2_hr_map()
344 is_pmmu_addr = hl_mem_area_inside_range(virt_addr, prop->pmmu.page_size, in hl_mmu_v2_hr_get_tlb_mapping_params()
345 prop->pmmu.start_addr, in hl_mmu_v2_hr_get_tlb_mapping_params()
346 prop->pmmu.end_addr); in hl_mmu_v2_hr_get_tlb_mapping_params()
356 *mmu_prop = &prop->pmmu; in hl_mmu_v2_hr_get_tlb_mapping_params()
Dmmu.c202 return &prop->pmmu; in hl_mmu_get_prop()
395 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_map_contiguous()
396 page_size = prop->pmmu.page_size; in hl_mmu_map_contiguous()
455 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_unmap_contiguous()
456 page_size = prop->pmmu.page_size; in hl_mmu_unmap_contiguous()
532 mmu_prop = &prop->pmmu; in hl_mmu_pa_page_with_offset()
608 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in hl_mmu_get_tlb_info()
Dmmu_v1.c495 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in hl_mmu_v1_unmap()
612 mmu_prop = &prop->pmmu; in hl_mmu_v1_map()
730 is_pmmu_addr = hl_mem_area_inside_range(virt_addr, prop->pmmu.page_size, in hl_mmu_v1_get_tlb_info()
731 prop->pmmu.start_addr, in hl_mmu_v1_get_tlb_info()
732 prop->pmmu.end_addr); in hl_mmu_v1_get_tlb_info()
741 mmu_prop = &prop->pmmu; in hl_mmu_v1_get_tlb_info()
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c1972 prop->pmmu.host_resident = 1; in gaudi2_set_fixed_properties()
1973 prop->pmmu.num_hops = MMU_ARCH_6_HOPS; in gaudi2_set_fixed_properties()
1974 prop->pmmu.last_mask = LAST_MASK; in gaudi2_set_fixed_properties()
1976 prop->pmmu.hop_table_size = prop->mmu_hop_table_size; in gaudi2_set_fixed_properties()
1977 prop->pmmu.hop0_tables_total_size = prop->mmu_hop0_tables_total_size; in gaudi2_set_fixed_properties()
1987 prop->pmmu.hop_shifts[MMU_HOP0] = HOP0_SHIFT_64K; in gaudi2_set_fixed_properties()
1988 prop->pmmu.hop_shifts[MMU_HOP1] = HOP1_SHIFT_64K; in gaudi2_set_fixed_properties()
1989 prop->pmmu.hop_shifts[MMU_HOP2] = HOP2_SHIFT_64K; in gaudi2_set_fixed_properties()
1990 prop->pmmu.hop_shifts[MMU_HOP3] = HOP3_SHIFT_64K; in gaudi2_set_fixed_properties()
1991 prop->pmmu.hop_shifts[MMU_HOP4] = HOP4_SHIFT_64K; in gaudi2_set_fixed_properties()
[all …]
/linux-6.1.9/drivers/misc/habanalabs/common/
Dcommand_buffer.c21 u32 page_size = prop->pmmu.page_size; in cb_map_mem()
497 ctx->cb_va_pool = gen_pool_create(__ffs(prop->pmmu.page_size), -1); in hl_cb_va_pool_init()
Dmemory.c1100 u32 page_size = hdev->asic_prop.pmmu.page_size, in map_device_va()
1335 hdev->asic_prop.pmmu.page_size) in unmap_device_va()
2709 host_range_start = prop->pmmu.start_addr; in hl_vm_ctx_init()
2710 host_range_end = prop->pmmu.end_addr - 1; in hl_vm_ctx_init()
2711 host_page_size = prop->pmmu.page_size; in hl_vm_ctx_init()
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
Dgaudi.c626 prop->pmmu.hop_shifts[MMU_HOP0] = MMU_V1_1_HOP0_SHIFT; in gaudi_set_fixed_properties()
627 prop->pmmu.hop_shifts[MMU_HOP1] = MMU_V1_1_HOP1_SHIFT; in gaudi_set_fixed_properties()
628 prop->pmmu.hop_shifts[MMU_HOP2] = MMU_V1_1_HOP2_SHIFT; in gaudi_set_fixed_properties()
629 prop->pmmu.hop_shifts[MMU_HOP3] = MMU_V1_1_HOP3_SHIFT; in gaudi_set_fixed_properties()
630 prop->pmmu.hop_shifts[MMU_HOP4] = MMU_V1_1_HOP4_SHIFT; in gaudi_set_fixed_properties()
631 prop->pmmu.hop_masks[MMU_HOP0] = MMU_V1_1_HOP0_MASK; in gaudi_set_fixed_properties()
632 prop->pmmu.hop_masks[MMU_HOP1] = MMU_V1_1_HOP1_MASK; in gaudi_set_fixed_properties()
633 prop->pmmu.hop_masks[MMU_HOP2] = MMU_V1_1_HOP2_MASK; in gaudi_set_fixed_properties()
634 prop->pmmu.hop_masks[MMU_HOP3] = MMU_V1_1_HOP3_MASK; in gaudi_set_fixed_properties()
635 prop->pmmu.hop_masks[MMU_HOP4] = MMU_V1_1_HOP4_MASK; in gaudi_set_fixed_properties()
[all …]
Dgaudi_coresight.c550 prop->pmmu.start_addr, in gaudi_etr_validate_address()
551 prop->pmmu.end_addr)) { in gaudi_etr_validate_address()
/linux-6.1.9/drivers/misc/habanalabs/goya/
Dgoya.c442 memcpy(&prop->pmmu, &prop->dmmu, sizeof(prop->dmmu)); in goya_set_fixed_properties()
443 prop->pmmu.start_addr = VA_HOST_SPACE_START; in goya_set_fixed_properties()
444 prop->pmmu.end_addr = VA_HOST_SPACE_END; in goya_set_fixed_properties()
445 prop->pmmu.page_size = PAGE_SIZE_4KB; in goya_set_fixed_properties()
446 prop->pmmu.num_hops = MMU_ARCH_5_HOPS; in goya_set_fixed_properties()
447 prop->pmmu.last_mask = LAST_MASK; in goya_set_fixed_properties()
449 prop->pmmu.hop_table_size = prop->mmu_hop_table_size; in goya_set_fixed_properties()
450 prop->pmmu.hop0_tables_total_size = prop->mmu_hop0_tables_total_size; in goya_set_fixed_properties()
453 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in goya_set_fixed_properties()
3583 hdev->asic_prop.pmmu.start_addr, in goya_validate_dma_pkt_mmu()
[all …]

12