Home
last modified time | relevance | path

Searched defs:lmb (Results 1 – 25 of 25) sorted by relevance

/openbmc/u-boot/lib/
H A Dlmb.c14 void lmb_dump_all(struct lmb *lmb) in lmb_dump_all()
93 void lmb_init(struct lmb *lmb) in lmb_init()
101 static void lmb_reserve_common(struct lmb *lmb, void *fdt_blob) in lmb_reserve_common()
111 void lmb_init_and_reserve(struct lmb *lmb, bd_t *bd, void *fdt_blob) in lmb_init_and_reserve()
133 void lmb_init_and_reserve_range(struct lmb *lmb, phys_addr_t base, in lmb_init_and_reserve_range()
212 long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_add()
219 long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_free()
268 long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_reserve()
290 phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align) in lmb_alloc()
295 phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in lmb_alloc_base()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c110 static int update_lmb_associativity_index(struct drmem_lmb *lmb) in update_lmb_associativity_index()
164 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
179 struct drmem_lmb *lmb, *start, *end; in get_lmb_range() local
204 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
225 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
231 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb()
285 static bool lmb_is_removable(struct drmem_lmb *lmb) in lmb_is_removable()
305 static int dlpar_remove_lmb(struct drmem_lmb *lmb) in dlpar_remove_lmb()
337 struct drmem_lmb *lmb; in dlpar_memory_remove_by_count() local
420 struct drmem_lmb *lmb; in dlpar_memory_remove_by_index() local
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Ddrmem.h31 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next()
45 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument
48 #define for_each_drmem_lmb(lmb) \ argument
93 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved()
98 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation()
103 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved()
120 static inline void invalidate_lmb_associativity_index(struct drmem_lmb *lmb) in invalidate_lmb_associativity_index()
H A Dtopology.h97 static inline int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
/openbmc/linux/arch/powerpc/mm/
H A Ddrmem.c31 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
69 struct drmem_lmb *lmb; in drmem_update_dt_v1() local
95 struct drmem_lmb *lmb) in init_drconf_v2_cell()
108 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2() local
201 static void read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
222 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs() local
257 struct drmem_lmb lmb; in __walk_drmem_v2_lmbs() local
324 struct drmem_lmb *lmb; in update_lmb() local
427 struct drmem_lmb *lmb; in init_drmem_v1_lmbs() local
444 struct drmem_lmb *lmb; in init_drmem_v2_lmbs() local
H A Dnuma.c586 static int __init get_nid_and_numa_distance(struct drmem_lmb *lmb) in get_nid_and_numa_distance()
622 int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
850 static int __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb()
1259 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid() local
/openbmc/u-boot/test/lib/
H A Dlmb.c11 static int check_lmb(struct unit_test_state *uts, struct lmb *lmb, in check_lmb()
40 #define ASSERT_LMB(lmb, ram_base, ram_size, num_reserved, base1, size1, \ argument
58 struct lmb lmb; in test_multi_alloc() local
225 struct lmb lmb; in test_bigblock() local
291 struct lmb lmb; in test_noreserved() local
382 struct lmb lmb; in lib_test_lmb_at_0() local
423 struct lmb lmb; in lib_test_lmb_overlapping_reserve() local
468 struct lmb lmb; in test_alloc_addr() local
596 struct lmb lmb; in test_get_unreserved_size() local
/openbmc/u-boot/include/
H A Dlmb.h28 struct lmb { struct
29 struct lmb_region memory; argument
30 struct lmb_region reserved; argument
H A Dimage.h427 struct lmb lmb; /* for memory mgmt */ member
/openbmc/u-boot/common/
H A Dimage-fdt.c71 static void boot_fdt_reserve_region(struct lmb *lmb, uint64_t addr, in boot_fdt_reserve_region()
97 void boot_fdt_add_mem_rsv_regions(struct lmb *lmb, void *fdt_blob) in boot_fdt_add_mem_rsv_regions()
151 int boot_relocate_fdt(struct lmb *lmb, char **of_flat_tree, ulong *of_size) in boot_relocate_fdt()
527 int of_size, struct lmb *lmb) in image_setup_libfdt()
H A Dimage.c1140 int boot_ramdisk_high(struct lmb *lmb, ulong rd_data, ulong rd_len, in boot_ramdisk_high()
1427 int boot_get_cmdline(struct lmb *lmb, ulong *cmd_start, ulong *cmd_end) in boot_get_cmdline()
1467 int boot_get_kbd(struct lmb *lmb, bd_t **kbd) in boot_get_kbd()
1491 struct lmb *lmb = &images->lmb; in image_setup_linux() local
H A Dbootm_os.c270 struct lmb *lmb = &images->lmb; in do_bootvx_fdt() local
H A Dbootm.c67 #define lmb_reserve(lmb, base, size) argument
/openbmc/u-boot/arch/powerpc/lib/
H A Dbootm.c113 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
176 struct lmb *lmb = &images->lmb; in boot_cmdline_linux() local
197 struct lmb *lmb = &images->lmb; in boot_bd_t_linux() local
/openbmc/u-boot/arch/m68k/lib/
H A Dbootm.c29 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
55 struct lmb *lmb = &images->lmb; in do_bootm_linux() local
/openbmc/u-boot/arch/arm/mach-imx/
H A Dmisc.c85 void board_lmb_reserve(struct lmb *lmb) in board_lmb_reserve()
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dmp.c88 void cpu_mp_lmb_reserve(struct lmb *lmb) in cpu_mp_lmb_reserve()
/openbmc/u-boot/arch/arc/lib/
H A Dbootm.c19 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
/openbmc/u-boot/arch/mips/lib/
H A Dbootm.c35 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
/openbmc/u-boot/arch/arm/lib/
H A Dbootm.c47 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dmp.c406 void cpu_mp_lmb_reserve(struct lmb *lmb) in cpu_mp_lmb_reserve()
/openbmc/u-boot/net/
H A Dtftp.c606 struct lmb lmb; in tftp_init_load_addr() local
/openbmc/linux/arch/powerpc/kernel/
H A Dprom.c518 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()
/openbmc/linux/arch/powerpc/kexec/
H A Dfile_load_64.c517 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb()
/openbmc/u-boot/fs/
H A Dfs.c438 struct lmb lmb; in fs_read_lmb_check() local