Home
last modified time | relevance | path

Searched refs:apcm (Results 1 – 6 of 6) sorted by relevance

/linux/sound/pci/ctxfi/
H A Dctpcm.c95 struct ct_atc_pcm *apcm = atc_pcm; in ct_atc_pcm_interrupt() local
97 if (!apcm->substream) in ct_atc_pcm_interrupt()
100 snd_pcm_period_elapsed(apcm->substream); in ct_atc_pcm_interrupt()
105 struct ct_atc_pcm *apcm = runtime->private_data; in ct_atc_pcm_free_substream() local
106 struct ct_atc *atc = snd_pcm_substream_chip(apcm->substream); in ct_atc_pcm_free_substream()
108 atc->pcm_release_resources(atc, apcm); in ct_atc_pcm_free_substream()
109 ct_timer_instance_free(apcm->timer); in ct_atc_pcm_free_substream()
110 kfree(apcm); in ct_atc_pcm_free_substream()
119 struct ct_atc_pcm *apcm; in ct_pcm_playback_open() local
122 apcm = kzalloc(sizeof(*apcm), GFP_KERNEL); in ct_pcm_playback_open()
[all …]
H A Dctatc.c125 atc_pcm_release_resources(struct ct_atc *atc, struct ct_atc_pcm *apcm);
132 static int ct_map_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_map_audio_buffer() argument
137 if (!apcm->substream) in ct_map_audio_buffer()
140 runtime = apcm->substream->runtime; in ct_map_audio_buffer()
143 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer()
145 if (!apcm->vm_block) in ct_map_audio_buffer()
151 static void ct_unmap_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_unmap_audio_buffer() argument
155 if (!apcm->vm_block) in ct_unmap_audio_buffer()
160 vm->unmap(vm, apcm->vm_block); in ct_unmap_audio_buffer()
162 apcm->vm_block = NULL; in ct_unmap_audio_buffer()
[all …]
H A Dctatc.h56 void (*interrupt)(struct ct_atc_pcm *apcm);
86 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);
93 struct ct_atc_pcm *apcm);
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);
97 struct ct_atc_pcm *apcm);
99 struct ct_atc_pcm *apcm);
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 …]
H A Dcttimer.c33 struct ct_atc_pcm *apcm; member
68 struct ct_atc_pcm *apcm = ti->apcm; in ct_systimer_callback() local
78 apcm->interrupt(apcm); in ct_systimer_callback()
238 ti->apcm->interrupt(ti->apcm); in ct_xfitimer_check_period()
334 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm) in ct_timer_instance_new() argument
345 ti->apcm = apcm; in ct_timer_instance_new()
346 ti->substream = apcm->substream; in ct_timer_instance_new()
H A Dcttimer.h24 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm);
/linux/sound/pci/hda/
H A Dhda_controller.c60 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in to_hda_pcm_stream() local
61 return &apcm->info->stream[substream->stream]; in to_hda_pcm_stream()
67 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in azx_adjust_codec_delay() local
74 codec_frames = hinfo->ops.get_delay(hinfo, apcm->codec, substream); in azx_adjust_codec_delay()
90 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in azx_pcm_close() local
92 struct azx *chip = apcm->chip; in azx_pcm_close()
99 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close()
100 snd_hda_power_down(apcm->codec); in azx_pcm_close()
102 snd_hda_codec_pcm_put(apcm->info); in azx_pcm_close()
109 struct azx_pcm *apcm in azx_pcm_hw_params() local
139 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_pcm_hw_free() local
157 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_pcm_prepare() local
210 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_pcm_trigger() local
313 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_get_position() local
331 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_pcm_pointer() local
375 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_get_sync_time() local
586 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); azx_pcm_open() local
692 struct azx_pcm *apcm = pcm->private_data; azx_pcm_free() local
708 struct azx_pcm *apcm; snd_hda_attach_pcm_stream() local
[all...]