Searched refs:fm_idx (Results 1 – 2 of 2) sorted by relevance
24 void *fm_muram_base(int fm_idx) in fm_muram_base() argument26 return muram[fm_idx].base; in fm_muram_base()29 void *fm_muram_alloc(int fm_idx, size_t size, ulong align) in fm_muram_alloc() argument37 save = muram[fm_idx].alloc; in fm_muram_alloc()41 muram[fm_idx].alloc += (align - off); in fm_muram_alloc()45 if ((muram[fm_idx].alloc + size) >= muram[fm_idx].top) { in fm_muram_alloc()46 muram[fm_idx].alloc = save; in fm_muram_alloc()51 ret = muram[fm_idx].alloc; in fm_muram_alloc()52 muram[fm_idx].alloc += size; in fm_muram_alloc()58 static void fm_init_muram(int fm_idx, void *reg) in fm_init_muram() argument[all …]
97 void *fm_muram_alloc(int fm_idx, size_t size, ulong align);98 void *fm_muram_base(int fm_idx);