Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dgp100.c40 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()
Dgp10b.c40 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()
Dgm20b.c50 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()
Dnv41.c50 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()
Dgm200.c93 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()
Dnv44.c65 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()
Dnv04.c38 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()
Dgv100.c40 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()
Dmcp77.c38 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()
Dg84.c38 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()
Dgk104.c38 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()
Dgk20a.c38 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()
Dnv50.c74 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()
Dtu102.c54 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()
Dgf100.c87 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()
Dbase.c429 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/
Dmmu.c133 mmu_prop = &prop->pmmu; in hl_mmu_unmap()
209 mmu_prop = &prop->pmmu; in hl_mmu_map()
Dcommand_buffer.c23 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()
Dmemory.c867 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()
Ddebugfs.c409 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()
Dmmu_v1.c539 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v1_unmap()
688 mmu_prop = &prop->pmmu; in _hl_mmu_v1_map()
Dhabanalabs.h332 struct hl_mmu_properties pmmu; member
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c430 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 …]
Dgaudi_coresight.c551 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/
Dgoya.c432 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()