Searched full:lmb (Results 1 – 7 of 7) sorted by relevance
31 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags() argument34 * Return the value of the lmb flags field minus the reserved in drmem_lmb_flags()37 return lmb->flags & ~DRMEM_LMB_RESERVED; in drmem_lmb_flags()69 struct drmem_lmb *lmb; in drmem_update_dt_v1() local81 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[all …]
31 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next() argument39 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) \ argument46 for ((lmb) = (start); (lmb) < (end); lmb = drmem_lmb_next(lmb, start))48 #define for_each_drmem_lmb(lmb) \ argument49 for_each_drmem_lmb_in_range((lmb), \54 * The of_drconf_cell_v1 struct defines the layout of the LMB data58 * per LMB.70 * 32-bit value specifying the number of LMB sets followed by an[all …]
75 /* Use the last TLB for temporary access to LMB */
299 * Load a TLB entry for LMB, since we need access to302 /* Use temporary TLB_ID for LMB - clear this temporary mapping later */
1267 * be executed from LMB.
58 xlnx,d-lmb = <0x1>;78 xlnx,i-lmb = <0x1>;
4 * Based on code from Lars Marowsky-Bree <lmb@suse.de>