Lines Matching refs:mods_info
20 for (i = 0; i < adev->mods_info->count; i++) { in avs_module_entry_index()
23 module = &adev->mods_info->entries[i]; in avs_module_entry_index()
36 for (i = 0; i < adev->mods_info->count; i++) { in avs_module_id_entry_index()
39 module = &adev->mods_info->entries[i]; in avs_module_id_entry_index()
55 memcpy(entry, &adev->mods_info->entries[idx], sizeof(*entry)); in avs_get_module_entry()
69 memcpy(entry, &adev->mods_info->entries[idx], sizeof(*entry)); in avs_get_module_id_entry()
102 int i = adev->mods_info ? adev->mods_info->count : 0; in avs_module_ida_destroy()
115 struct avs_mods_info *oldinfo = adev->mods_info; in avs_module_ida_alloc()
175 kfree(adev->mods_info); in avs_module_info_init()
176 adev->mods_info = info; in avs_module_info_init()
188 kfree(adev->mods_info); in avs_module_info_free()
189 adev->mods_info = NULL; in avs_module_info_free()
206 max_id = adev->mods_info->entries[idx].instance_max_count - 1; in avs_module_id_alloc()