Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c159 static int update_lmb_associativity_index(struct drmem_lmb *lmb) in update_lmb_associativity_index()
211 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
228 struct drmem_lmb *lmb, *start, *end; in get_lmb_range() local
253 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
274 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
280 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb()
349 static bool lmb_is_removable(struct drmem_lmb *lmb) in lmb_is_removable()
368 static int dlpar_remove_lmb(struct drmem_lmb *lmb) in dlpar_remove_lmb()
403 struct drmem_lmb *lmb; in dlpar_memory_remove_by_count() local
478 struct drmem_lmb *lmb; in dlpar_memory_remove_by_index() local
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dlmb.c15 void lmb_dump_all(struct lmb *lmb) in lmb_dump_all()
91 void lmb_init(struct lmb *lmb) in lmb_init()
176 long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_add()
183 long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_free()
232 long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_reserve()
255 phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align) in lmb_alloc()
260 phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in lmb_alloc_base()
283 phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in __lmb_alloc_base()
325 int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr) in lmb_is_reserved()
338 __weak void board_lmb_reserve(struct lmb *lmb) in board_lmb_reserve()
[all …]
H A Dbidram.c39 struct lmb *lmb = &bidram->lmb; in bidram_dump() local
124 struct lmb *lmb = &plat_bidram.lmb; in bidram_gen_gd_bi_dram() local
H A Dsysmem.c61 struct lmb *lmb = &sysmem->lmb; in sysmem_dump() local
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Ddrmem.h28 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next()
42 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument
45 #define for_each_drmem_lmb(lmb) \ argument
90 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved()
95 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation()
100 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved()
116 static inline void invalidate_lmb_associativity_index(struct drmem_lmb *lmb) in invalidate_lmb_associativity_index()
H A Dtopology.h91 static inline int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Ddrmem.c30 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
68 struct drmem_lmb *lmb; in drmem_update_dt_v1() local
94 struct drmem_lmb *lmb) in init_drconf_v2_cell()
107 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2() local
194 static void read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
215 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs() local
250 struct drmem_lmb lmb; in __walk_drmem_v2_lmbs() local
381 struct drmem_lmb *lmb; in init_drmem_v1_lmbs() local
398 struct drmem_lmb *lmb; in init_drmem_v2_lmbs() local
H A Dnuma.c433 int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
653 static int __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb()
1045 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid() local
/OK3568_Linux_fs/u-boot/include/
H A Dlmb.h27 struct lmb { struct
28 struct lmb_region memory; argument
29 struct lmb_region reserved; argument
H A Dbidram.h14 struct lmb lmb; member
H A Dsysmem.h21 struct lmb lmb; member
H A Dimage.h400 struct lmb lmb; /* for memory mgmt */ member
/OK3568_Linux_fs/u-boot/common/
H A Dimage-fdt.c81 void boot_mem_rsv_regions(struct lmb *lmb, void *fdt_blob) in boot_mem_rsv_regions()
133 void boot_fdt_add_mem_rsv_regions(struct lmb *lmb, void *fdt_blob) in boot_fdt_add_mem_rsv_regions()
240 int boot_relocate_fdt(struct lmb *lmb, char **of_flat_tree, ulong *of_size) in boot_relocate_fdt()
597 int of_size, struct lmb *lmb) in image_setup_libfdt()
H A Dimage.c1156 int boot_ramdisk_high(struct lmb *lmb, ulong rd_data, ulong rd_len, in boot_ramdisk_high()
1447 int boot_get_cmdline(struct lmb *lmb, ulong *cmd_start, ulong *cmd_end) in boot_get_cmdline()
1487 int boot_get_kbd(struct lmb *lmb, bd_t **kbd) in boot_get_kbd()
1511 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.c88 #define lmb_reserve(lmb, base, size) argument
/OK3568_Linux_fs/u-boot/arch/powerpc/lib/
H A Dbootm.c114 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
177 struct lmb *lmb = &images->lmb; in boot_cmdline_linux() local
198 struct lmb *lmb = &images->lmb; in boot_bd_t_linux() local
/OK3568_Linux_fs/u-boot/arch/m68k/lib/
H A Dbootm.c30 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
56 struct lmb *lmb = &images->lmb; in do_bootm_linux() local
/OK3568_Linux_fs/u-boot/arch/arc/lib/
H A Dbootm.c19 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dmp.c89 void cpu_mp_lmb_reserve(struct lmb *lmb) in cpu_mp_lmb_reserve()
/OK3568_Linux_fs/u-boot/arch/mips/lib/
H A Dbootm.c36 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dbootm.c51 void arch_lmb_reserve(struct lmb *lmb) in arch_lmb_reserve()
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dmp.c407 void cpu_mp_lmb_reserve(struct lmb *lmb) in cpu_mp_lmb_reserve()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dprom.c473 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()
/OK3568_Linux_fs/kernel/arch/powerpc/kexec/
H A Dfile_load_64.c512 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb()