virtio_pcm.h (da76e9f3e43a7195c69d370ee514cccae6517c76) virtio_pcm.h (19325fedf245ca932c58a629d3888a9a393534ab)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * virtio-snd: Virtio sound device
4 * Copyright (C) 2021 OpenSynergy GmbH
5 */
6#ifndef VIRTIO_SND_PCM_H
7#define VIRTIO_SND_PCM_H
8

--- 49 unchanged lines hidden (view full) ---

58 unsigned int msg_count;
59 wait_queue_head_t msg_empty;
60};
61
62/**
63 * struct virtio_pcm_stream - VirtIO PCM stream.
64 * @substreams: VirtIO substreams belonging to the stream.
65 * @nsubstreams: Number of substreams.
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * virtio-snd: Virtio sound device
4 * Copyright (C) 2021 OpenSynergy GmbH
5 */
6#ifndef VIRTIO_SND_PCM_H
7#define VIRTIO_SND_PCM_H
8

--- 49 unchanged lines hidden (view full) ---

58 unsigned int msg_count;
59 wait_queue_head_t msg_empty;
60};
61
62/**
63 * struct virtio_pcm_stream - VirtIO PCM stream.
64 * @substreams: VirtIO substreams belonging to the stream.
65 * @nsubstreams: Number of substreams.
66 * @chmaps: Kernel channel maps belonging to the stream.
67 * @nchmaps: Number of channel maps.
66 */
67struct virtio_pcm_stream {
68 struct virtio_pcm_substream **substreams;
69 u32 nsubstreams;
68 */
69struct virtio_pcm_stream {
70 struct virtio_pcm_substream **substreams;
71 u32 nsubstreams;
72 struct snd_pcm_chmap_elem *chmaps;
73 u32 nchmaps;
70};
71
72/**
73 * struct virtio_pcm - VirtIO PCM device.
74 * @list: VirtIO PCM list entry.
75 * @nid: Function group node identifier.
76 * @pcm: Kernel PCM device.
77 * @streams: VirtIO PCM streams (playback and capture).

--- 40 unchanged lines hidden ---
74};
75
76/**
77 * struct virtio_pcm - VirtIO PCM device.
78 * @list: VirtIO PCM list entry.
79 * @nid: Function group node identifier.
80 * @pcm: Kernel PCM device.
81 * @streams: VirtIO PCM streams (playback and capture).

--- 40 unchanged lines hidden ---