Home
last modified time | relevance | path

Searched refs:pcm_substream (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/sound/usb/6fire/
Dpcm.h36 struct pcm_substream { struct
50 struct pcm_substream playback; argument
51 struct pcm_substream capture;
Dpcm.c117 static struct pcm_substream *usb6fire_pcm_get_substream( in usb6fire_pcm_get_substream()
192 static void usb6fire_pcm_capture(struct pcm_substream *sub, struct pcm_urb *urb) in usb6fire_pcm_capture()
239 static void usb6fire_pcm_playback(struct pcm_substream *sub, in usb6fire_pcm_playback()
291 struct pcm_substream *sub; in usb6fire_pcm_in_urb_handler()
389 struct pcm_substream *sub = NULL; in usb6fire_pcm_open()
425 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_close()
452 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_prepare()
496 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_trigger()
528 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_pointer()
/linux-6.6.21/sound/usb/hiface/
Dpcm.c32 struct pcm_substream { struct
52 struct pcm_substream playback; argument
169 static struct pcm_substream *hiface_pcm_get_substream(struct snd_pcm_substream in hiface_pcm_get_substream()
255 static bool hiface_pcm_playback(struct pcm_substream *sub, struct pcm_urb *urb) in hiface_pcm_playback()
306 struct pcm_substream *sub; in hiface_pcm_out_urb_handler()
352 struct pcm_substream *sub = NULL; in hiface_pcm_open()
395 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_close()
419 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_prepare()
454 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_trigger()
484 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_pointer()
/linux-6.6.21/sound/usb/usx2y/
Dusx2yhwdeppcm.c52 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_usbpcm_urb_capt_retire()
81 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_usbpcm_urb_capt_retire()
108 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_hwdep_urb_play_prepare()
375 if (!cap_subs->pcm_substream || in snd_usx2y_usbpcm_hw_free()
376 !cap_subs->pcm_substream->runtime || in snd_usx2y_usbpcm_hw_free()
377 cap_subs->pcm_substream->runtime->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_usbpcm_hw_free()
412 int p, u, err, stream = subs->pcm_substream->stream; in usx2y_usbpcm_urbs_start()
600 subs->pcm_substream = substream; in snd_usx2y_usbpcm_open()
610 subs->pcm_substream = NULL; in snd_usx2y_usbpcm_close()
632 if (subs && subs->pcm_substream && in usx2y_pcms_busy_check()
[all …]
Dusbusx2yaudio.c61 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_capt_retire()
102 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_urb_capt_retire()
122 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_play_prepare()
175 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_play_retire()
184 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_urb_play_retire()
275 snd_pcm_stop_xrun(subs->pcm_substream); in usx2y_clients_stop()
789 test_substream = subs->pcm_substream; in snd_usx2y_pcm_hw_params()
823 if (!cap_subs->pcm_substream || in snd_usx2y_pcm_hw_free()
824 !cap_subs->pcm_substream->runtime || in snd_usx2y_pcm_hw_free()
825 cap_subs->pcm_substream->runtime->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_pcm_hw_free()
[all …]
Dusbusx2y.h55 struct snd_pcm_substream *pcm_substream; member
/linux-6.6.21/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c31 if (chip->pcm_substream) in pdacf_interrupt()
255 …if (chip->pcm_substream == NULL || chip->pcm_substream->runtime == NULL || !snd_pcm_running(chip-> in pdacf_threaded_irq()
308 snd_pcm_period_elapsed(chip->pcm_substream); in pdacf_threaded_irq()
Dpdaudiocf_pcm.c206 chip->pcm_substream = subs; in pdacf_pcm_capture_open()
221 chip->pcm_substream = NULL; in pdacf_pcm_capture_close()
Dpdaudiocf.h88 struct snd_pcm_substream *pcm_substream; member
/linux-6.6.21/sound/soc/intel/atom/sst/
Dsst_drv_interface.c465 stream->pcm_substream = NULL; in sst_close_pcm_stream()
525 if (!stream->pcm_substream) in sst_read_timestamp()
527 substream = stream->pcm_substream; in sst_read_timestamp()
615 stream->pcm_substream = str_info->arg; in sst_stream_init()
622 stream->pcm_substream, stream->period_elapsed, in sst_stream_init()
Dsst.h195 void *pcm_substream; member
196 void (*period_elapsed)(void *pcm_substream);
Dsst_ipc.c275 stream->period_elapsed(stream->pcm_substream); in process_fw_async_msg()
/linux-6.6.21/sound/usb/
Dpcm.c1219 subs->pcm_substream = substream; in snd_usb_pcm_open()
1255 subs->pcm_substream = NULL; in snd_usb_pcm_close()
1269 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in retire_capture_urb()
1334 snd_pcm_period_elapsed(subs->pcm_substream); in retire_capture_urb()
1352 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in fill_playback_urb_dsd_dop()
1409 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in fill_playback_urb_dsd_bitrev()
1426 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in copy_to_urb()
1474 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in prepare_playback_urb()
1593 snd_pcm_period_elapsed_under_stream_lock(subs->pcm_substream); in prepare_playback_urb()
1595 snd_pcm_period_elapsed(subs->pcm_substream); in prepare_playback_urb()
[all …]
Dcard.h155 struct snd_pcm_substream *pcm_substream; member
Dendpoint.c408 if (data_subs && data_subs->pcm_substream) in notify_xrun()
409 snd_pcm_stop_xrun(data_subs->pcm_substream); in notify_xrun()