• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/vx/

Lines Matching defs:subs

64 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs,
67 void *pageptr = subs->runtime->dma_area + offset;
76 static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, size_t size)
78 struct snd_pcm_runtime *runtime = subs->runtime;
98 static int snd_pcm_free_vmalloc_buffer(struct snd_pcm_substream *subs)
100 struct snd_pcm_runtime *runtime = subs->runtime;
575 static int vx_pcm_playback_open(struct snd_pcm_substream *subs)
577 struct snd_pcm_runtime *runtime = subs->runtime;
578 struct vx_core *chip = snd_pcm_substream_chip(subs);
586 audio = subs->pcm->device * 2;
601 pipe->substream = subs;
602 tasklet_init(&pipe->start_tq, vx_pcm_delayed_start, (unsigned long)subs);
619 static int vx_pcm_playback_close(struct snd_pcm_substream *subs)
621 struct vx_core *chip = snd_pcm_substream_chip(subs);
624 if (! subs->runtime->private_data)
627 pipe = subs->runtime->private_data;
664 * @subs: substream
740 struct snd_pcm_substream *subs,
744 struct snd_pcm_runtime *runtime = subs->runtime;
760 struct snd_pcm_substream *subs,
764 struct snd_pcm_runtime *runtime = subs->runtime;
771 snd_pcm_period_elapsed(subs);
783 struct snd_pcm_substream *subs = (struct snd_pcm_substream *)arg;
784 struct vx_core *chip = subs->pcm->private_data;
785 struct vx_pipe *pipe = subs->runtime->private_data;
804 static int vx_pcm_trigger(struct snd_pcm_substream *subs, int cmd)
806 struct vx_core *chip = snd_pcm_substream_chip(subs);
807 struct vx_pipe *pipe = subs->runtime->private_data;
817 vx_pcm_playback_transfer(chip, subs, pipe, 2);
847 static snd_pcm_uframes_t vx_pcm_playback_pointer(struct snd_pcm_substream *subs)
849 struct snd_pcm_runtime *runtime = subs->runtime;
857 static int vx_pcm_hw_params(struct snd_pcm_substream *subs,
860 return snd_pcm_alloc_vmalloc_buffer(subs, params_buffer_bytes(hw_params));
866 static int vx_pcm_hw_free(struct snd_pcm_substream *subs)
868 return snd_pcm_free_vmalloc_buffer(subs);
874 static int vx_pcm_prepare(struct snd_pcm_substream *subs)
876 struct vx_core *chip = snd_pcm_substream_chip(subs);
877 struct snd_pcm_runtime *runtime = subs->runtime;
979 static int vx_pcm_capture_open(struct snd_pcm_substream *subs)
981 struct snd_pcm_runtime *runtime = subs->runtime;
982 struct vx_core *chip = snd_pcm_substream_chip(subs);
991 audio = subs->pcm->device * 2;
996 pipe->substream = subs;
997 tasklet_init(&pipe->start_tq, vx_pcm_delayed_start, (unsigned long)subs);
1038 static int vx_pcm_capture_close(struct snd_pcm_substream *subs)
1040 struct vx_core *chip = snd_pcm_substream_chip(subs);
1044 if (! subs->runtime->private_data)
1046 pipe = subs->runtime->private_data;
1074 static void vx_pcm_capture_update(struct vx_core *chip, struct snd_pcm_substream *subs,
1078 struct snd_pcm_runtime *runtime = subs->runtime;
1135 snd_pcm_period_elapsed(subs);
1148 static snd_pcm_uframes_t vx_pcm_capture_pointer(struct snd_pcm_substream *subs)
1150 struct snd_pcm_runtime *runtime = subs->runtime;