Searched refs:lmb (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/powerpc/mm/ |
| H A D | drmem.c | 31 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags() argument 37 return lmb->flags & ~DRMEM_LMB_RESERVED; in drmem_lmb_flags() 69 struct drmem_lmb *lmb; in drmem_update_dt_v1() local 81 for_each_drmem_lmb(lmb) { in drmem_update_dt_v1() 82 dr_cell->base_addr = cpu_to_be64(lmb->base_addr); in drmem_update_dt_v1() 83 dr_cell->drc_index = cpu_to_be32(lmb->drc_index); in drmem_update_dt_v1() 84 dr_cell->aa_index = cpu_to_be32(lmb->aa_index); in drmem_update_dt_v1() 85 dr_cell->flags = cpu_to_be32(drmem_lmb_flags(lmb)); in drmem_update_dt_v1() 95 struct drmem_lmb *lmb) in init_drconf_v2_cell() argument 97 dr_cell->base_addr = cpu_to_be64(lmb->base_addr); in init_drconf_v2_cell() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | drmem.h | 31 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next() argument 39 if (((++lmb - start) % 16) == 0) in drmem_lmb_next() 42 return lmb; in drmem_lmb_next() 45 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument 46 for ((lmb) = (start); (lmb) < (end); lmb = drmem_lmb_next(lmb, start)) 48 #define for_each_drmem_lmb(lmb) \ argument 49 for_each_drmem_lmb_in_range((lmb), \ 93 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved() argument 95 lmb->flags |= DRMEM_LMB_RESERVED; in drmem_mark_lmb_reserved() 98 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation() argument [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | prom.c | 528 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb() argument 535 base = lmb->base_addr; in early_init_drmem_lmb() 543 if ((lmb->flags & DRCONF_MEM_RESERVED) || in early_init_drmem_lmb() 544 !(lmb->flags & DRCONF_MEM_ASSIGNED)) in early_init_drmem_lmb() 582 if (lmb->flags & DRCONF_MEM_HOTREMOVABLE) in early_init_drmem_lmb()
|
| /linux/arch/powerpc/kexec/ |
| H A D | file_load_64.c | 147 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb() argument 169 base = lmb->base_addr; in kdump_setup_usable_lmb()
|
| /linux/arch/microblaze/boot/dts/ |
| H A D | system.dts | 58 xlnx,d-lmb = <0x1>; 78 xlnx,i-lmb = <0x1>;
|