Linux Kernel
3.7.1
|
#include <linux/kthread.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <net/bluetooth/bluetooth.h>
Go to the source code of this file.
Data Structures | |
struct | btmrvl_thread |
struct | btmrvl_device |
struct | btmrvl_adapter |
struct | btmrvl_private |
struct | btmrvl_cmd |
struct | btmrvl_event |
Macros | |
#define | BTM_HEADER_LEN 4 |
#define | BTM_UPLD_SIZE 2312 |
#define | WAIT_UNTIL_HS_STATE_CHANGED 5000 |
#define | WAIT_UNTIL_CMD_RESP 5000 |
#define | MRVL_VENDOR_PKT 0xFE |
#define | BT_CMD_AUTO_SLEEP_MODE 0x23 |
#define | BT_CMD_HOST_SLEEP_CONFIG 0x59 |
#define | BT_CMD_HOST_SLEEP_ENABLE 0x5A |
#define | BT_CMD_MODULE_CFG_REQ 0x5B |
#define | MODULE_BRINGUP_REQ 0xF1 |
#define | MODULE_BROUGHT_UP 0x00 |
#define | MODULE_ALREADY_UP 0x0C |
#define | MODULE_SHUTDOWN_REQ 0xF2 |
#define | BT_EVENT_POWER_STATE 0x20 |
#define | BT_PS_ENABLE 0x02 |
#define | BT_PS_DISABLE 0x03 |
#define | BT_PS_SLEEP 0x01 |
#define | OGF 0x3F |
#define | HS_ACTIVATED 0x01 |
#define | HS_DEACTIVATED 0x00 |
#define | PS_SLEEP 0x01 |
#define | PS_AWAKE 0x00 |
Variables | |
struct btmrvl_cmd | __packed |
#define BT_CMD_AUTO_SLEEP_MODE 0x23 |
Definition at line 90 of file btmrvl_drv.h.
#define BT_CMD_HOST_SLEEP_CONFIG 0x59 |
Definition at line 91 of file btmrvl_drv.h.
#define BT_CMD_HOST_SLEEP_ENABLE 0x5A |
Definition at line 92 of file btmrvl_drv.h.
#define BT_CMD_MODULE_CFG_REQ 0x5B |
Definition at line 93 of file btmrvl_drv.h.
#define BT_EVENT_POWER_STATE 0x20 |
Definition at line 102 of file btmrvl_drv.h.
#define BT_PS_DISABLE 0x03 |
Definition at line 106 of file btmrvl_drv.h.
#define BT_PS_ENABLE 0x02 |
Definition at line 105 of file btmrvl_drv.h.
#define BT_PS_SLEEP 0x01 |
Definition at line 107 of file btmrvl_drv.h.
#define BTM_HEADER_LEN 4 |
Definition at line 27 of file btmrvl_drv.h.
#define BTM_UPLD_SIZE 2312 |
Definition at line 28 of file btmrvl_drv.h.
#define HS_ACTIVATED 0x01 |
Definition at line 112 of file btmrvl_drv.h.
#define HS_DEACTIVATED 0x00 |
Definition at line 113 of file btmrvl_drv.h.
#define MODULE_ALREADY_UP 0x0C |
Definition at line 98 of file btmrvl_drv.h.
#define MODULE_BRINGUP_REQ 0xF1 |
Definition at line 96 of file btmrvl_drv.h.
#define MODULE_BROUGHT_UP 0x00 |
Definition at line 97 of file btmrvl_drv.h.
#define MODULE_SHUTDOWN_REQ 0xF2 |
Definition at line 100 of file btmrvl_drv.h.
#define MRVL_VENDOR_PKT 0xFE |
Definition at line 87 of file btmrvl_drv.h.
#define OGF 0x3F |
Definition at line 109 of file btmrvl_drv.h.
#define PS_AWAKE 0x00 |
Definition at line 117 of file btmrvl_drv.h.
#define PS_SLEEP 0x01 |
Definition at line 116 of file btmrvl_drv.h.
#define WAIT_UNTIL_CMD_RESP 5000 |
Definition at line 33 of file btmrvl_drv.h.
#define WAIT_UNTIL_HS_STATE_CHANGED 5000 |
Definition at line 31 of file btmrvl_drv.h.
|
read |
Definition at line 607 of file btmrvl_main.c.
bool btmrvl_check_evtpkt | ( | struct btmrvl_private * | priv, |
struct sk_buff * | skb | ||
) |
Definition at line 47 of file btmrvl_main.c.
int btmrvl_enable_hs | ( | struct btmrvl_private * | priv | ) |
Definition at line 277 of file btmrvl_main.c.
int btmrvl_enable_ps | ( | struct btmrvl_private * | priv | ) |
Definition at line 245 of file btmrvl_main.c.
void btmrvl_interrupt | ( | struct btmrvl_private * | priv | ) |
Definition at line 35 of file btmrvl_main.c.
int btmrvl_prepare_command | ( | struct btmrvl_private * | priv | ) |
Definition at line 315 of file btmrvl_main.c.
int btmrvl_process_event | ( | struct btmrvl_private * | priv, |
struct sk_buff * | skb | ||
) |
Definition at line 79 of file btmrvl_main.c.
int btmrvl_register_hdev | ( | struct btmrvl_private * | priv | ) |
Definition at line 556 of file btmrvl_main.c.
int btmrvl_remove_card | ( | struct btmrvl_private * | priv | ) |
Definition at line 646 of file btmrvl_main.c.
int btmrvl_send_hscfg_cmd | ( | struct btmrvl_private * | priv | ) |
Definition at line 215 of file btmrvl_main.c.
int btmrvl_send_module_cfg_cmd | ( | struct btmrvl_private * | priv, |
int | subcmd | ||
) |
Definition at line 171 of file btmrvl_main.c.