Searched refs:audios (Results 1 – 22 of 22) sorted by relevance
270 struct audio *audios[MAX_AUDIOS]; member
925 .audios = 1,940 .audios = 1,
805 if (pool->base.audios[i] != NULL) in dce100_resource_destruct()806 dce_aud_destroy(&pool->base.audios[i]); in dce100_resource_destruct()
334 pool->audios[i] = aud; in resource_construct()1688 if (pool->audios[i] == audio) in update_audio_usage()1738 return pool->audios[i]; in find_first_free_audio()1744 return pool->audios[id]; in find_first_free_audio()1749 return pool->audios[i]; in find_first_free_audio()
640 if (pool->base.audios[i]) in dce120_resource_destruct()641 dce_aud_destroy(&pool->base.audios[i]); in dce120_resource_destruct()
827 if (pool->base.audios[i] != NULL) { in dce112_resource_destruct()828 dce_aud_destroy(&pool->base.audios[i]); in dce112_resource_destruct()
855 if (pool->base.audios[i] != NULL) { in dce60_resource_destruct()856 dce_aud_destroy(&pool->base.audios[i]); in dce60_resource_destruct()
860 if (pool->base.audios[i] != NULL) { in dce80_resource_destruct()861 dce_aud_destroy(&pool->base.audios[i]); in dce80_resource_destruct()
865 if (pool->base.audios[i] != NULL) { in dce110_resource_destruct()866 dce_aud_destroy(&pool->base.audios[i]); in dce110_resource_destruct()
2571 struct audio *audio = dc->res_pool->audios[i]; in init_hw()
265 struct audio *audio = res_pool->audios[i]; in dcn31_init_hw()
1422 if (pool->base.audios[i]) in dcn31_resource_destruct()1423 dce_aud_destroy(&pool->base.audios[i]); in dcn31_resource_destruct()
1025 if (pool->base.audios[i]) in dcn10_resource_destruct()1026 dce_aud_destroy(&pool->base.audios[i]); in dcn10_resource_destruct()
1489 struct audio *audio = res_pool->audios[i]; in dcn10_init_hw()
1144 if (pool->audios[i]) in dcn303_resource_destruct()1145 dce_aud_destroy(&pool->audios[i]); in dcn303_resource_destruct()
1218 if (pool->audios[i]) in dcn302_resource_destruct()1219 dce_aud_destroy(&pool->audios[i]); in dcn302_resource_destruct()
1326 if (pool->base.audios[i]) in dcn301_destruct()1327 dce_aud_destroy(&pool->base.audios[i]); in dcn301_destruct()
997 if (pool->base.audios[i]) in dcn21_resource_destruct()998 dce_aud_destroy(&pool->base.audios[i]); in dcn21_resource_destruct()
625 struct audio *audio = res_pool->audios[i]; in dcn30_init_hw()
1295 if (pool->base.audios[i]) in dcn30_resource_destruct()1296 dce_aud_destroy(&pool->base.audios[i]); in dcn30_resource_destruct()
1539 if (pool->base.audios[i]) in dcn20_resource_destruct()1540 dce_aud_destroy(&pool->base.audios[i]); in dcn20_resource_destruct()
974 adev->dm.dc->res_pool->audios[i]->inst; in amdgpu_dm_audio_init()