Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hcp.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <net/nfc/hci.h>
#include "hci.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "hci: %s: " fmt, __func__
 

Functions

int nfc_hci_hcp_message_tx (struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, const u8 *payload, size_t payload_len, data_exchange_cb_t cb, void *cb_context, unsigned long completion_delay)
 
u8 nfc_hci_pipe2gate (struct nfc_hci_dev *hdev, u8 pipe)
 
void nfc_hci_hcp_message_rx (struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, struct sk_buff *skb)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "hci: %s: " fmt, __func__

Definition at line 20 of file hcp.c.

Function Documentation

void nfc_hci_hcp_message_rx ( struct nfc_hci_dev hdev,
u8  pipe,
u8  type,
u8  instruction,
struct sk_buff skb 
)

Definition at line 137 of file hcp.c.

int nfc_hci_hcp_message_tx ( struct nfc_hci_dev hdev,
u8  pipe,
u8  type,
u8  instruction,
const u8 payload,
size_t  payload_len,
data_exchange_cb_t  cb,
void cb_context,
unsigned long  completion_delay 
)

Definition at line 35 of file hcp.c.

u8 nfc_hci_pipe2gate ( struct nfc_hci_dev hdev,
u8  pipe 
)

Definition at line 122 of file hcp.c.