Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dmmu_v1.c262 u64 num_of_hop3, total_hops, hop0_addr, hop1_addr, hop2_addr, in dram_default_mapping_init() local
284 hop1_addr = alloc_hop(ctx); in dram_default_mapping_init()
285 if (hop1_addr == ULLONG_MAX) { in dram_default_mapping_init()
291 ctx->dram_default_hops[total_hops - 1] = hop1_addr; in dram_default_mapping_init()
313 pte_val = (hop1_addr & HOP_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; in dram_default_mapping_init()
317 write_pte(ctx, hop1_addr, pte_val); in dram_default_mapping_init()
318 get_pte(ctx, hop1_addr); in dram_default_mapping_init()
351 free_hop(ctx, hop1_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
378 hop1_addr = ctx->dram_default_hops[total_hops - 1]; in dram_default_mapping_fini()
[all …]
Ddebugfs.c384 hop1_addr = 0, hop1_pte_addr = 0, hop1_pte = 0, in mmu_show() local
418 hop1_addr = get_next_hop_addr(hop0_pte); in mmu_show()
420 if (hop1_addr == ULLONG_MAX) in mmu_show()
423 hop1_pte_addr = get_hop1_pte_addr(ctx, mmu_prop, hop1_addr, virt_addr); in mmu_show()
492 seq_printf(s, "hop1_addr: 0x%llx\n", hop1_addr); in mmu_show()