Home
last modified time | relevance | path

Searched refs:ext_lib (Results 1 – 2 of 2) sorted by relevance

/sof-3.4.0/src/library_manager/
Dlib_notification.c27 struct ext_library *ext_lib = ext_lib_get(); in lib_notif_msg_init() local
28 struct ipc_lib_msg *lib_notif = ext_lib->lib_notif_pool; in lib_notif_msg_init()
46 if (ext_lib->lib_notif_count > LIB_MANAGER_LIB_NOTIX_MAX_COUNT) { in lib_notif_msg_init()
48 ext_lib->lib_notif_count); in lib_notif_msg_init()
62 ext_lib->lib_notif_count++; in lib_notif_msg_init()
65 if (ext_lib->lib_notif_count > 1) { in lib_notif_msg_init()
66 key = k_spin_lock(&ext_lib->lock); in lib_notif_msg_init()
68 k_spin_unlock(&ext_lib->lock, key); in lib_notif_msg_init()
70 ext_lib->lib_notif_pool = msg_pool_elem; in lib_notif_msg_init()
89 struct ext_library *ext_lib = ext_lib_get(); in lib_notif_msg_clean() local
[all …]
Dlib_manager.c79 struct ext_library *ext_lib = ext_lib_get(); in lib_manager_load_module() local
81 size_t load_offset = (size_t)((void *)ext_lib->desc[lib_id]); in lib_manager_load_module()
112 ext_lib->mods_exec_load_cnt++; in lib_manager_load_module()
114 if (ext_lib->mods_exec_load_cnt == 1) { in lib_manager_load_module()
140 struct ext_library *ext_lib = ext_lib_get(); in lib_manager_unload_module() local
167 if (!mod->type.lib_code && ext_lib->mods_exec_load_cnt > 0) in lib_manager_unload_module()
168 ext_lib->mods_exec_load_cnt--; in lib_manager_unload_module()
170 if (ext_lib->mods_exec_load_cnt == 0) { in lib_manager_unload_module()