Lines Matching refs:hop2_addr
219 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_init() local
250 hop2_addr = alloc_hop(ctx); in dram_default_mapping_init()
251 if (hop2_addr == ULLONG_MAX) { in dram_default_mapping_init()
257 ctx->dram_default_hops[total_hops - 2] = hop2_addr; in dram_default_mapping_init()
273 pte_val = (hop2_addr & HOP_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; in dram_default_mapping_init()
277 hop2_pte_addr = hop2_addr; in dram_default_mapping_init()
282 get_pte(ctx, hop2_addr); in dram_default_mapping_init()
306 free_hop(ctx, hop2_addr); in dram_default_mapping_init()
319 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_fini() local
336 hop2_addr = ctx->dram_default_hops[total_hops - 2]; in dram_default_mapping_fini()
347 hop2_pte_addr = hop2_addr; in dram_default_mapping_fini()
350 put_pte(ctx, hop2_addr); in dram_default_mapping_fini()