Home
last modified time | relevance | path

Searched refs:aa_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/powerpc/mm/
Ddrmem.c84 dr_cell->aa_index = cpu_to_be32(lmb->aa_index); in drmem_update_dt_v1()
99 dr_cell->aa_index = cpu_to_be32(lmb->aa_index); in init_drconf_v2_cell()
122 if (prev_lmb->aa_index != lmb->aa_index || in drmem_update_dt_v2()
151 if (prev_lmb->aa_index != lmb->aa_index || in drmem_update_dt_v2()
212 lmb->aa_index = of_read_number(p++, 1); in read_drconf_v1_cell()
246 dr_cell->aa_index = of_read_number(p++, 1); in read_drconf_v2_cell()
272 lmb.aa_index = dr_cell.aa_index; in __walk_drmem_v2_lmbs()
330 lmb->aa_index = updated_lmb->aa_index; in update_lmb()
482 lmb->aa_index = dr_cell.aa_index; in init_drmem_v2_lmbs()
Dnuma.c598 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in get_nid_and_numa_distance()
601 index = lmb->aa_index * aa.array_sz; in get_nid_and_numa_distance()
634 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in of_drconf_to_nid_single()
637 index = lmb->aa_index * aa.array_sz; in of_drconf_to_nid_single()
/linux-6.1.9/arch/powerpc/include/asm/
Ddrmem.h16 u32 aa_index; member
64 __be32 aa_index; member
77 u32 aa_index; member
122 lmb->aa_index = 0xffffffff; in invalidate_lmb_associativity_index()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dhotplug-memory.c104 const u32 *lmb_assoc, u32 *aa_index) in find_aa_index() argument
129 *aa_index = i; in find_aa_index()
154 *aa_index = be32_to_cpu(assoc_arrays[0]) - 1; in find_aa_index()
163 u32 aa_index; in update_lmb_associativity_index() local
198 found = find_aa_index(dr_node, ala_prop, lmb_assoc, &aa_index); in update_lmb_associativity_index()
208 lmb->aa_index = aa_index; in update_lmb_associativity_index()