Home
last modified time | relevance | path

Searched refs:vss (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-6.6/sound/virtio/
H A 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()
143 * @vss: VirtIO PCM substream.
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 in virtsnd_pcm_dev_set_params()
217 struct virtio_pcm_substream *vss = snd_pcm_substream_chip(substream); virtsnd_pcm_hw_params() local
254 struct virtio_pcm_substream *vss = snd_pcm_substream_chip(substream); virtsnd_pcm_hw_free() local
272 struct virtio_pcm_substream *vss = snd_pcm_substream_chip(substream); virtsnd_pcm_prepare() local
322 struct virtio_pcm_substream *vss = snd_pcm_substream_chip(substream); virtsnd_pcm_trigger() local
389 struct virtio_pcm_substream *vss = snd_pcm_substream_chip(substream); virtsnd_pcm_sync_stop() local
441 struct virtio_pcm_substream *vss = snd_pcm_substream_chip(substream); virtsnd_pcm_pointer() local
[all...]
H A Dvirtio_pcm_msg.c122 * @vss: VirtIO PCM substream.
132 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()
170 * @vss
174 virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss) virtsnd_pcm_msg_free() argument
201 virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss) virtsnd_pcm_msg_send() argument
260 virtsnd_pcm_msg_pending_num(struct virtio_pcm_substream *vss) virtsnd_pcm_msg_pending_num() argument
291 struct virtio_pcm_substream *vss = msg->substream; virtsnd_pcm_msg_complete() local
391 virtsnd_pcm_ctl_msg_alloc(struct virtio_pcm_substream *vss, unsigned int command, gfp_t gfp) virtsnd_pcm_ctl_msg_alloc() argument
[all...]
H A Dvirtio_pcm.c85 * @vss: VirtIO substream.
91 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 in virtsnd_pcm_build_hw()
308 struct virtio_pcm_substream *vss = virtsnd_pcm_period_elapsed() local
350 struct virtio_pcm_substream *vss = &snd->substreams[i]; virtsnd_pcm_parse_cfg() local
452 struct virtio_pcm_substream *vss = &snd->substreams[i]; virtsnd_pcm_build_devs() local
494 struct virtio_pcm_substream *vss; virtsnd_pcm_event() local
[all...]
H A 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);
H A 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()
H A 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()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A 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()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A 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()
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-fpu.c35 long 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 long 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 long 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 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-gpr.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
H A Dtm-signal-context-chk-fpu.c35 long 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 long 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 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
/kernel/linux/linux-5.10/drivers/gpu/drm/loongson/
H A Dloongson_crtc.c273 unsigned int vr, vss, vse, vfl; in loongson_crtc_mode_set_nofb() local
285 vss = mode->vsync_start; in loongson_crtc_mode_set_nofb()
291 DRM_DEBUG("crtc_id = %d, hr = %d, hss = %d, hse = %d, hfl = %d, vr = %d, vss = %d, vse = %d, vfl = %d, pix_freq = %d,\n", in loongson_crtc_mode_set_nofb()
292 lcrtc->crtc_id, hr, hss, hse, hfl, vr, vss, vse, vfl, pix_freq); in loongson_crtc_mode_set_nofb()
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Datafb.c123 short vft, vbb, vbe, vdb, vde, vss; member
152 #define VSS hw.falcon.vss
1295 /* vbb,vss,vft must be even in interlace mode */ in falcon_decode_var()
1502 var->vsync_len = (hw->vft + 1 - hw->vss + 1) / 2; /* round up */ in falcon_encode_var()
1558 hw->vss = videl.vss; in falcon_get_par()
1620 videl.vss = hw->vss; in falcon_vbl_switcher()
1710 int vdb, vss, hbe, hss; in falcon_blank() local
1716 vss in falcon_blank()
[all...]
H A Dcg14.c122 u16 vss; /* Vert Sync Start */ member
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Datafb.c121 short vft, vbb, vbe, vdb, vde, vss; member
150 #define VSS hw.falcon.vss
1276 /* vbb,vss,vft must be even in interlace mode */ in falcon_decode_var()
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 in falcon_blank()
[all...]
H A Dcg14.c123 u16 vss; /* Vert Sync Start */ member
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dicm.c158 const struct intel_vss *vss; in intel_vss_is_rtd3() local
160 vss = parse_intel_vss(ep_name, size); in intel_vss_is_rtd3()
161 if (vss) in intel_vss_is_rtd3()
162 return !!(vss->flags & INTEL_VSS_FLAGS_RTD3); in intel_vss_is_rtd3()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dicm.c174 const struct intel_vss *vss; in intel_vss_is_rtd3() local
176 vss = parse_intel_vss(ep_name, size); in intel_vss_is_rtd3()
177 if (vss) in intel_vss_is_rtd3()
178 return !!(vss->flags & INTEL_VSS_FLAGS_RTD3); in intel_vss_is_rtd3()

Completed in 34 milliseconds

12