Searched refs:dram_default_hops (Results 1 – 2 of 2) sorted by relevance
278 ctx->dram_default_hops = kzalloc(HL_PTE_SIZE * total_hops, GFP_KERNEL); in dram_default_mapping_init()279 if (!ctx->dram_default_hops) in dram_default_mapping_init()291 ctx->dram_default_hops[total_hops - 1] = hop1_addr; in dram_default_mapping_init()300 ctx->dram_default_hops[total_hops - 2] = hop2_addr; in dram_default_mapping_init()303 ctx->dram_default_hops[i] = alloc_hop(ctx); in dram_default_mapping_init()304 if (ctx->dram_default_hops[i] == ULLONG_MAX) { in dram_default_mapping_init()322 pte_val = (ctx->dram_default_hops[i] & HOP_PHYS_ADDR_MASK) | in dram_default_mapping_init()333 hop3_pte_addr = ctx->dram_default_hops[i]; in dram_default_mapping_init()336 get_pte(ctx, ctx->dram_default_hops[i]); in dram_default_mapping_init()347 free_hop(ctx, ctx->dram_default_hops[i]); in dram_default_mapping_init()[all …]
895 u64 *dram_default_hops; member