Searched refs:audios (Results 1 – 17 of 17) sorted by relevance
233 struct audio *audios[MAX_AUDIOS]; member
925 .audios = 1,940 .audios = 1,
810 if (pool->base.audios[i] != NULL) in dce100_resource_destruct()811 dce_aud_destroy(&pool->base.audios[i]); in dce100_resource_destruct()
647 if (pool->base.audios[i]) in dce120_resource_destruct()648 dce_aud_destroy(&pool->base.audios[i]); in dce120_resource_destruct()
313 pool->audios[i] = aud; in resource_construct()1762 if (pool->audios[i] == audio) in update_audio_usage()1812 return pool->audios[i]; in find_first_free_audio()1818 return pool->audios[id]; in find_first_free_audio()1823 return pool->audios[i]; in find_first_free_audio()
865 if (pool->base.audios[i] != NULL) { in dce80_resource_destruct()866 dce_aud_destroy(&pool->base.audios[i]); in dce80_resource_destruct()
860 if (pool->base.audios[i] != NULL) { in dce60_resource_destruct()861 dce_aud_destroy(&pool->base.audios[i]); in dce60_resource_destruct()
832 if (pool->base.audios[i] != NULL) { in dce112_resource_destruct()833 dce_aud_destroy(&pool->base.audios[i]); in dce112_resource_destruct()
1025 if (pool->base.audios[i]) in dcn10_resource_destruct()1026 dce_aud_destroy(&pool->base.audios[i]); in dcn10_resource_destruct()
1408 struct audio *audio = res_pool->audios[i]; in dcn10_init_hw()
872 if (pool->base.audios[i] != NULL) { in dce110_resource_destruct()873 dce_aud_destroy(&pool->base.audios[i]); in dce110_resource_destruct()
2488 struct audio *audio = dc->res_pool->audios[i]; in init_hw()
601 struct audio *audio = res_pool->audios[i]; in dcn30_init_hw()
1287 if (pool->base.audios[i]) in dcn30_resource_destruct()1288 dce_aud_destroy(&pool->base.audios[i]); in dcn30_resource_destruct()
988 if (pool->base.audios[i]) in dcn21_resource_destruct()989 dce_aud_destroy(&pool->base.audios[i]); in dcn21_resource_destruct()
1537 if (pool->base.audios[i]) in dcn20_resource_destruct()1538 dce_aud_destroy(&pool->base.audios[i]); in dcn20_resource_destruct()
714 adev->dm.dc->res_pool->audios[i]->inst; in amdgpu_dm_audio_init()