Home
last modified time | relevance | path

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

/Linux-v6.6/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.c601 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in get_nid_and_numa_distance()
604 index = lmb->aa_index * aa.array_sz; in get_nid_and_numa_distance()
637 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in of_drconf_to_nid_single()
640 index = lmb->aa_index * aa.array_sz; in of_drconf_to_nid_single()
/Linux-v6.6/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-v6.6/arch/powerpc/platforms/pseries/
Dhotplug-memory.c56 const u32 *lmb_assoc, u32 *aa_index) in find_aa_index() argument
81 *aa_index = i; in find_aa_index()
106 *aa_index = be32_to_cpu(assoc_arrays[0]) - 1; in find_aa_index()
115 u32 aa_index; in update_lmb_associativity_index() local
150 found = find_aa_index(dr_node, ala_prop, lmb_assoc, &aa_index); in update_lmb_associativity_index()
160 lmb->aa_index = aa_index; in update_lmb_associativity_index()