Lines Matching refs:n_srcc
338 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_release_resources()
412 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_stop()
459 struct src_node_conf_t *conf, int *n_srcc) in setup_src_node_conf() argument
466 *n_srcc = 0; in setup_src_node_conf()
469 *n_srcc = apcm->substream->runtime->channels; in setup_src_node_conf()
485 *n_srcc = apcm->substream->runtime->channels * 2; in setup_src_node_conf()
493 *n_srcc = apcm->substream->runtime->channels; in setup_src_node_conf()
513 int n_srcimp, n_amixer, n_srcc, n_sum; in atc_pcm_capture_get_resources() local
528 setup_src_node_conf(atc, apcm, src_node_conf, &n_srcc); in atc_pcm_capture_get_resources()
530 n_amixer = n_sum * 2 + n_srcc; in atc_pcm_capture_get_resources()
531 n_srcimp = n_srcc; in atc_pcm_capture_get_resources()
541 if (n_srcc) { in atc_pcm_capture_get_resources()
542 apcm->srccs = kcalloc(n_srcc, sizeof(void *), GFP_KERNEL); in atc_pcm_capture_get_resources()
562 for (i = 0, apcm->n_srcc = 0; i < n_srcc; i++) { in atc_pcm_capture_get_resources()
575 apcm->n_srcc++; in atc_pcm_capture_get_resources()
582 else if (i < (n_sum*2+n_srcc)) in atc_pcm_capture_get_resources()
605 if (i < (n_srcc)) in atc_pcm_capture_get_resources()
679 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_capture_prepare()
697 amixer = apcm->amixers[apcm->n_srcc+j*multi+i]; in atc_pcm_capture_prepare()
704 srcimp = apcm->srcimps[apcm->n_srcc+j*multi+i]; in atc_pcm_capture_prepare()
711 srcimp = apcm->srcimps[apcm->n_srcc+i]; in atc_pcm_capture_prepare()
733 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_capture_start()
752 for (i = 0; i < apcm->n_srcc; i++) { in atc_pcm_capture_start()