• Home
  • Raw
  • Download

Lines Matching refs:pitch

197 	unsigned int pitch;  in atc_get_pitch()  local
201 pitch = (input_rate / output_rate) << 24; in atc_get_pitch()
217 pitch |= input_rate; in atc_get_pitch()
220 return pitch; in atc_get_pitch()
223 static int select_rom(unsigned int pitch) in select_rom() argument
225 if (pitch > 0x00428f5c && pitch < 0x01b851ec) { in select_rom()
228 } else if (pitch == 0x01d66666 || pitch == 0x01d66667) { in select_rom()
231 } else if (pitch == 0x02000000) { in select_rom()
234 } else if (pitch <= 0x08000000) { in select_rom()
253 unsigned int pitch; in atc_pcm_playback_prepare() local
266 pitch = atc_get_pitch(apcm->substream->runtime->rate, in atc_pcm_playback_prepare()
269 src->ops->set_pitch(src, pitch); in atc_pcm_playback_prepare()
270 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_playback_prepare()
454 unsigned int pitch; member
464 unsigned int pitch; in setup_src_node_conf() local
467 pitch = atc_get_pitch((atc->rsr * atc->msr), in setup_src_node_conf()
473 conf[0].pitch = pitch; in setup_src_node_conf()
477 if (0x8000000 < pitch) { in setup_src_node_conf()
480 conf[0].pitch = (atc->msr << 24); in setup_src_node_conf()
484 conf[1].pitch = atc_get_pitch(atc->rsr, in setup_src_node_conf()
489 } else if (0x1000000 < pitch) { in setup_src_node_conf()
492 conf[0].pitch = pitch; in setup_src_node_conf()
514 unsigned int pitch; in atc_pcm_capture_get_resources() local
528 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_get_resources()
535 if ((multi > 1) && (0x8000000 >= pitch)) { in atc_pcm_capture_get_resources()
573 pitch = src_node_conf[i/multi].pitch; in atc_pcm_capture_get_resources()
574 src->ops->set_pitch(src, pitch); in atc_pcm_capture_get_resources()
575 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_capture_get_resources()
604 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_get_resources()
611 srcimp_dsc.msr = (pitch <= 0x8000000) ? atc->msr : 1; in atc_pcm_capture_get_resources()
632 src->ops->set_pitch(src, pitch); in atc_pcm_capture_get_resources()
655 unsigned int pitch; in atc_pcm_capture_prepare() local
691 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_prepare()
694 if ((multi > 1) && (pitch <= 0x8000000)) { in atc_pcm_capture_prepare()
794 unsigned int pitch, rsr = atc->pll_rate; in spdif_passthru_playback_get_resources() local
810 pitch = atc_get_pitch(apcm->substream->runtime->rate, (rsr * desc.msr)); in spdif_passthru_playback_get_resources()
812 src->ops->set_pitch(src, pitch); in spdif_passthru_playback_get_resources()
813 src->ops->set_rom(src, select_rom(pitch)); in spdif_passthru_playback_get_resources()