Oleksandr Andrushchenko | cc3196ae1 | 2018-05-14 09:27:37 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 OR MIT */ |
| 2 | |
| 3 | /* |
| 4 | * Xen para-virtual sound device |
| 5 | * |
| 6 | * Copyright (C) 2016-2018 EPAM Systems Inc. |
| 7 | * |
| 8 | * Author: Oleksandr Andrushchenko <[email protected]> |
| 9 | */ |
| 10 | |
| 11 | #ifndef __XEN_SND_FRONT_H |
| 12 | #define __XEN_SND_FRONT_H |
| 13 | |
Oleksandr Andrushchenko | fd3b360 | 2018-05-14 09:27:38 +0300 | [diff] [blame] | 14 | #include "xen_snd_front_cfg.h" |
| 15 | |
Oleksandr Andrushchenko | 788ef64 | 2018-05-14 09:27:39 +0300 | [diff] [blame^] | 16 | struct xen_snd_front_evtchnl_pair; |
| 17 | |
Oleksandr Andrushchenko | cc3196ae1 | 2018-05-14 09:27:37 +0300 | [diff] [blame] | 18 | struct xen_snd_front_info { |
| 19 | struct xenbus_device *xb_dev; |
Oleksandr Andrushchenko | fd3b360 | 2018-05-14 09:27:38 +0300 | [diff] [blame] | 20 | |
Oleksandr Andrushchenko | 788ef64 | 2018-05-14 09:27:39 +0300 | [diff] [blame^] | 21 | int num_evt_pairs; |
| 22 | struct xen_snd_front_evtchnl_pair *evt_pairs; |
| 23 | |
Oleksandr Andrushchenko | fd3b360 | 2018-05-14 09:27:38 +0300 | [diff] [blame] | 24 | struct xen_front_cfg_card cfg; |
Oleksandr Andrushchenko | cc3196ae1 | 2018-05-14 09:27:37 +0300 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | #endif /* __XEN_SND_FRONT_H */ |