Home
last modified time | relevance | path

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

/linux-5.19.10/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()
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()
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()
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()
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()
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()
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-5.19.10/drivers/misc/habanalabs/common/mmu/
Dmmu.c182 return &prop->pmmu; in hl_mmu_get_prop()
370 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_map_contiguous()
371 page_size = prop->pmmu.page_size; in hl_mmu_map_contiguous()
428 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_unmap_contiguous()
429 page_size = prop->pmmu.page_size; in hl_mmu_unmap_contiguous()
505 mmu_prop = &prop->pmmu; in hl_mmu_pa_page_with_offset()
581 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in hl_mmu_get_tlb_info()
Dmmu_v1.c496 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in hl_mmu_v1_unmap()
613 mmu_prop = &prop->pmmu; in hl_mmu_v1_map()
731 is_pmmu_addr = hl_mem_area_inside_range(virt_addr, prop->pmmu.page_size, in hl_mmu_v1_get_tlb_info()
732 prop->pmmu.start_addr, in hl_mmu_v1_get_tlb_info()
733 prop->pmmu.end_addr); in hl_mmu_v1_get_tlb_info()
742 mmu_prop = &prop->pmmu; in hl_mmu_v1_get_tlb_info()
/linux-5.19.10/drivers/misc/habanalabs/common/
Dcommand_buffer.c22 u32 page_size = prop->pmmu.page_size; in cb_map_mem()
566 ctx->cb_va_pool = gen_pool_create(__ffs(prop->pmmu.page_size), -1); in hl_cb_va_pool_init()
Dmemory.c1130 u32 page_size = hdev->asic_prop.pmmu.page_size, in map_device_va()
1365 hdev->asic_prop.pmmu.page_size) in unmap_device_va()
2725 host_range_start = prop->pmmu.start_addr; in hl_vm_ctx_init()
2726 host_range_end = prop->pmmu.end_addr - 1; in hl_vm_ctx_init()
2727 host_page_size = prop->pmmu.page_size; in hl_vm_ctx_init()
Ddebugfs.c585 if (addr >= prop->pmmu.start_addr && in hl_is_device_va()
586 addr < prop->pmmu.end_addr) in hl_is_device_va()
Dhabanalabs.h568 struct hl_mmu_properties pmmu; member
/linux-5.19.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c603 prop->pmmu.hop_shifts[MMU_HOP0] = MMU_V1_1_HOP0_SHIFT; in gaudi_set_fixed_properties()
604 prop->pmmu.hop_shifts[MMU_HOP1] = MMU_V1_1_HOP1_SHIFT; in gaudi_set_fixed_properties()
605 prop->pmmu.hop_shifts[MMU_HOP2] = MMU_V1_1_HOP2_SHIFT; in gaudi_set_fixed_properties()
606 prop->pmmu.hop_shifts[MMU_HOP3] = MMU_V1_1_HOP3_SHIFT; in gaudi_set_fixed_properties()
607 prop->pmmu.hop_shifts[MMU_HOP4] = MMU_V1_1_HOP4_SHIFT; in gaudi_set_fixed_properties()
608 prop->pmmu.hop_masks[MMU_HOP0] = MMU_V1_1_HOP0_MASK; in gaudi_set_fixed_properties()
609 prop->pmmu.hop_masks[MMU_HOP1] = MMU_V1_1_HOP1_MASK; in gaudi_set_fixed_properties()
610 prop->pmmu.hop_masks[MMU_HOP2] = MMU_V1_1_HOP2_MASK; in gaudi_set_fixed_properties()
611 prop->pmmu.hop_masks[MMU_HOP3] = MMU_V1_1_HOP3_MASK; in gaudi_set_fixed_properties()
612 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-5.19.10/drivers/misc/habanalabs/goya/
Dgoya.c441 memcpy(&prop->pmmu, &prop->dmmu, sizeof(prop->dmmu)); in goya_set_fixed_properties()
442 prop->pmmu.start_addr = VA_HOST_SPACE_START; in goya_set_fixed_properties()
443 prop->pmmu.end_addr = VA_HOST_SPACE_END; in goya_set_fixed_properties()
444 prop->pmmu.page_size = PAGE_SIZE_4KB; in goya_set_fixed_properties()
445 prop->pmmu.num_hops = MMU_ARCH_5_HOPS; in goya_set_fixed_properties()
446 prop->pmmu.last_mask = LAST_MASK; in goya_set_fixed_properties()
448 prop->pmmu.hop_table_size = prop->mmu_hop_table_size; in goya_set_fixed_properties()
449 prop->pmmu.hop0_tables_total_size = prop->mmu_hop0_tables_total_size; in goya_set_fixed_properties()
452 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in goya_set_fixed_properties()
3604 hdev->asic_prop.pmmu.start_addr, in goya_validate_dma_pkt_mmu()
[all …]