Lines Matching refs:n_amixer
248 int n_amixer = apcm->substream->runtime->channels, i = 0; in atc_pcm_playback_prepare() local
273 n_amixer = (n_amixer < 2) ? 2 : n_amixer; in atc_pcm_playback_prepare()
274 apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); in atc_pcm_playback_prepare()
280 for (i = 0, apcm->n_amixer = 0; i < n_amixer; i++) { in atc_pcm_playback_prepare()
286 apcm->n_amixer++; in atc_pcm_playback_prepare()
296 for (i = 0; i < n_amixer; i++) { in atc_pcm_playback_prepare()
347 for (i = 0; i < apcm->n_amixer; i++) { in atc_pcm_release_resources()
513 int n_srcimp, n_amixer, n_srcc, n_sum; in atc_pcm_capture_get_resources() local
530 n_amixer = n_sum * 2 + n_srcc; in atc_pcm_capture_get_resources()
535 n_amixer += multi * atc->msr; in atc_pcm_capture_get_resources()
546 if (n_amixer) { in atc_pcm_capture_get_resources()
547 apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); in atc_pcm_capture_get_resources()
579 for (i = 0, apcm->n_amixer = 0; i < n_amixer; i++) { in atc_pcm_capture_get_resources()
592 apcm->n_amixer++; in atc_pcm_capture_get_resources()
790 int n_amixer = apcm->substream->runtime->channels, i; in spdif_passthru_playback_get_resources() local
817 n_amixer = (n_amixer < 2) ? 2 : n_amixer; in spdif_passthru_playback_get_resources()
818 apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); in spdif_passthru_playback_get_resources()
824 for (i = 0, apcm->n_amixer = 0; i < n_amixer; i++) { in spdif_passthru_playback_get_resources()
830 apcm->n_amixer++; in spdif_passthru_playback_get_resources()
916 for (i = 0; i < apcm->n_amixer; i++) { in spdif_passthru_playback_prepare()