#define pr_fmt(fmt) …
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <net/nfc/hci.h>
#include "hci.h"
#define MAX_FWI …
static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
const u8 *param, size_t param_len,
data_exchange_cb_t cb, void *cb_context)
{ … }
static void nfc_hci_execute_cb(void *context, struct sk_buff *skb, int err)
{ … }
static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
const u8 *param, size_t param_len,
struct sk_buff **skb)
{ … }
int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event,
const u8 *param, size_t param_len)
{ … }
EXPORT_SYMBOL(…);
int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd,
const u8 *param, size_t param_len, struct sk_buff **skb)
{ … }
EXPORT_SYMBOL(…);
int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd,
const u8 *param, size_t param_len,
data_exchange_cb_t cb, void *cb_context)
{ … }
EXPORT_SYMBOL(…);
int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx,
const u8 *param, size_t param_len)
{ … }
EXPORT_SYMBOL(…);
int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx,
struct sk_buff **skb)
{ … }
EXPORT_SYMBOL(…);
static int nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe)
{ … }
static int nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe)
{ … }
static u8 nfc_hci_create_pipe(struct nfc_hci_dev *hdev, u8 dest_host,
u8 dest_gate, int *result)
{ … }
static int nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe)
{ … }
static int nfc_hci_clear_all_pipes(struct nfc_hci_dev *hdev)
{ … }
int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate)
{ … }
EXPORT_SYMBOL(…);
int nfc_hci_disconnect_all_gates(struct nfc_hci_dev *hdev)
{ … }
EXPORT_SYMBOL(…);
int nfc_hci_connect_gate(struct nfc_hci_dev *hdev, u8 dest_host, u8 dest_gate,
u8 pipe)
{ … }
EXPORT_SYMBOL(…);