Lines Matching refs:n_srcc
341 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_release_resources()
415 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_stop()
462 struct src_node_conf_t *conf, int *n_srcc) in setup_src_node_conf() argument
469 *n_srcc = 0; in setup_src_node_conf()
472 *n_srcc = apcm->substream->runtime->channels; in setup_src_node_conf()
488 *n_srcc = apcm->substream->runtime->channels * 2; in setup_src_node_conf()
496 *n_srcc = apcm->substream->runtime->channels; in setup_src_node_conf()
516 int n_srcimp, n_amixer, n_srcc, n_sum; in atc_pcm_capture_get_resources() local
531 setup_src_node_conf(atc, apcm, src_node_conf, &n_srcc); in atc_pcm_capture_get_resources()
533 n_amixer = n_sum * 2 + n_srcc; in atc_pcm_capture_get_resources()
534 n_srcimp = n_srcc; in atc_pcm_capture_get_resources()
544 if (n_srcc) { in atc_pcm_capture_get_resources()
545 apcm->srccs = kcalloc(n_srcc, sizeof(void *), GFP_KERNEL); in atc_pcm_capture_get_resources()
565 for (i = 0, apcm->n_srcc = 0; i < n_srcc; i++) { in atc_pcm_capture_get_resources()
578 apcm->n_srcc++; in atc_pcm_capture_get_resources()
585 else if (i < (n_sum*2+n_srcc)) in atc_pcm_capture_get_resources()
608 if (i < (n_srcc)) in atc_pcm_capture_get_resources()
682 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_capture_prepare()
700 amixer = apcm->amixers[apcm->n_srcc+j*multi+i]; in atc_pcm_capture_prepare()
707 srcimp = apcm->srcimps[apcm->n_srcc+j*multi+i]; in atc_pcm_capture_prepare()
714 srcimp = apcm->srcimps[apcm->n_srcc+i]; in atc_pcm_capture_prepare()
736 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_capture_start()
755 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_capture_start()