Searched refs:apcm (Results 1 – 6 of 6) sorted by relevance
| /linux/sound/pci/ctxfi/ |
| H A D | ctpcm.c | 95 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_obj(*apcm); in ct_pcm_playback_open() [all …]
|
| H A D | ctatc.c | 131 atc_pcm_release_resources(struct ct_atc *atc, struct ct_atc_pcm *apcm); 138 static int ct_map_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_map_audio_buffer() argument 143 if (!apcm->substream) in ct_map_audio_buffer() 146 runtime = apcm->substream->runtime; in ct_map_audio_buffer() 149 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer() 151 if (!apcm->vm_block) in ct_map_audio_buffer() 157 static void ct_unmap_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_unmap_audio_buffer() argument 161 if (!apcm->vm_block) in ct_unmap_audio_buffer() 166 vm->unmap(vm, apcm->vm_block); in ct_unmap_audio_buffer() 168 apcm->vm_block = NULL; in ct_unmap_audio_buffer() [all …]
|
| H A D | ctatc.h | 56 void (*interrupt)(struct ct_atc_pcm *apcm); 88 int (*map_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 89 void (*unmap_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 95 struct ct_atc_pcm *apcm); 96 int (*pcm_playback_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 97 int (*pcm_playback_stop)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 99 struct ct_atc_pcm *apcm); 101 struct ct_atc_pcm *apcm); 102 int (*pcm_capture_prepare)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 103 int (*pcm_capture_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm); [all...] |
| H A D | cttimer.c | 33 struct ct_atc_pcm *apcm; member 68 struct ct_atc_pcm *apcm = ti->apcm; in ct_systimer_callback() local 77 apcm->interrupt(apcm); in ct_systimer_callback() 230 ti->apcm->interrupt(ti->apcm); in ct_xfitimer_check_period() 317 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm) in ct_timer_instance_new() argument 328 ti->apcm = apcm; in ct_timer_instance_new() 329 ti->substream = apcm->substream; in ct_timer_instance_new()
|
| H A D | cttimer.h | 24 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm);
|
| /linux/sound/hda/common/ |
| H A D | controller.c | 63 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in to_hda_pcm_stream() local 64 return &apcm->info->stream[substream->stream]; in to_hda_pcm_stream() 70 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in azx_adjust_codec_delay() local 77 codec_frames = hinfo->ops.get_delay(hinfo, apcm->codec, substream); in azx_adjust_codec_delay() 93 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in azx_pcm_close() local 95 struct azx *chip = apcm->chip; in azx_pcm_close() 102 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close() 103 snd_hda_power_down(apcm->codec); in azx_pcm_close() 105 snd_hda_codec_pcm_put(apcm->info); in azx_pcm_close() 112 struct azx_pcm *apcm = snd_pcm_substream_chip(substream); in azx_pcm_hw_params() local [all …]
|