Home
last modified time | relevance | path

Searched refs:dram_default_hops (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v1.c47 if (!ctx->dram_default_hops) in dram_default_mapping_init()
59 ctx->dram_default_hops[total_hops - 1] = hop1_addr; in dram_default_mapping_init()
68 ctx->dram_default_hops[total_hops - 2] = hop2_addr; in dram_default_mapping_init()
72 if (ctx->dram_default_hops[i] == ULLONG_MAX) { in dram_default_mapping_init()
101 hop3_pte_addr = ctx->dram_default_hops[i]; in dram_default_mapping_init()
104 hl_mmu_dr_get_pte(ctx, ctx->dram_default_hops[i]); in dram_default_mapping_init()
121 kfree(ctx->dram_default_hops); in dram_default_mapping_init()
146 hop1_addr = ctx->dram_default_hops[total_hops - 1]; in dram_default_mapping_fini()
147 hop2_addr = ctx->dram_default_hops[total_hops - 2]; in dram_default_mapping_fini()
150 hop3_pte_addr = ctx->dram_default_hops[i]; in dram_default_mapping_fini()
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs.h1949 u64 *dram_default_hops; member