Home
last modified time | relevance | path

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

/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()
464 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_prepare()
508 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_trigger()
540 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); in usb6fire_pcm_pointer()
/sound/usb/hiface/
Dpcm.c32 struct pcm_substream { struct
52 struct pcm_substream playback; argument
171 static struct pcm_substream *hiface_pcm_get_substream(struct snd_pcm_substream in hiface_pcm_get_substream()
257 static bool hiface_pcm_playback(struct pcm_substream *sub, struct pcm_urb *urb) in hiface_pcm_playback()
308 struct pcm_substream *sub; in hiface_pcm_out_urb_handler()
354 struct pcm_substream *sub = NULL; in hiface_pcm_open()
397 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_close()
433 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_prepare()
468 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_trigger()
498 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); in hiface_pcm_pointer()
/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()
754 test_substream = subs->pcm_substream; in snd_usX2Y_pcm_hw_params()
794 if (!cap_subs->pcm_substream || in snd_usX2Y_pcm_hw_free()
795 !cap_subs->pcm_substream->runtime || in snd_usX2Y_pcm_hw_free()
796 !cap_subs->pcm_substream->runtime->status || in snd_usX2Y_pcm_hw_free()
[all …]
Dusbusx2y.h56 struct snd_pcm_substream *pcm_substream; member
/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.c224 chip->pcm_substream = subs; in pdacf_pcm_capture_open()
239 chip->pcm_substream = NULL; in pdacf_pcm_capture_close()
Dpdaudiocf.h88 struct snd_pcm_substream *pcm_substream; member
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c471 stream->pcm_substream = NULL; in sst_close_pcm_stream()
531 if (!stream->pcm_substream) in sst_read_timestamp()
533 substream = stream->pcm_substream; in sst_read_timestamp()
621 stream->pcm_substream = str_info->arg; in sst_stream_init()
628 stream->pcm_substream, stream->period_elapsed, in sst_stream_init()
Dsst.h191 void *pcm_substream; member
192 void (*period_elapsed)(void *pcm_substream);
Dsst_ipc.c277 stream->period_elapsed(stream->pcm_substream); in process_fw_async_msg()
/sound/usb/
Dpcm.c1462 subs->pcm_substream = substream; in snd_usb_pcm_open()
1500 subs->pcm_substream = NULL; in snd_usb_pcm_close()
1514 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in retire_capture_urb()
1578 snd_pcm_period_elapsed(subs->pcm_substream); in retire_capture_urb()
1584 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in fill_playback_urb_dsd_dop()
1641 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in copy_to_urb()
1689 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in prepare_playback_urb()
1792 snd_pcm_period_elapsed(subs->pcm_substream); in prepare_playback_urb()
1803 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in retire_playback_urb()
Dcard.h117 struct snd_pcm_substream *pcm_substream; member
Dendpoint.c408 if (ep->data_subs && ep->data_subs->pcm_substream) { in snd_complete_urb()
409 substream = ep->data_subs->pcm_substream; in snd_complete_urb()