Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/mm/
Ddrmem.c106 u32 lmb_sets, prop_sz, seq_lmbs; in drmem_update_dt_v2() local
110 lmb_sets = 0; in drmem_update_dt_v2()
115 lmb_sets++; in drmem_update_dt_v2()
121 lmb_sets++; in drmem_update_dt_v2()
126 prop_sz = lmb_sets * sizeof(*dr_cell) + sizeof(__be32); in drmem_update_dt_v2()
132 *p++ = cpu_to_be32(lmb_sets); in drmem_update_dt_v2()
243 u32 i, j, lmb_sets; in __walk_drmem_v2_lmbs() local
245 lmb_sets = of_read_number(prop++, 1); in __walk_drmem_v2_lmbs()
246 if (lmb_sets == 0) in __walk_drmem_v2_lmbs()
249 for (i = 0; i < lmb_sets; i++) { in __walk_drmem_v2_lmbs()
[all …]