linux/drivers/bluetooth/btmrvl_main.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Marvell Bluetooth driver
 *
 * Copyright (C) 2009, Marvell International Ltd.
 **/

#include <linux/module.h>
#include <linux/of.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include <linux/mmc/sdio_func.h>

#include "btmrvl_drv.h"
#include "btmrvl_sdio.h"

#define VERSION

/*
 * This function is called by interface specific interrupt handler.
 * It updates Power Save & Host Sleep states, and wakes up the main
 * thread.
 */
void btmrvl_interrupt(struct btmrvl_private *priv)
{}
EXPORT_SYMBOL_GPL();

bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb)
{}
EXPORT_SYMBOL_GPL();

int btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb)
{}
EXPORT_SYMBOL_GPL();

static int btmrvl_send_sync_cmd(struct btmrvl_private *priv, u16 opcode,
				const void *param, u8 len)
{}

int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd)
{}
EXPORT_SYMBOL_GPL();

static int btmrvl_enable_sco_routing_to_host(struct btmrvl_private *priv)
{}

int btmrvl_pscan_window_reporting(struct btmrvl_private *priv, u8 subcmd)
{}
EXPORT_SYMBOL_GPL();

int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv)
{}
EXPORT_SYMBOL_GPL();

int btmrvl_enable_ps(struct btmrvl_private *priv)
{}
EXPORT_SYMBOL_GPL();

int btmrvl_enable_hs(struct btmrvl_private *priv)
{}
EXPORT_SYMBOL_GPL();

int btmrvl_prepare_command(struct btmrvl_private *priv)
{}

static int btmrvl_tx_pkt(struct btmrvl_private *priv, struct sk_buff *skb)
{}

static void btmrvl_init_adapter(struct btmrvl_private *priv)
{}

static void btmrvl_free_adapter(struct btmrvl_private *priv)
{}

static int btmrvl_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
{}

static int btmrvl_flush(struct hci_dev *hdev)
{}

static int btmrvl_close(struct hci_dev *hdev)
{}

static int btmrvl_open(struct hci_dev *hdev)
{}

static int btmrvl_download_cal_data(struct btmrvl_private *priv,
				    u8 *data, int len)
{}

static int btmrvl_check_device_tree(struct btmrvl_private *priv)
{}

static int btmrvl_setup(struct hci_dev *hdev)
{}

static int btmrvl_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr)
{}

static bool btmrvl_wakeup(struct hci_dev *hdev)
{}

/*
 * This function handles the event generated by firmware, rx data
 * received from firmware, and tx data sent from kernel.
 */
static int btmrvl_service_main_thread(void *data)
{}

int btmrvl_register_hdev(struct btmrvl_private *priv)
{}
EXPORT_SYMBOL_GPL();

struct btmrvl_private *btmrvl_add_card(void *card)
{}
EXPORT_SYMBOL_GPL();

int btmrvl_remove_card(struct btmrvl_private *priv)
{}
EXPORT_SYMBOL_GPL();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_VERSION();
MODULE_LICENSE();