mirror of
https://github.com/ziglang/zig.git
synced 2025-12-08 15:23:14 +00:00
* Add missing Linux headers. Closes #9837 * Update existing headers to latest Linux. * Consolidate headers that are the same for multiple Zig target CPU architectures. For example, Linux has only an x86 directory for both x86_64 and x86 CPU architectures. Now Zig only ships an x86 directory for Linux headers, and will emit the proper corresponding -isystem flags. * tools/update-linux-headers.zig is now available for upgrading to newer Linux headers, and the update process is now documented on the wiki.
31 lines
771 B
C
Vendored
31 lines
771 B
C
Vendored
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
|
|
#ifndef _LINUX_VIRTIO_BT_H
|
|
#define _LINUX_VIRTIO_BT_H
|
|
|
|
#include <linux/virtio_types.h>
|
|
|
|
/* Feature bits */
|
|
#define VIRTIO_BT_F_VND_HCI 0 /* Indicates vendor command support */
|
|
#define VIRTIO_BT_F_MSFT_EXT 1 /* Indicates MSFT vendor support */
|
|
#define VIRTIO_BT_F_AOSP_EXT 2 /* Indicates AOSP vendor support */
|
|
|
|
enum virtio_bt_config_type {
|
|
VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
|
|
VIRTIO_BT_CONFIG_TYPE_AMP = 1,
|
|
};
|
|
|
|
enum virtio_bt_config_vendor {
|
|
VIRTIO_BT_CONFIG_VENDOR_NONE = 0,
|
|
VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1,
|
|
VIRTIO_BT_CONFIG_VENDOR_INTEL = 2,
|
|
VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3,
|
|
};
|
|
|
|
struct virtio_bt_config {
|
|
__u8 type;
|
|
__u16 vendor;
|
|
__u16 msft_opcode;
|
|
} __attribute__((packed));
|
|
|
|
#endif /* _LINUX_VIRTIO_BT_H */ |