• Home
  • Raw
  • Download

Lines Matching refs:atc

106 	struct ct_atc *atc = snd_pcm_substream_chip(apcm->substream);  in ct_atc_pcm_free_substream()  local
108 atc->pcm_release_resources(atc, apcm); in ct_atc_pcm_free_substream()
117 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_open() local
130 atc->spdif_out_passthru(atc, 1); in ct_pcm_playback_open()
148 apcm->timer = ct_timer_instance_new(atc->timer, apcm); in ct_pcm_playback_open()
165 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_close() local
169 atc->spdif_out_passthru(atc, 0); in ct_pcm_playback_close()
179 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_hw_params() local
183 atc->pcm_release_resources(atc, apcm); in ct_pcm_hw_params()
189 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_hw_free() local
193 atc->pcm_release_resources(atc, apcm); in ct_pcm_hw_free()
201 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_prepare() local
206 err = atc->spdif_passthru_playback_prepare(atc, apcm); in ct_pcm_playback_prepare()
208 err = atc->pcm_playback_prepare(atc, apcm); in ct_pcm_playback_prepare()
211 dev_err(atc->card->dev, in ct_pcm_playback_prepare()
222 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_trigger() local
230 atc->pcm_playback_start(atc, apcm); in ct_pcm_playback_trigger()
235 atc->pcm_playback_stop(atc, apcm); in ct_pcm_playback_trigger()
248 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_pointer() local
253 position = atc->pcm_playback_position(atc, apcm); in ct_pcm_playback_pointer()
263 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_capture_open() local
276 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()
289 apcm->timer = ct_timer_instance_new(atc->timer, apcm); in ct_pcm_capture_open()
314 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_capture_prepare() local
318 err = atc->pcm_capture_prepare(atc, apcm); in ct_pcm_capture_prepare()
320 dev_err(atc->card->dev, in ct_pcm_capture_prepare()
331 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_capture_trigger() local
337 atc->pcm_capture_start(atc, apcm); in ct_pcm_capture_trigger()
340 atc->pcm_capture_stop(atc, apcm); in ct_pcm_capture_trigger()
343 atc->pcm_capture_stop(atc, apcm); in ct_pcm_capture_trigger()
354 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_capture_pointer() local
359 position = atc->pcm_capture_position(atc, apcm); in ct_pcm_capture_pointer()
413 int ct_alsa_pcm_create(struct ct_atc *atc, in ct_alsa_pcm_create() argument
425 err = snd_pcm_new(atc->card, "ctxfi", device, in ct_alsa_pcm_create()
428 dev_err(atc->card->dev, "snd_pcm_new failed!! Err=%d\n", in ct_alsa_pcm_create()
433 pcm->private_data = atc; in ct_alsa_pcm_create()
445 &atc->pci->dev, 128*1024, 128*1024); in ct_alsa_pcm_create()
472 atc->pcms[device] = pcm; in ct_alsa_pcm_create()