Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / virtio_bt.h
blob3cc7d633456b6b446b3b35bb8f9999d87da496f6
1 /* SPDX-License-Identifier: BSD-3-Clause */
3 #ifndef _UAPI_LINUX_VIRTIO_BT_H
4 #define _UAPI_LINUX_VIRTIO_BT_H
6 #include <linux/virtio_types.h>
8 /* Feature bits */
9 #define VIRTIO_BT_F_VND_HCI 0 /* Indicates vendor command support */
10 #define VIRTIO_BT_F_MSFT_EXT 1 /* Indicates MSFT vendor support */
11 #define VIRTIO_BT_F_AOSP_EXT 2 /* Indicates AOSP vendor support */
12 #define VIRTIO_BT_F_CONFIG_V2 3 /* Use second version configuration */
14 enum virtio_bt_config_type {
15 VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
18 enum virtio_bt_config_vendor {
19 VIRTIO_BT_CONFIG_VENDOR_NONE = 0,
20 VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1,
21 VIRTIO_BT_CONFIG_VENDOR_INTEL = 2,
22 VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3,
25 struct virtio_bt_config {
26 __u8 type;
27 __u16 vendor;
28 __u16 msft_opcode;
29 } __attribute__((packed));
31 struct virtio_bt_config_v2 {
32 __u8 type;
33 __u8 alignment;
34 __u16 vendor;
35 __u16 msft_opcode;
38 #endif /* _UAPI_LINUX_VIRTIO_BT_H */