Searched refs:hop2_addr (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | mmu_v1.c | 262 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_init() local 293 hop2_addr = alloc_hop(ctx); in dram_default_mapping_init() 294 if (hop2_addr == ULLONG_MAX) { in dram_default_mapping_init() 300 ctx->dram_default_hops[total_hops - 2] = hop2_addr; in dram_default_mapping_init() 316 pte_val = (hop2_addr & HOP_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; in dram_default_mapping_init() 320 hop2_pte_addr = hop2_addr; in dram_default_mapping_init() 325 get_pte(ctx, hop2_addr); in dram_default_mapping_init() 349 free_hop(ctx, hop2_addr); in dram_default_mapping_init() 362 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_fini() local 379 hop2_addr = ctx->dram_default_hops[total_hops - 2]; in dram_default_mapping_fini() [all …]
|
D | debugfs.c | 385 hop2_addr = 0, hop2_pte_addr = 0, hop2_pte = 0, in mmu_show() local 425 hop2_addr = get_next_hop_addr(hop1_pte); in mmu_show() 427 if (hop2_addr == ULLONG_MAX) in mmu_show() 430 hop2_pte_addr = get_hop2_pte_addr(ctx, mmu_prop, hop2_addr, virt_addr); in mmu_show() 496 seq_printf(s, "hop2_addr: 0x%llx\n", hop2_addr); in mmu_show()
|