Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
btsdio.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/mmc/sdio_func.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>

Go to the source code of this file.

Data Structures

struct  btsdio_data
 

Macros

#define VERSION   "0.1"
 
#define REG_RDAT   0x00 /* Receiver Data */
 
#define REG_TDAT   0x00 /* Transmitter Data */
 
#define REG_PC_RRT   0x10 /* Read Packet Control */
 
#define REG_PC_WRT   0x11 /* Write Packet Control */
 
#define REG_RTC_STAT   0x12 /* Retry Control Status */
 
#define REG_RTC_SET   0x12 /* Retry Control Set */
 
#define REG_INTRD   0x13 /* Interrupt Indication */
 
#define REG_CL_INTRD   0x13 /* Interrupt Clear */
 
#define REG_EN_INTRD   0x14 /* Interrupt Enable */
 
#define REG_MD_STAT   0x20 /* Bluetooth Mode Status */
 

Functions

 MODULE_DEVICE_TABLE (sdio, btsdio_table)
 
 module_init (btsdio_init)
 
 module_exit (btsdio_exit)
 
 MODULE_AUTHOR ("Marcel Holtmann <[email protected]>")
 
 MODULE_DESCRIPTION ("Generic Bluetooth SDIO driver ver "VERSION)
 
 MODULE_VERSION (VERSION)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define REG_CL_INTRD   0x13 /* Interrupt Clear */

Definition at line 73 of file btsdio.c.

#define REG_EN_INTRD   0x14 /* Interrupt Enable */

Definition at line 74 of file btsdio.c.

#define REG_INTRD   0x13 /* Interrupt Indication */

Definition at line 72 of file btsdio.c.

#define REG_MD_STAT   0x20 /* Bluetooth Mode Status */

Definition at line 75 of file btsdio.c.

#define REG_PC_RRT   0x10 /* Read Packet Control */

Definition at line 68 of file btsdio.c.

#define REG_PC_WRT   0x11 /* Write Packet Control */

Definition at line 69 of file btsdio.c.

#define REG_RDAT   0x00 /* Receiver Data */

Definition at line 66 of file btsdio.c.

#define REG_RTC_SET   0x12 /* Retry Control Set */

Definition at line 71 of file btsdio.c.

#define REG_RTC_STAT   0x12 /* Retry Control Status */

Definition at line 70 of file btsdio.c.

#define REG_TDAT   0x00 /* Transmitter Data */

Definition at line 67 of file btsdio.c.

#define VERSION   "0.1"

Definition at line 40 of file btsdio.c.

Function Documentation

MODULE_AUTHOR ( "Marcel Holtmann <[email protected]>"  )
MODULE_DESCRIPTION ( "Generic Bluetooth SDIO driver ver VERSION)
MODULE_DEVICE_TABLE ( sdio  ,
btsdio_table   
)
module_exit ( btsdio_exit  )
module_init ( btsdio_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( VERSION  )