Searched refs:mmu_hop_table_size (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu_v2_hr.c | 50 return hl_mmu_hr_init(hdev, &hdev->mmu_priv.hr, prop->mmu_hop_table_size, in hl_mmu_v2_hr_init() 68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->mmu_hop_table_size); in hl_mmu_v2_hr_fini() 111 ctx->hdev->asic_prop.mmu_hop_table_size); in hl_mmu_v2_hr_ctx_fini() 153 ctx->hdev->asic_prop.mmu_hop_table_size); in _hl_mmu_v2_hr_unmap() 172 ctx->hdev->asic_prop.mmu_hop_table_size); in _hl_mmu_v2_hr_unmap() 175 ctx->hdev->asic_prop.mmu_hop_table_size)) in _hl_mmu_v2_hr_unmap() 179 ctx->hdev->asic_prop.mmu_hop_table_size); in _hl_mmu_v2_hr_unmap() 258 ctx->hdev->asic_prop.mmu_hop_table_size); in _hl_mmu_v2_hr_map() 271 ctx->hdev->asic_prop.mmu_hop_table_size), in _hl_mmu_v2_hr_map() 282 ctx->hdev->asic_prop.mmu_hop_table_size); in _hl_mmu_v2_hr_map() [all...] |
H A D | mmu_v1.c | 34 hdev->asic_prop.mmu_hop_table_size); in _free_hop() 59 prop->mmu_hop_table_size); in alloc_hop() 65 shadow_addr = (u64) (uintptr_t) kzalloc(prop->mmu_hop_table_size, in alloc_hop() 80 prop->mmu_hop_table_size); in alloc_hop() 90 (ctx->asid * ctx->hdev->asic_prop.mmu_hop_table_size); in get_phys_hop0_addr() 96 (ctx->asid * ctx->hdev->asic_prop.mmu_hop_table_size); in get_hop0_addr() 202 u64 page_mask = (ctx->hdev->asic_prop.mmu_hop_table_size - 1); in get_phys_addr() 379 gen_pool_create(__ffs(prop->mmu_hop_table_size), -1); in hl_mmu_v1_init() 395 hdev->mmu_priv.dr.mmu_shadow_hop0 = kvcalloc(prop->max_asid, prop->mmu_hop_table_size, in hl_mmu_v1_init()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | mmu_v1.c | 33 hdev->asic_prop.mmu_hop_table_size); in _free_hop() 58 prop->mmu_hop_table_size); in alloc_hop() 64 shadow_addr = (u64) (uintptr_t) kzalloc(prop->mmu_hop_table_size, in alloc_hop() 79 prop->mmu_hop_table_size); in alloc_hop() 89 (ctx->asid * ctx->hdev->asic_prop.mmu_hop_table_size); in get_phys_hop0_addr() 95 (ctx->asid * ctx->hdev->asic_prop.mmu_hop_table_size); in get_hop0_addr() 245 u64 page_mask = (ctx->hdev->asic_prop.mmu_hop_table_size - 1); in get_phys_addr() 423 gen_pool_create(__ffs(prop->mmu_hop_table_size), -1); in hl_mmu_v1_init() 440 prop->mmu_hop_table_size, in hl_mmu_v1_init()
|
H A D | habanalabs.h | 300 * @mmu_hop_table_size: MMU hop table size. 352 u32 mmu_hop_table_size; member
|
H A D | debugfs.c | 307 (ctx->asid * ctx->hdev->asic_prop.mmu_hop_table_size); in get_hop0_addr()
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 416 prop->mmu_hop_table_size = HOP_TABLE_SIZE_512_PTE; in goya_set_fixed_properties() 438 prop->dmmu.hop_table_size = prop->mmu_hop_table_size; in goya_set_fixed_properties() 449 prop->pmmu.hop_table_size = prop->mmu_hop_table_size; in goya_set_fixed_properties() 2681 (i * prop->mmu_hop_table_size); in goya_mmu_init()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/ |
H A D | goya.c | 412 prop->mmu_hop_table_size = HOP_TABLE_SIZE; in goya_get_fixed_properties() 2462 (i * prop->mmu_hop_table_size); in goya_mmu_init()
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 613 prop->mmu_hop_table_size = HOP_TABLE_SIZE_512_PTE; in gaudi_set_fixed_properties() 636 prop->pmmu.hop_table_size = prop->mmu_hop_table_size; in gaudi_set_fixed_properties() 3651 (i * prop->mmu_hop_table_size); in gaudi_mmu_init()
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 586 * @mmu_hop_table_size: MMU hop table size. 737 u32 mmu_hop_table_size; member
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 2331 prop->mmu_hop_table_size = HOP_TABLE_SIZE_512_PTE; in gaudi2_set_fixed_properties() 2348 prop->dmmu.hop_table_size = prop->mmu_hop_table_size; in gaudi2_set_fixed_properties() 2363 prop->pmmu.hop_table_size = prop->mmu_hop_table_size; in gaudi2_set_fixed_properties()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/ |
H A D | gaudi.c | 426 prop->mmu_hop_table_size = HOP_TABLE_SIZE; in gaudi_get_fixed_properties() 2712 (i * prop->mmu_hop_table_size); in gaudi_mmu_init()
|
Completed in 61 milliseconds