Lines Matching refs:multi
256 desc.multi = apcm->substream->runtime->channels; in atc_pcm_playback_prepare()
383 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start()
444 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position()
512 int multi, err, i; in atc_pcm_capture_get_resources() local
522 multi = apcm->substream->runtime->channels; in atc_pcm_capture_get_resources()
529 n_sum = (1 == multi) ? 1 : 0; in atc_pcm_capture_get_resources()
532 if ((multi > 1) && (0x8000000 >= pitch)) { in atc_pcm_capture_get_resources()
535 n_amixer += multi * atc->msr; in atc_pcm_capture_get_resources()
536 n_srcimp += multi * atc->msr; in atc_pcm_capture_get_resources()
538 n_srcimp += multi; in atc_pcm_capture_get_resources()
560 src_dsc.multi = 1; in atc_pcm_capture_get_resources()
563 src_dsc.msr = src_node_conf[i/multi].msr; in atc_pcm_capture_get_resources()
570 pitch = src_node_conf[i/multi].pitch; in atc_pcm_capture_get_resources()
573 src->ops->set_vo(src, src_node_conf[i/multi].vo); in atc_pcm_capture_get_resources()
583 mix_dsc.msr = src_node_conf[(i-n_sum*2)/multi].mix_msr; in atc_pcm_capture_get_resources()
606 srcimp_dsc.msr = src_node_conf[i/multi].imp_msr; in atc_pcm_capture_get_resources()
607 else if (1 == multi) in atc_pcm_capture_get_resources()
621 src_dsc.multi = apcm->substream->runtime->channels; in atc_pcm_capture_get_resources()
651 int err, i, j, n_sum, multi; in atc_pcm_capture_prepare() local
666 multi = apcm->substream->runtime->channels; in atc_pcm_capture_prepare()
667 if (1 == multi) { in atc_pcm_capture_prepare()
683 srcimp->ops->map(srcimp, src, out_ports[i%multi]); in atc_pcm_capture_prepare()
685 out_ports[i%multi] = &amixer->rsc; in atc_pcm_capture_prepare()
691 if ((multi > 1) && (pitch <= 0x8000000)) { in atc_pcm_capture_prepare()
694 for (i = 0; i < multi; 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()
710 for (i = 0; i < multi; i++) { in atc_pcm_capture_prepare()
725 int i, multi; in atc_pcm_capture_start() local
731 multi = apcm->substream->runtime->channels; in atc_pcm_capture_start()
735 src->ops->set_pm(src, ((i%multi) != (multi-1))); in atc_pcm_capture_start()
797 desc.multi = apcm->substream->runtime->channels; in spdif_passthru_playback_get_resources()
1410 src_dsc.multi = 1; in atc_get_resources()