#include <linux/kthread.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <net/bluetooth/bluetooth.h>
#include <linux/err.h>
#include <linux/gfp.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/of_irq.h>
#define BTM_HEADER_LEN …
#define BTM_UPLD_SIZE …
#define WAIT_UNTIL_HS_STATE_CHANGED …
#define WAIT_UNTIL_CMD_RESP …
enum rdwr_status { … };
#define FW_DUMP_MAX_NAME_LEN …
#define FW_DUMP_HOST_READY …
#define FW_DUMP_DONE …
#define FW_DUMP_READ_DONE …
struct memory_type_mapping { … };
struct btmrvl_thread { … };
struct btmrvl_device { … };
struct btmrvl_adapter { … };
struct btmrvl_private { … };
#define MRVL_VENDOR_PKT …
#define BT_CMD_PSCAN_WIN_REPORT_ENABLE …
#define BT_CMD_ROUTE_SCO_TO_HOST …
#define BT_CMD_SET_BDADDR …
#define BT_CMD_AUTO_SLEEP_MODE …
#define BT_CMD_HOST_SLEEP_CONFIG …
#define BT_CMD_HOST_SLEEP_ENABLE …
#define BT_CMD_MODULE_CFG_REQ …
#define BT_CMD_LOAD_CONFIG_DATA …
#define MODULE_BRINGUP_REQ …
#define MODULE_BROUGHT_UP …
#define MODULE_ALREADY_UP …
#define MODULE_SHUTDOWN_REQ …
#define BT_EVENT_AUTO_SLEEP_MODE …
#define BT_EVENT_HOST_SLEEP_CONFIG …
#define BT_EVENT_HOST_SLEEP_ENABLE …
#define BT_EVENT_MODULE_CFG_REQ …
#define BT_EVENT_POWER_STATE …
#define BT_PS_ENABLE …
#define BT_PS_DISABLE …
#define BT_PS_SLEEP …
#define HS_ACTIVATED …
#define HS_DEACTIVATED …
#define PS_SLEEP …
#define PS_AWAKE …
#define BT_CAL_HDR_LEN …
#define BT_CAL_DATA_SIZE …
struct btmrvl_event { … } __packed;
int btmrvl_register_hdev(struct btmrvl_private *priv);
struct btmrvl_private *btmrvl_add_card(void *card);
int btmrvl_remove_card(struct btmrvl_private *priv);
void btmrvl_interrupt(struct btmrvl_private *priv);
bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb);
int btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb);
int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd);
int btmrvl_pscan_window_reporting(struct btmrvl_private *priv, u8 subcmd);
int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv);
int btmrvl_enable_ps(struct btmrvl_private *priv);
int btmrvl_prepare_command(struct btmrvl_private *priv);
int btmrvl_enable_hs(struct btmrvl_private *priv);
#ifdef CONFIG_DEBUG_FS
void btmrvl_debugfs_init(struct hci_dev *hdev);
void btmrvl_debugfs_remove(struct hci_dev *hdev);
#endif