Home
last modified time | relevance | path

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

/linux-6.1.9/sound/virtio/
Dvirtio_pcm_ops.c109 struct virtio_pcm_substream *vss = vs->substreams[substream->number]; in virtsnd_pcm_open() local
111 substream->runtime->hw = vss->hw; in virtsnd_pcm_open()
112 substream->private_data = vss; in virtsnd_pcm_open()
117 vss->stopped = !!virtsnd_pcm_msg_pending_num(vss); in virtsnd_pcm_open()
118 vss->suspended = false; in virtsnd_pcm_open()
153 static int virtsnd_pcm_dev_set_params(struct virtio_pcm_substream *vss, in virtsnd_pcm_dev_set_params() argument
183 msg = virtsnd_pcm_ctl_msg_alloc(vss, VIRTIO_SND_R_PCM_SET_PARAMS, in virtsnd_pcm_dev_set_params()
195 if (vss->features & (1U << VIRTIO_SND_PCM_F_MSG_POLLING)) in virtsnd_pcm_dev_set_params()
199 if (vss->features & (1U << VIRTIO_SND_PCM_F_EVT_XRUNS)) in virtsnd_pcm_dev_set_params()
203 return virtsnd_ctl_msg_send_sync(vss->snd, msg); in virtsnd_pcm_dev_set_params()
[all …]
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 = kcalloc(periods, sizeof(*vss->msgs), GFP_KERNEL); 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()
162 vss->msgs[i] = msg; in virtsnd_pcm_msg_alloc()
174 void virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss) in virtsnd_pcm_msg_free() argument
178 for (i = 0; vss->msgs && i < vss->nmsgs; ++i) in virtsnd_pcm_msg_free()
179 kfree(vss->msgs[i]); in virtsnd_pcm_msg_free()
[all …]
Dvirtio_pcm.c91 static int virtsnd_pcm_build_hw(struct virtio_pcm_substream *vss, in virtsnd_pcm_build_hw() argument
94 struct virtio_device *vdev = vss->snd->vdev; in virtsnd_pcm_build_hw()
100 vss->features = le32_to_cpu(info->features); in virtsnd_pcm_build_hw()
106 vss->hw.info = in virtsnd_pcm_build_hw()
117 vss->sid, info->channels_min, info->channels_max); in virtsnd_pcm_build_hw()
121 vss->hw.channels_min = info->channels_min; in virtsnd_pcm_build_hw()
122 vss->hw.channels_max = info->channels_max; in virtsnd_pcm_build_hw()
126 vss->hw.formats = 0; in virtsnd_pcm_build_hw()
139 vss->hw.formats |= pcm_format_to_bits(alsa_fmt); in virtsnd_pcm_build_hw()
142 if (!vss->hw.formats) { in virtsnd_pcm_build_hw()
[all …]
Dvirtio_pcm.h112 virtsnd_pcm_ctl_msg_alloc(struct virtio_pcm_substream *vss,
115 int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream *vss,
118 void virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss);
120 int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss);
122 unsigned int virtsnd_pcm_msg_pending_num(struct virtio_pcm_substream *vss);
Dvirtio_card.h92 virtsnd_pcm_queue(struct virtio_pcm_substream *vss) in virtsnd_pcm_queue() argument
94 if (vss->direction == SNDRV_PCM_STREAM_PLAYBACK) in virtsnd_pcm_queue()
95 return virtsnd_tx_queue(vss->snd); in virtsnd_pcm_queue()
97 return virtsnd_rx_queue(vss->snd); in virtsnd_pcm_queue()
Dvirtio_card.c356 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove() local
358 cancel_work_sync(&vss->elapsed_period); in virtsnd_remove()
359 virtsnd_pcm_msg_free(vss); in virtsnd_remove()
/linux-6.1.9/Documentation/devicetree/bindings/iio/dac/
Dadi,ad5791.yaml27 vss-supply: true
33 - vss-supply
49 vss-supply = <&dac_vss>;
/linux-6.1.9/sound/soc/codecs/
Dwm8958-dsp2.c622 int vss = kcontrol->private_value; in wm8958_vss_get() local
626 ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; in wm8958_vss_get()
634 int vss = kcontrol->private_value; in wm8958_vss_put() local
638 if (wm8994->vss_ena[vss] == ucontrol->value.integer.value[0]) in wm8958_vss_put()
647 if (wm8958_dsp2_busy(wm8994, vss)) { in wm8958_vss_put()
648 dev_dbg(component->dev, "DSP2 active on %d already\n", vss); in wm8958_vss_put()
652 if (wm8994->enh_eq_ena[vss]) in wm8958_vss_put()
655 wm8994->vss_ena[vss] = ucontrol->value.integer.value[0]; in wm8958_vss_put()
657 wm8958_dsp_apply(component, vss, wm8994->vss_ena[vss]); in wm8958_vss_put()
/linux-6.1.9/arch/mips/alchemy/common/
DMakefile10 setup.o sleeper.o dma.o dbdma.o vss.o irq.o usb.o
/linux-6.1.9/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-chk-fpu.c35 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
Dtm-signal-context-chk-gpr.c35 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
Dtm-signal-context-chk-vmx.c36 … tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
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-6.1.9/include/drm/
Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
/linux-6.1.9/drivers/video/fbdev/
Datafb.c121 short vft, vbb, vbe, vdb, vde, vss; member
150 #define VSS hw.falcon.vss
1483 var->vsync_len = (hw->vft + 1 - hw->vss + 1) / 2; /* round up */ in falcon_encode_var()
1539 hw->vss = videl.vss; in falcon_get_par()
1601 videl.vss = hw->vss; in falcon_vbl_switcher()
1691 int vdb, vss, hbe, hss; in falcon_blank() local
1697 vss = current_par.VSS; in falcon_blank()
1710 vss = current_par.VFT + 1; in falcon_blank()
1716 videl.vss = vss; in falcon_blank()
Dcg14.c122 u16 vss; /* Vert Sync Start */ member
Dvga16fb.c59 u8 misc, pel_msk, vss, clkdiv; member
504 par->vss = 0x00; /* 3DA */ in vga16fb_check_var()
Di740fb.c53 u8 vss; member
553 par->vss = 0x00; /* 3DA */ in i740fb_decode_var()
/linux-6.1.9/drivers/thunderbolt/
Dicm.c173 const struct intel_vss *vss; in intel_vss_is_rtd3() local
175 vss = parse_intel_vss(ep_name, size); in intel_vss_is_rtd3()
176 if (vss) in intel_vss_is_rtd3()
177 return !!(vss->flags & INTEL_VSS_FLAGS_RTD3); in intel_vss_is_rtd3()
/linux-6.1.9/arch/m68k/include/asm/
Datarihw.h271 u_short vss; member