Home
last modified time | relevance | path

Searched refs:sh_buf (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/sound/xen/
Dxen_snd_front_alsa.c28 struct xen_snd_front_shbuf sh_buf; member
217 xen_snd_front_shbuf_clear(&stream->sh_buf); in stream_clear()
222 xen_snd_front_shbuf_free(&stream->sh_buf); in stream_free()
437 &stream->sh_buf, in alsa_hw_params()
479 &stream->sh_buf, in alsa_prepare()
559 if (unlikely(pos + count > stream->sh_buf.buffer_sz)) in alsa_pb_copy_user()
562 if (copy_from_user(stream->sh_buf.buffer + pos, src, count)) in alsa_pb_copy_user()
574 if (unlikely(pos + count > stream->sh_buf.buffer_sz)) in alsa_pb_copy_kernel()
577 memcpy(stream->sh_buf.buffer + pos, src, count); in alsa_pb_copy_kernel()
589 if (unlikely(pos + count > stream->sh_buf.buffer_sz)) in alsa_cap_copy_user()
[all …]
Dxen_snd_front.h38 struct xen_snd_front_shbuf *sh_buf,
Dxen_snd_front.c85 struct xen_snd_front_shbuf *sh_buf, in xen_snd_front_stream_prepare() argument
102 req->op.open.gref_directory = xen_snd_front_shbuf_get_dir_start(sh_buf); in xen_snd_front_stream_prepare()