Home
last modified time | relevance | path

Searched refs:hop_table_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/accel/habanalabs/common/mmu/
Dmmu_v2_hr.c50 return hl_mmu_hr_init(hdev, &hdev->mmu_priv.hr, prop->pmmu.hop_table_size, in hl_mmu_v2_hr_init()
68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->pmmu.hop_table_size); in hl_mmu_v2_hr_fini()
111 ctx->hdev->asic_prop.pmmu.hop_table_size); in hl_mmu_v2_hr_ctx_fini()
153 ctx->hdev->asic_prop.pmmu.hop_table_size); in _hl_mmu_v2_hr_unmap()
172 ctx->hdev->asic_prop.pmmu.hop_table_size); in _hl_mmu_v2_hr_unmap()
175 ctx->hdev->asic_prop.pmmu.hop_table_size)) in _hl_mmu_v2_hr_unmap()
179 ctx->hdev->asic_prop.pmmu.hop_table_size); in _hl_mmu_v2_hr_unmap()
258 ctx->hdev->asic_prop.pmmu.hop_table_size); in _hl_mmu_v2_hr_map()
271 ctx->hdev->asic_prop.pmmu.hop_table_size), in _hl_mmu_v2_hr_map()
282 ctx->hdev->asic_prop.pmmu.hop_table_size); in _hl_mmu_v2_hr_map()
[all …]
Dmmu.c780 u32 hop_table_size) in hl_mmu_hr_pool_destroy() argument
797 gen_pool_free(*pool, (uintptr_t) hop0_pgt->virt_addr, hop_table_size); in hl_mmu_hr_pool_destroy()
824 int hl_mmu_hr_init(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size, in hl_mmu_hr_init() argument
876 hop_table_size, in hl_mmu_hr_init()
878 hop_table_size); in hl_mmu_hr_init()
891 hl_mmu_hr_pool_destroy(hdev, hr_priv, hop_table_size); in hl_mmu_hr_init()
910 void hl_mmu_hr_fini(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size) in hl_mmu_hr_fini() argument
914 hl_mmu_hr_pool_destroy(hdev, hr_priv, hop_table_size); in hl_mmu_hr_fini()
934 u32 hop_table_size) in hl_mmu_hr_free_hop_remove_pgt() argument
936 gen_pool_free(hr_priv->mmu_pgt_pool, pgt_info->virt_addr, hop_table_size); in hl_mmu_hr_free_hop_remove_pgt()
[all …]
/linux-6.12.1/drivers/accel/habanalabs/common/
Dhabanalabs.h530 u32 hop_table_size; member
3895 int hl_mmu_hr_init(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size,
3897 void hl_mmu_hr_fini(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size);
3899 u32 hop_table_size);
3901 u32 hop_table_size);
3903 u64 val, u32 hop_table_size);
3905 u32 hop_table_size);
3907 u32 hop_table_size);
/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c436 prop->dmmu.hop_table_size = HOP_TABLE_SIZE_512_PTE; in goya_set_fixed_properties()
447 prop->pmmu.hop_table_size = HOP_TABLE_SIZE_512_PTE; in goya_set_fixed_properties()
2676 (i * prop->dmmu.hop_table_size); in goya_mmu_init()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c2485 prop->dmmu.hop_table_size = HOP_TABLE_SIZE_512_PTE; in gaudi2_set_fixed_properties()
2503 prop->pmmu.hop_table_size = HOP_TABLE_SIZE_512_PTE; in gaudi2_set_fixed_properties()
5937 hop0_addr = prop->mmu_pgt_addr + (asid * prop->dmmu.hop_table_size); in gaudi2_mmu_update_hop0_addr()
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c638 prop->pmmu.hop_table_size = HOP_TABLE_SIZE_512_PTE; in gaudi_set_fixed_properties()
3652 (i * prop->dmmu.hop_table_size); in gaudi_mmu_init()