Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hci_uart.h File Reference

Go to the source code of this file.

Data Structures

struct  hci_uart_proto
 
struct  hci_uart
 

Macros

#define N_HCI   15
 
#define HCIUARTSETPROTO   _IOW('U', 200, int)
 
#define HCIUARTGETPROTO   _IOR('U', 201, int)
 
#define HCIUARTGETDEVICE   _IOR('U', 202, int)
 
#define HCIUARTSETFLAGS   _IOW('U', 203, int)
 
#define HCIUARTGETFLAGS   _IOR('U', 204, int)
 
#define HCI_UART_MAX_PROTO   6
 
#define HCI_UART_H4   0
 
#define HCI_UART_BCSP   1
 
#define HCI_UART_3WIRE   2
 
#define HCI_UART_H4DS   3
 
#define HCI_UART_LL   4
 
#define HCI_UART_ATH3K   5
 
#define HCI_UART_RAW_DEVICE   0
 
#define HCI_UART_RESET_ON_INIT   1
 
#define HCI_UART_CREATE_AMP   2
 
#define HCI_UART_INIT_PENDING   3
 
#define HCI_UART_PROTO_SET   0
 
#define HCI_UART_REGISTERED   1
 
#define HCI_UART_SENDING   1
 
#define HCI_UART_TX_WAKEUP   2
 

Functions

int hci_uart_register_proto (struct hci_uart_proto *p)
 
int hci_uart_unregister_proto (struct hci_uart_proto *p)
 
int hci_uart_tx_wakeup (struct hci_uart *hu)
 
int hci_uart_init_ready (struct hci_uart *hu)
 

Macro Definition Documentation

#define HCI_UART_3WIRE   2

Definition at line 42 of file hci_uart.h.

#define HCI_UART_ATH3K   5

Definition at line 45 of file hci_uart.h.

#define HCI_UART_BCSP   1

Definition at line 41 of file hci_uart.h.

#define HCI_UART_CREATE_AMP   2

Definition at line 49 of file hci_uart.h.

#define HCI_UART_H4   0

Definition at line 40 of file hci_uart.h.

#define HCI_UART_H4DS   3

Definition at line 43 of file hci_uart.h.

#define HCI_UART_INIT_PENDING   3

Definition at line 50 of file hci_uart.h.

#define HCI_UART_LL   4

Definition at line 44 of file hci_uart.h.

#define HCI_UART_MAX_PROTO   6

Definition at line 38 of file hci_uart.h.

#define HCI_UART_PROTO_SET   0

Definition at line 81 of file hci_uart.h.

#define HCI_UART_RAW_DEVICE   0

Definition at line 47 of file hci_uart.h.

#define HCI_UART_REGISTERED   1

Definition at line 82 of file hci_uart.h.

#define HCI_UART_RESET_ON_INIT   1

Definition at line 48 of file hci_uart.h.

#define HCI_UART_SENDING   1

Definition at line 85 of file hci_uart.h.

#define HCI_UART_TX_WAKEUP   2

Definition at line 86 of file hci_uart.h.

#define HCIUARTGETDEVICE   _IOR('U', 202, int)

Definition at line 33 of file hci_uart.h.

#define HCIUARTGETFLAGS   _IOR('U', 204, int)

Definition at line 35 of file hci_uart.h.

#define HCIUARTGETPROTO   _IOR('U', 201, int)

Definition at line 32 of file hci_uart.h.

#define HCIUARTSETFLAGS   _IOW('U', 203, int)

Definition at line 34 of file hci_uart.h.

#define HCIUARTSETPROTO   _IOW('U', 200, int)

Definition at line 31 of file hci_uart.h.

#define N_HCI   15

Definition at line 27 of file hci_uart.h.

Function Documentation

int hci_uart_init_ready ( struct hci_uart hu)

Definition at line 178 of file hci_ldisc.c.

int hci_uart_register_proto ( struct hci_uart_proto p)

Definition at line 53 of file hci_ldisc.c.

int hci_uart_tx_wakeup ( struct hci_uart hu)

Definition at line 119 of file hci_ldisc.c.

int hci_uart_unregister_proto ( struct hci_uart_proto p)

Definition at line 66 of file hci_ldisc.c.