summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btbcm.h
diff options
context:
space:
mode:
authorIlya Faenson <ifaenson@broadcom.com>2015-06-17 17:42:46 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-17 18:56:53 +0200
commit40db5f0eddbee3d2a9a05a3b5dc20368cb65ca0f (patch)
tree31427e6117c9fcfb4b3c661e826b364b2973919a /drivers/bluetooth/btbcm.h
parentmac802154: iface: cleanup stack variable (diff)
downloadlinux-40db5f0eddbee3d2a9a05a3b5dc20368cb65ca0f.tar.xz
linux-40db5f0eddbee3d2a9a05a3b5dc20368cb65ca0f.zip
Bluetooth: btbcm: Support the BCM4354 Bluetooth UART device
Support the BCM4354 chip and introduce vendor specific command parameter definitions. Signed-off-by: Ilya Faenson <ifaenson@broadcom.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btbcm.h')
-rw-r--r--drivers/bluetooth/btbcm.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/bluetooth/btbcm.h b/drivers/bluetooth/btbcm.h
index 02f5f9665411..d9e6b41658e5 100644
--- a/drivers/bluetooth/btbcm.h
+++ b/drivers/bluetooth/btbcm.h
@@ -33,6 +33,37 @@ struct bcm_write_uart_clock_setting {
__u8 type;
} __packed;
+struct bcm_set_sleep_mode {
+ __u8 sleep_mode;
+ __u8 idle_host;
+ __u8 idle_dev;
+ __u8 bt_wake_active;
+ __u8 host_wake_active;
+ __u8 allow_host_sleep;
+ __u8 combine_modes;
+ __u8 tristate_control;
+ __u8 usb_auto_sleep;
+ __u8 usb_resume_timeout;
+ __u8 pulsed_host_wake;
+ __u8 break_to_host;
+} __packed;
+
+struct bcm_set_pcm_int_params {
+ __u8 routing;
+ __u8 rate;
+ __u8 frame_sync;
+ __u8 sync_mode;
+ __u8 clock_mode;
+} __packed;
+
+struct bcm_set_pcm_format_params {
+ __u8 lsb_first;
+ __u8 fill_value;
+ __u8 fill_method;
+ __u8 fill_num;
+ __u8 right_justify;
+} __packed;
+
#if IS_ENABLED(CONFIG_BT_BCM)
int btbcm_check_bdaddr(struct hci_dev *hdev);