Home
last modified time | relevance | path

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

/linux/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()
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 …]
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 = 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()
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.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()
119 vss->sid, info->channels_min, info->channels_max); in virtsnd_pcm_build_hw()
123 vss->hw.channels_min = info->channels_min; in virtsnd_pcm_build_hw()
124 vss->hw.channels_max = info->channels_max; in virtsnd_pcm_build_hw()
128 vss->hw.formats = 0; in virtsnd_pcm_build_hw()
141 vss->hw.formats |= pcm_format_to_bits(alsa_fmt); in virtsnd_pcm_build_hw()
144 if (!vss->hw.formats) { in virtsnd_pcm_build_hw()
[all …]
H A Dvirtio_pcm.h114 virtsnd_pcm_ctl_msg_alloc(struct virtio_pcm_substream *vss,
117 int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream *vss,
120 void virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss);
122 int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss, unsigned long offset,
125 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.c366 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove() local
368 cancel_work_sync(&vss->elapsed_period); in virtsnd_remove()
369 virtsnd_pcm_msg_free(vss); in virtsnd_remove()
/linux/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()
/linux/arch/mips/alchemy/common/
H A DMakefile10 setup.o sleeper.o dma.o dbdma.o vss.o irq.o usb.o
/linux/include/drm/
H A 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/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 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()
H A Dcg14.c116 u16 vss; /* Vert Sync Start */ member
H A Di740fb.c53 u8 vss; member
552 par->vss = 0x00; /* 3DA */ in i740fb_decode_var()
/linux/arch/m68k/include/asm/
H A Datarihw.h271 u_short vss; member