Home
last modified time | relevance | path

Searched refs:vss (Results 1 – 16 of 16) sorted by relevance

/linux/sound/virtio/
H A Dvirtio_pcm_msg.c132 int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream *vss, in virtsnd_pcm_msg_alloc() argument
135 struct snd_pcm_runtime *runtime = vss->substream->runtime; in virtsnd_pcm_msg_alloc()
138 vss->msgs = kzalloc_objs(*vss->msgs, periods); in virtsnd_pcm_msg_alloc()
139 if (!vss->msgs) in virtsnd_pcm_msg_alloc()
142 vss->nmsgs = periods; in virtsnd_pcm_msg_alloc()
153 msg->substream = vss; in virtsnd_pcm_msg_alloc()
161 vss->msgs[i] = msg; in virtsnd_pcm_msg_alloc()
173 void virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss) in virtsnd_pcm_msg_free() argument
177 for (i = 0; vss->msgs && i < vss->nmsgs; ++i) in virtsnd_pcm_msg_free()
178 kfree(vss->msgs[i]); in virtsnd_pcm_msg_free()
[all …]
H A Dvirtio_pcm.c86 * @vss: VirtIO substream.
92 static int virtsnd_pcm_build_hw(struct virtio_pcm_substream *vss, in virtsnd_pcm_build_hw()
95 struct virtio_device *vdev = vss->snd->vdev; in virtsnd_pcm_build_hw()
101 vss->features = le32_to_cpu(info->features); in virtsnd_pcm_build_hw()
107 vss->hw.info = in virtsnd_pcm_build_hw()
120 vss->sid, info->channels_min, info->channels_max); in virtsnd_pcm_build_hw()
124 vss->hw.channels_min = info->channels_min; in virtsnd_pcm_build_hw()
125 vss->hw.channels_max = info->channels_max; in virtsnd_pcm_build_hw()
129 vss->hw.formats = 0; in virtsnd_pcm_build_hw()
142 vss in virtsnd_pcm_build_hw()
91 virtsnd_pcm_build_hw(struct virtio_pcm_substream * vss,struct virtio_snd_pcm_info * info) virtsnd_pcm_build_hw() argument
310 struct virtio_pcm_substream *vss = virtsnd_pcm_period_elapsed() local
348 struct virtio_pcm_substream *vss = &snd->substreams[i]; virtsnd_pcm_parse_cfg() local
367 struct virtio_pcm_substream *vss = &snd->substreams[i]; virtsnd_pcm_parse_cfg() local
463 struct virtio_pcm_substream *vss = &snd->substreams[i]; virtsnd_pcm_build_devs() local
505 struct virtio_pcm_substream *vss; virtsnd_pcm_event() local
[all...]
H A Dvirtio_pcm.h113 virtsnd_pcm_ctl_msg_alloc(struct virtio_pcm_substream *vss,
116 int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream *vss,
119 void virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss);
121 int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss, unsigned long offset,
124 unsigned int virtsnd_pcm_msg_pending_num(struct virtio_pcm_substream *vss);
H A Dvirtio_card.h108 virtsnd_pcm_queue(struct virtio_pcm_substream *vss) in virtsnd_pcm_queue() argument
110 if (vss->direction == SNDRV_PCM_STREAM_PLAYBACK) in virtsnd_pcm_queue()
111 return virtsnd_tx_queue(vss->snd); in virtsnd_pcm_queue()
113 return virtsnd_rx_queue(vss->snd); in virtsnd_pcm_queue()
H A Dvirtio_card.c361 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove() local
363 cancel_work_sync(&vss->elapsed_period); in virtsnd_remove()
364 virtsnd_pcm_msg_free(vss); in virtsnd_remove()
/linux/sound/soc/codecs/
H A Dwm8958-dsp2.c623 int vss = kcontrol->private_value; in wm8958_vss_get()
627 ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; in wm8958_vss_get()
635 int vss = kcontrol->private_value; in wm8958_vss_put()
639 if (wm8994->vss_ena[vss] == ucontrol->value.integer.value[0]) in wm8958_vss_put()
648 if (wm8958_dsp2_busy(wm8994, vss)) { in wm8958_vss_put()
649 dev_dbg(component->dev, "DSP2 active on %d already\n", vss); in wm8958_vss_put()
653 if (wm8994->enh_eq_ena[vss]) in wm8958_vss_put()
656 wm8994->vss_ena[vss] = ucontrol->value.integer.value[0]; in wm8958_vss_put()
658 wm8958_dsp_apply(component, vss, wm8994->vss_ena[vss]); in wm8958_vss_put()
622 int vss = kcontrol->private_value; wm8958_vss_get() local
634 int vss = kcontrol->private_value; wm8958_vss_put() local
[all...]
/linux/arch/mips/alchemy/common/
H A DMakefile10 setup.o sleeper.o dma.o dbdma.o vss.o irq.o usb.o
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-fpu.c35 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
H A Dtm-signal-context-chk-gpr.c35 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
H A Dtm-signal-context-chk-vmx.c36 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
H A Dtm-signal-context-chk-vsx.c37 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
/linux/drivers/video/fbdev/
H A Dcg14.c116 u16 vss; /* Vert Sync Start */ member
H A Dvga16fb.c60 u8 misc, pel_msk, vss, clkdiv; member
504 par->vss = 0x00; /* 3DA */ in vga16fb_check_var()
/linux/drivers/thunderbolt/
H A Dicm.c175 const struct intel_vss *vss; in intel_vss_is_rtd3() local
177 vss = parse_intel_vss(ep_name, size); in intel_vss_is_rtd3()
178 if (vss) in intel_vss_is_rtd3()
179 return !!(vss->flags & INTEL_VSS_FLAGS_RTD3); in intel_vss_is_rtd3()
/linux/arch/m68k/include/asm/
H A Datarihw.h271 u_short vss; member
/linux/include/linux/
H A Dnvme.h719 __u8 vss; member