/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | gp100.c | 41 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()
|
D | gp10b.c | 41 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()
|
D | gm20b.c | 51 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()
|
D | nv41.c | 51 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()
|
D | gm200.c | 94 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()
|
D | nv44.c | 66 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()
|
D | nv04.c | 39 struct nvkm_mmu **pmmu) in nv04_mmu_new() argument 41 return nvkm_mmu_new_(&nv04_mmu, device, type, inst, pmmu); in nv04_mmu_new()
|
D | gk104.c | 39 struct nvkm_mmu **pmmu) in gk104_mmu_new() argument 41 return nvkm_mmu_new_(&gk104_mmu, device, type, inst, pmmu); in gk104_mmu_new()
|
D | gk20a.c | 39 struct nvkm_mmu **pmmu) in gk20a_mmu_new() argument 41 return nvkm_mmu_new_(&gk20a_mmu, device, type, inst, pmmu); in gk20a_mmu_new()
|
D | g84.c | 39 struct nvkm_mmu **pmmu) in g84_mmu_new() argument 41 return nvkm_mmu_new_(&g84_mmu, device, type, inst, pmmu); in g84_mmu_new()
|
D | gv100.c | 41 struct nvkm_mmu **pmmu) in gv100_mmu_new() argument 43 return nvkm_mmu_new_(&gv100_mmu, device, type, inst, pmmu); in gv100_mmu_new()
|
D | mcp77.c | 39 struct nvkm_mmu **pmmu) in mcp77_mmu_new() argument 41 return nvkm_mmu_new_(&mcp77_mmu, device, type, inst, pmmu); in mcp77_mmu_new()
|
D | gf100.c | 88 struct nvkm_mmu **pmmu) in gf100_mmu_new() argument 90 return nvkm_mmu_new_(&gf100_mmu, device, type, inst, pmmu); in gf100_mmu_new()
|
D | nv50.c | 75 struct nvkm_mmu **pmmu) in nv50_mmu_new() argument 77 return nvkm_mmu_new_(&nv50_mmu, device, type, inst, pmmu); in nv50_mmu_new()
|
D | tu102.c | 55 struct nvkm_mmu **pmmu) in tu102_mmu_new() argument 57 return nvkm_mmu_new_(&tu102_mmu, device, type, inst, pmmu); in tu102_mmu_new()
|
D | base.c | 431 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/ |
D | mmu_v2_hr.c | 129 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()
|
D | mmu.c | 202 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()
|
D | mmu_v1.c | 495 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/ |
D | gaudi2.c | 1972 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/ |
D | command_buffer.c | 21 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()
|
D | memory.c | 1100 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/ |
D | gaudi.c | 626 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 …]
|
D | gaudi_coresight.c | 550 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/ |
D | goya.c | 442 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 …]
|