Lines Matching refs:n_amixer
251 int n_amixer = apcm->substream->runtime->channels, i = 0; in atc_pcm_playback_prepare() local
276 n_amixer = (n_amixer < 2) ? 2 : n_amixer; in atc_pcm_playback_prepare()
277 apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); in atc_pcm_playback_prepare()
283 for (i = 0, apcm->n_amixer = 0; i < n_amixer; i++) { in atc_pcm_playback_prepare()
289 apcm->n_amixer++; in atc_pcm_playback_prepare()
299 for (i = 0; i < n_amixer; i++) { in atc_pcm_playback_prepare()
350 for (i = 0; i < apcm->n_amixer; i++) { in atc_pcm_release_resources()
516 int n_srcimp, n_amixer, n_srcc, n_sum; in atc_pcm_capture_get_resources() local
533 n_amixer = n_sum * 2 + n_srcc; in atc_pcm_capture_get_resources()
538 n_amixer += multi * atc->msr; in atc_pcm_capture_get_resources()
549 if (n_amixer) { in atc_pcm_capture_get_resources()
550 apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); in atc_pcm_capture_get_resources()
582 for (i = 0, apcm->n_amixer = 0; i < n_amixer; i++) { in atc_pcm_capture_get_resources()
595 apcm->n_amixer++; in atc_pcm_capture_get_resources()
793 int n_amixer = apcm->substream->runtime->channels, i; in spdif_passthru_playback_get_resources() local
820 n_amixer = (n_amixer < 2) ? 2 : n_amixer; in spdif_passthru_playback_get_resources()
821 apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); in spdif_passthru_playback_get_resources()
827 for (i = 0, apcm->n_amixer = 0; i < n_amixer; i++) { in spdif_passthru_playback_get_resources()
833 apcm->n_amixer++; in spdif_passthru_playback_get_resources()
919 for (i = 0; i < apcm->n_amixer; i++) { in spdif_passthru_playback_prepare()