/linux-5.19.10/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 | 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 | 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 | 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 | 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 | 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 | 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-5.19.10/drivers/misc/habanalabs/common/mmu/ |
D | mmu.c | 182 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()
|
D | mmu_v1.c | 496 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/ |
D | command_buffer.c | 22 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()
|
D | memory.c | 1130 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()
|
D | debugfs.c | 585 if (addr >= prop->pmmu.start_addr && in hl_is_device_va() 586 addr < prop->pmmu.end_addr) in hl_is_device_va()
|
D | habanalabs.h | 568 struct hl_mmu_properties pmmu; member
|
/linux-5.19.10/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 603 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 …]
|
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-5.19.10/drivers/misc/habanalabs/goya/ |
D | goya.c | 441 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 …]
|