Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusx2yhwdeppcm.c53 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_usbpcm_urb_capt_retire()
77 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_usbpcm_urb_capt_retire()
104 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_hwdep_urb_play_prepare()
356 if (!cap_subs->pcm_substream || in snd_usx2y_usbpcm_hw_free()
357 !cap_subs->pcm_substream->runtime || in snd_usx2y_usbpcm_hw_free()
358 !cap_subs->pcm_substream->runtime->status || in snd_usx2y_usbpcm_hw_free()
359 cap_subs->pcm_substream->runtime->status->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_usbpcm_hw_free()
394 stream = subs->pcm_substream->stream; in usx2y_usbpcm_urbs_start()
564 subs->pcm_substream = substream; in snd_usx2y_usbpcm_open()
575 subs->pcm_substream = NULL; in snd_usx2y_usbpcm_close()
[all …]
Dusbusx2yaudio.c60 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_capt_retire()
99 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_urb_capt_retire()
119 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_play_prepare()
170 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_play_retire()
179 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_urb_play_retire()
262 snd_pcm_stop_xrun(subs->pcm_substream); in usx2y_clients_stop()
756 test_substream = subs->pcm_substream; in snd_usx2y_pcm_hw_params()
788 if (!cap_subs->pcm_substream || in snd_usx2y_pcm_hw_free()
789 !cap_subs->pcm_substream->runtime || in snd_usx2y_pcm_hw_free()
790 !cap_subs->pcm_substream->runtime->status || in snd_usx2y_pcm_hw_free()
[all …]
Dusbusx2y.h56 struct snd_pcm_substream *pcm_substream; member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_drv_interface.c468 stream->pcm_substream = NULL; in sst_close_pcm_stream()
528 if (!stream->pcm_substream) in sst_read_timestamp()
530 substream = stream->pcm_substream; in sst_read_timestamp()
618 stream->pcm_substream = str_info->arg; in sst_stream_init()
625 stream->pcm_substream, stream->period_elapsed, in sst_stream_init()
Dsst.h198 void *pcm_substream; member
199 void (*period_elapsed)(void *pcm_substream);
Dsst_ipc.c276 stream->period_elapsed(stream->pcm_substream); in process_fw_async_msg()
/kernel/linux/linux-5.10/sound/usb/
Dpcm.c1357 subs->pcm_substream = substream; in snd_usb_pcm_open()
1394 subs->pcm_substream = NULL; in snd_usb_pcm_close()
1408 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in retire_capture_urb()
1478 snd_pcm_period_elapsed(subs->pcm_substream); in retire_capture_urb()
1484 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in fill_playback_urb_dsd_dop()
1541 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in copy_to_urb()
1589 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in prepare_playback_urb()
1694 snd_pcm_period_elapsed(subs->pcm_substream); in prepare_playback_urb()
1705 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in retire_playback_urb()
Dcard.h122 struct snd_pcm_substream *pcm_substream; member
Dendpoint.c434 if (ep->data_subs && ep->data_subs->pcm_substream) { in snd_complete_urb()
435 substream = ep->data_subs->pcm_substream; in snd_complete_urb()