/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | gp100.c | 40 gp100_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gp100_mmu_new() argument 43 return gm200_mmu_new(device, index, pmmu); in gp100_mmu_new() 44 return nvkm_mmu_new_(&gp100_mmu, device, index, pmmu); in gp100_mmu_new()
|
D | gp10b.c | 40 gp10b_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gp10b_mmu_new() argument 43 return gm20b_mmu_new(device, index, pmmu); in gp10b_mmu_new() 44 return nvkm_mmu_new_(&gp10b_mmu, device, index, pmmu); in gp10b_mmu_new()
|
D | gm20b.c | 50 gm20b_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gm20b_mmu_new() argument 53 return nvkm_mmu_new_(&gm20b_mmu_fixed, device, index, pmmu); in gm20b_mmu_new() 54 return nvkm_mmu_new_(&gm20b_mmu, device, index, pmmu); in gm20b_mmu_new()
|
D | nv41.c | 50 nv41_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv41_mmu_new() argument 54 return nv04_mmu_new(device, index, pmmu); in nv41_mmu_new() 56 return nvkm_mmu_new_(&nv41_mmu, device, index, pmmu); in nv41_mmu_new()
|
D | gm200.c | 93 gm200_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gm200_mmu_new() argument 96 return nvkm_mmu_new_(&gm200_mmu_fixed, device, index, pmmu); in gm200_mmu_new() 97 return nvkm_mmu_new_(&gm200_mmu, device, index, pmmu); in gm200_mmu_new()
|
D | nv44.c | 65 nv44_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv44_mmu_new() argument 69 return nv04_mmu_new(device, index, pmmu); in nv44_mmu_new() 71 return nvkm_mmu_new_(&nv44_mmu, device, index, pmmu); in nv44_mmu_new()
|
D | nv04.c | 38 nv04_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv04_mmu_new() argument 40 return nvkm_mmu_new_(&nv04_mmu, device, index, pmmu); in nv04_mmu_new()
|
D | gv100.c | 40 gv100_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gv100_mmu_new() argument 42 return nvkm_mmu_new_(&gv100_mmu, device, index, pmmu); in gv100_mmu_new()
|
D | mcp77.c | 38 mcp77_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in mcp77_mmu_new() argument 40 return nvkm_mmu_new_(&mcp77_mmu, device, index, pmmu); in mcp77_mmu_new()
|
D | g84.c | 38 g84_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in g84_mmu_new() argument 40 return nvkm_mmu_new_(&g84_mmu, device, index, pmmu); in g84_mmu_new()
|
D | gk104.c | 38 gk104_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gk104_mmu_new() argument 40 return nvkm_mmu_new_(&gk104_mmu, device, index, pmmu); in gk104_mmu_new()
|
D | gk20a.c | 38 gk20a_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gk20a_mmu_new() argument 40 return nvkm_mmu_new_(&gk20a_mmu, device, index, pmmu); in gk20a_mmu_new()
|
D | nv50.c | 74 nv50_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv50_mmu_new() argument 76 return nvkm_mmu_new_(&nv50_mmu, device, index, pmmu); in nv50_mmu_new()
|
D | tu102.c | 54 tu102_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in tu102_mmu_new() argument 56 return nvkm_mmu_new_(&tu102_mmu, device, index, pmmu); in tu102_mmu_new()
|
D | gf100.c | 87 gf100_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in gf100_mmu_new() argument 89 return nvkm_mmu_new_(&gf100_mmu, device, index, pmmu); in gf100_mmu_new()
|
D | base.c | 429 int index, struct nvkm_mmu **pmmu) in nvkm_mmu_new_() argument 431 if (!(*pmmu = kzalloc(sizeof(**pmmu), GFP_KERNEL))) in nvkm_mmu_new_() 433 nvkm_mmu_ctor(func, device, index, *pmmu); in nvkm_mmu_new_()
|
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | mmu.c | 133 mmu_prop = &prop->pmmu; in hl_mmu_unmap() 209 mmu_prop = &prop->pmmu; in hl_mmu_map()
|
D | command_buffer.c | 23 u32 page_size = prop->pmmu.page_size; in cb_map_mem() 656 ctx->cb_va_pool = gen_pool_create(__ffs(prop->pmmu.page_size), -1); in hl_cb_va_pool_init()
|
D | memory.c | 867 u32 page_size = hdev->asic_prop.pmmu.page_size, in map_device_va() 1075 hdev->asic_prop.pmmu.page_size) in unmap_device_va() 1692 host_range_start = prop->pmmu.start_addr; in hl_vm_ctx_init() 1693 host_range_end = prop->pmmu.end_addr; in hl_vm_ctx_init()
|
D | debugfs.c | 409 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in mmu_show() 604 if (addr >= prop->pmmu.start_addr && in hl_is_device_va() 605 addr < prop->pmmu.end_addr) in hl_is_device_va() 636 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in device_va_to_pa()
|
D | mmu_v1.c | 539 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v1_unmap() 688 mmu_prop = &prop->pmmu; in _hl_mmu_v1_map()
|
D | habanalabs.h | 332 struct hl_mmu_properties pmmu; member
|
/Linux-v5.10/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 430 prop->pmmu.hop0_shift = HOP0_SHIFT; in gaudi_get_fixed_properties() 431 prop->pmmu.hop1_shift = HOP1_SHIFT; in gaudi_get_fixed_properties() 432 prop->pmmu.hop2_shift = HOP2_SHIFT; in gaudi_get_fixed_properties() 433 prop->pmmu.hop3_shift = HOP3_SHIFT; in gaudi_get_fixed_properties() 434 prop->pmmu.hop4_shift = HOP4_SHIFT; in gaudi_get_fixed_properties() 435 prop->pmmu.hop0_mask = HOP0_MASK; in gaudi_get_fixed_properties() 436 prop->pmmu.hop1_mask = HOP1_MASK; in gaudi_get_fixed_properties() 437 prop->pmmu.hop2_mask = HOP2_MASK; in gaudi_get_fixed_properties() 438 prop->pmmu.hop3_mask = HOP3_MASK; in gaudi_get_fixed_properties() 439 prop->pmmu.hop4_mask = HOP4_MASK; in gaudi_get_fixed_properties() [all …]
|
D | gaudi_coresight.c | 551 prop->pmmu.start_addr, in gaudi_etr_validate_address() 552 prop->pmmu.end_addr)) { in gaudi_etr_validate_address()
|
/Linux-v5.10/drivers/misc/habanalabs/goya/ |
D | goya.c | 432 memcpy(&prop->pmmu, &prop->dmmu, sizeof(prop->dmmu)); in goya_get_fixed_properties() 433 prop->pmmu.start_addr = VA_HOST_SPACE_START; in goya_get_fixed_properties() 434 prop->pmmu.end_addr = VA_HOST_SPACE_END; in goya_get_fixed_properties() 435 prop->pmmu.page_size = PAGE_SIZE_4KB; in goya_get_fixed_properties() 436 prop->pmmu.num_hops = MMU_ARCH_5_HOPS; in goya_get_fixed_properties() 439 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in goya_get_fixed_properties() 3402 hdev->asic_prop.pmmu.start_addr, in goya_validate_dma_pkt_mmu() 3403 hdev->asic_prop.pmmu.end_addr)) { in goya_validate_dma_pkt_mmu()
|