Home
last modified time | relevance | path

Searched refs:atc (Results 1 – 10 of 10) sorted by relevance

/sound/pci/ctxfi/
Dctatc.c82 int (*create)(struct ct_atc *atc,
128 atc_pcm_release_resources(struct ct_atc *atc, struct ct_atc_pcm *apcm);
135 static int ct_map_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_map_audio_buffer() argument
144 vm = atc->vm; in ct_map_audio_buffer()
154 static void ct_unmap_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_unmap_audio_buffer() argument
161 vm = atc->vm; in ct_unmap_audio_buffer()
168 static unsigned long atc_get_ptp_phys(struct ct_atc *atc, int index) in atc_get_ptp_phys() argument
170 return atc->vm->get_ptp_phys(atc->vm, index); in atc_get_ptp_phys()
242 static int atc_pcm_playback_prepare(struct ct_atc *atc, struct ct_atc_pcm *apcm) in atc_pcm_playback_prepare() argument
244 struct src_mgr *src_mgr = atc->rsc_mgrs[SRC]; in atc_pcm_playback_prepare()
[all …]
Dctatc.h86 int (*map_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
87 void (*unmap_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
88 unsigned long (*get_ptp_phys)(struct ct_atc *atc, int index);
92 int (*pcm_playback_prepare)(struct ct_atc *atc,
94 int (*pcm_playback_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
95 int (*pcm_playback_stop)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
96 int (*pcm_playback_position)(struct ct_atc *atc,
98 int (*spdif_passthru_playback_prepare)(struct ct_atc *atc,
100 int (*pcm_capture_prepare)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
101 int (*pcm_capture_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
[all …]
Dctpcm.c106 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
[all …]
Dctmixer.c344 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in ct_alsa_mix_volume_get() local
350 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get()
366 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in ct_alsa_mix_volume_put() local
367 struct ct_mixer *mixer = atc->mixer; in ct_alsa_mix_volume_put()
423 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in output_switch_get() local
424 ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); in output_switch_get()
431 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in output_switch_put() local
434 return atc->output_switch_put(atc, ucontrol->value.enumerated.item[0]); in output_switch_put()
458 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in mic_source_switch_get() local
459 ucontrol->value.enumerated.item[0] = atc->mic_source_switch_get(atc); in mic_source_switch_get()
[all …]
Dxfi.c60 struct ct_atc *atc; in ct_card_probe() local
90 pci_id->driver_data, subsystem[dev], &atc); in ct_card_probe()
94 card->private_data = atc; in ct_card_probe()
97 err = ct_atc_create_alsa_devs(atc); in ct_card_probe()
104 card->shortname, atc->chip_name, atc->model_name); in ct_card_probe()
129 struct ct_atc *atc = card->private_data; in ct_card_suspend() local
131 return atc->suspend(atc); in ct_card_suspend()
137 struct ct_atc *atc = card->private_data; in ct_card_resume() local
139 return atc->resume(atc); in ct_card_resume()
Dcttimer.c48 struct ct_atc *atc; member
146 struct hw *hw = atimer->atc->hw; in ct_xfitimer_irq_rearm()
158 struct hw *hw = atimer->atc->hw; in ct_xfitimer_irq_stop()
167 struct hw *hw = atimer->atc->hw; in ct_xfitimer_get_wc()
405 struct ct_timer *ct_timer_new(struct ct_atc *atc) in ct_timer_new() argument
417 atimer->atc = atc; in ct_timer_new()
418 hw = atc->hw; in ct_timer_new()
420 dev_info(atc->card->dev, "Use xfi-native timer\n"); in ct_timer_new()
425 dev_info(atc->card->dev, "Use system timer\n"); in ct_timer_new()
433 struct hw *hw = atimer->atc->hw; in ct_timer_free()
Dctmixer.h42 struct ct_atc *atc; member
60 int ct_alsa_mix_create(struct ct_atc *atc,
63 int ct_mixer_create(struct ct_atc *atc, struct ct_mixer **rmixer);
Dctvmem.c30 get_vm_block(struct ct_vm *vm, unsigned int size, struct ct_atc *atc) in get_vm_block() argument
37 dev_err(atc->card->dev, in get_vm_block()
130 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_vm_map() local
132 block = get_vm_block(vm, size, atc); in ct_vm_map()
134 dev_err(atc->card->dev, in ct_vm_map()
Dctpcm.h19 int ct_alsa_pcm_create(struct ct_atc *atc,
Dcttimer.h20 struct ct_timer *ct_timer_new(struct ct_atc *atc);