• Home
  • Raw
  • Download

Lines Matching refs:subs

510 static int vx_pcm_playback_open(struct snd_pcm_substream *subs)  in vx_pcm_playback_open()  argument
512 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open()
513 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_playback_open()
521 audio = subs->pcm->device * 2; in vx_pcm_playback_open()
536 pipe->substream = subs; in vx_pcm_playback_open()
553 static int vx_pcm_playback_close(struct snd_pcm_substream *subs) in vx_pcm_playback_close() argument
555 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_playback_close()
558 if (! subs->runtime->private_data) in vx_pcm_playback_close()
561 pipe = subs->runtime->private_data; in vx_pcm_playback_close()
674 struct snd_pcm_substream *subs, in vx_pcm_playback_transfer() argument
678 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer()
694 struct snd_pcm_substream *subs, in vx_pcm_playback_update() argument
698 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update()
705 snd_pcm_period_elapsed(subs); in vx_pcm_playback_update()
713 static int vx_pcm_trigger(struct snd_pcm_substream *subs, int cmd) in vx_pcm_trigger() argument
715 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_trigger()
716 struct vx_pipe *pipe = subs->runtime->private_data; in vx_pcm_trigger()
726 vx_pcm_playback_transfer(chip, subs, pipe, 2); in vx_pcm_trigger()
766 static snd_pcm_uframes_t vx_pcm_playback_pointer(struct snd_pcm_substream *subs) in vx_pcm_playback_pointer() argument
768 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer()
776 static int vx_pcm_prepare(struct snd_pcm_substream *subs) in vx_pcm_prepare() argument
778 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_prepare()
779 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare()
877 static int vx_pcm_capture_open(struct snd_pcm_substream *subs) in vx_pcm_capture_open() argument
879 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open()
880 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_capture_open()
889 audio = subs->pcm->device * 2; in vx_pcm_capture_open()
895 pipe->substream = subs; in vx_pcm_capture_open()
936 static int vx_pcm_capture_close(struct snd_pcm_substream *subs) in vx_pcm_capture_close() argument
938 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_capture_close()
942 if (! subs->runtime->private_data) in vx_pcm_capture_close()
944 pipe = subs->runtime->private_data; in vx_pcm_capture_close()
972 static void vx_pcm_capture_update(struct vx_core *chip, struct snd_pcm_substream *subs, in vx_pcm_capture_update() argument
976 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_update()
1035 snd_pcm_period_elapsed(subs); in vx_pcm_capture_update()
1048 static snd_pcm_uframes_t vx_pcm_capture_pointer(struct snd_pcm_substream *subs) in vx_pcm_capture_pointer() argument
1050 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_pointer()