Lines Matching defs:muram
22 struct fm_muram muram[CONFIG_SYS_NUM_FMAN];
26 return muram[fm_idx].base;
37 save = muram[fm_idx].alloc;
41 muram[fm_idx].alloc += (align - off);
45 if ((muram[fm_idx].alloc + size) >= muram[fm_idx].top) {
46 muram[fm_idx].alloc = save;
51 ret = muram[fm_idx].alloc;
52 muram[fm_idx].alloc += size;
62 muram[fm_idx].base = base;
63 muram[fm_idx].size = CONFIG_SYS_FM_MURAM_SIZE;
64 muram[fm_idx].alloc = base + FM_MURAM_RES_SIZE;
65 muram[fm_idx].top = base + CONFIG_SYS_FM_MURAM_SIZE;
264 /* alloc free buffer pool in MURAM */
267 printf("%s: no muram for free buffer pool\n", __func__);
275 /* in IM, we must not begin from offset 0 in MURAM */
420 fm_init_muram(index, ®->muram);