Searched refs:fm_idx (Results 1 – 2 of 2) sorted by relevance
26 void *fm_muram_base(int fm_idx) in fm_muram_base() argument28 return muram[fm_idx].base; in fm_muram_base()39 save = muram[fm_idx].alloc; in fm_muram_alloc()43 muram[fm_idx].alloc += (align - off); in fm_muram_alloc()47 if ((muram[fm_idx].alloc + size) >= muram[fm_idx].top) { in fm_muram_alloc()48 muram[fm_idx].alloc = save; in fm_muram_alloc()53 ret = muram[fm_idx].alloc; in fm_muram_alloc()54 muram[fm_idx].alloc += size; in fm_muram_alloc()64 muram[fm_idx].base = base; in fm_init_muram()164 fm_idx + 1); in fman_upload_firmware()[all …]
97 void *fm_muram_alloc(int fm_idx, size_t size, ulong align);98 void *fm_muram_base(int fm_idx);