Lines Matching refs:multi

259 	desc.multi = apcm->substream->runtime->channels;  in atc_pcm_playback_prepare()
386 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start()
447 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position()
515 int multi, err, i; in atc_pcm_capture_get_resources() local
525 multi = apcm->substream->runtime->channels; in atc_pcm_capture_get_resources()
532 n_sum = (1 == multi) ? 1 : 0; in atc_pcm_capture_get_resources()
535 if ((multi > 1) && (0x8000000 >= pitch)) { in atc_pcm_capture_get_resources()
538 n_amixer += multi * atc->msr; in atc_pcm_capture_get_resources()
539 n_srcimp += multi * atc->msr; in atc_pcm_capture_get_resources()
541 n_srcimp += multi; in atc_pcm_capture_get_resources()
563 src_dsc.multi = 1; in atc_pcm_capture_get_resources()
566 src_dsc.msr = src_node_conf[i/multi].msr; in atc_pcm_capture_get_resources()
573 pitch = src_node_conf[i/multi].pitch; in atc_pcm_capture_get_resources()
576 src->ops->set_vo(src, src_node_conf[i/multi].vo); in atc_pcm_capture_get_resources()
586 mix_dsc.msr = src_node_conf[(i-n_sum*2)/multi].mix_msr; in atc_pcm_capture_get_resources()
609 srcimp_dsc.msr = src_node_conf[i/multi].imp_msr; in atc_pcm_capture_get_resources()
610 else if (1 == multi) in atc_pcm_capture_get_resources()
624 src_dsc.multi = apcm->substream->runtime->channels; in atc_pcm_capture_get_resources()
654 int err, i, j, n_sum, multi; in atc_pcm_capture_prepare() local
669 multi = apcm->substream->runtime->channels; in atc_pcm_capture_prepare()
670 if (1 == multi) { in atc_pcm_capture_prepare()
686 srcimp->ops->map(srcimp, src, out_ports[i%multi]); in atc_pcm_capture_prepare()
688 out_ports[i%multi] = &amixer->rsc; in atc_pcm_capture_prepare()
694 if ((multi > 1) && (pitch <= 0x8000000)) { in atc_pcm_capture_prepare()
697 for (i = 0; i < multi; 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()
713 for (i = 0; i < multi; i++) { in atc_pcm_capture_prepare()
728 int i, multi; in atc_pcm_capture_start() local
734 multi = apcm->substream->runtime->channels; in atc_pcm_capture_start()
738 src->ops->set_pm(src, ((i%multi) != (multi-1))); in atc_pcm_capture_start()
800 desc.multi = apcm->substream->runtime->channels; in spdif_passthru_playback_get_resources()
1413 src_dsc.multi = 1; in atc_get_resources()