Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Ddrmem.h15 struct drmem_lmb { struct
23 struct drmem_lmb *lmbs; argument
77 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved()
82 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation()
87 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved()
94 void (*func)(struct drmem_lmb *, const __be32 **));
99 void (*func)(struct drmem_lmb *, const __be32 **));
/Linux-v4.19/arch/powerpc/mm/
Ddrmem.c26 struct drmem_lmb *last_lmb; in drmem_lmb_memory_max()
32 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
70 struct drmem_lmb *lmb; in drmem_update_dt_v1()
96 struct drmem_lmb *lmb) in init_drconf_v2_cell()
109 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2()
196 static void __init read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
213 void (*func)(struct drmem_lmb *, const __be32 **)) in __walk_drmem_v1_lmbs() argument
215 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs()
243 void (*func)(struct drmem_lmb *, const __be32 **)) in __walk_drmem_v2_lmbs() argument
246 struct drmem_lmb lmb; in __walk_drmem_v2_lmbs()
[all …]
Dnuma.c422 static int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
578 static void __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb()
932 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-memory.c166 static u32 lookup_lmb_associativity_index(struct drmem_lmb *lmb) in lookup_lmb_associativity_index()
209 static int dlpar_add_device_tree_lmb(struct drmem_lmb *lmb) in dlpar_add_device_tree_lmb()
231 static int dlpar_remove_device_tree_lmb(struct drmem_lmb *lmb) in dlpar_remove_device_tree_lmb()
245 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
259 struct drmem_lmb **start_lmb, in get_lmb_range()
260 struct drmem_lmb **end_lmb) in get_lmb_range()
262 struct drmem_lmb *lmb, *start, *end; in get_lmb_range()
263 struct drmem_lmb *last_lmb; in get_lmb_range()
287 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
308 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dprom.c471 static void __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()