summaryrefslogtreecommitdiff
path: root/sound/xen/xen_snd_front.h
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2018-05-14 09:27:39 +0300
committerTakashi Iwai <tiwai@suse.de>2018-05-16 12:58:41 +0200
commit788ef64a2caee38cc4b8890abd3d7e54dfa3bcc9 (patch)
treed30d0a599df3ca130513ee7400ed266b8e4432d1 /sound/xen/xen_snd_front.h
parentfd3b36045c2c612b5f44a47f388677af256d1d0a (diff)
ALSA: xen-front: Implement Xen event channel handling
Handle Xen event channels: - create for all configured streams and publish corresponding ring references and event channels in Xen store, so backend can connect - implement event channels interrupt handlers - create and destroy event channels with respect to Xen bus state Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/xen/xen_snd_front.h')
-rw-r--r--sound/xen/xen_snd_front.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/xen/xen_snd_front.h b/sound/xen/xen_snd_front.h
index b52226cb30bc..9d0c92100c7b 100644
--- a/sound/xen/xen_snd_front.h
+++ b/sound/xen/xen_snd_front.h
@@ -13,9 +13,14 @@
#include "xen_snd_front_cfg.h"
+struct xen_snd_front_evtchnl_pair;
+
struct xen_snd_front_info {
struct xenbus_device *xb_dev;
+ int num_evt_pairs;
+ struct xen_snd_front_evtchnl_pair *evt_pairs;
+
struct xen_front_cfg_card cfg;
};