Searched refs:total_hops (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu_v1.c | 30 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_init() local 44 total_hops = num_of_hop3 + 2; in dram_default_mapping_init() 46 ctx->dram_default_hops = kcalloc(total_hops, HL_PTE_SIZE, GFP_KERNEL); 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() 130 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_fini() local 145 total_hops = num_of_hop3 + 2; in dram_default_mapping_fini() 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()
|