#include <net/nfc/hci.h>
#include "st21nfca.h"
#define ST21NFCA_NFCIP1_INITIATOR …
#define ST21NFCA_NFCIP1_REQ …
#define ST21NFCA_NFCIP1_RES …
#define ST21NFCA_NFCIP1_ATR_REQ …
#define ST21NFCA_NFCIP1_ATR_RES …
#define ST21NFCA_NFCIP1_PSL_REQ …
#define ST21NFCA_NFCIP1_PSL_RES …
#define ST21NFCA_NFCIP1_DEP_REQ …
#define ST21NFCA_NFCIP1_DEP_RES …
#define ST21NFCA_NFC_DEP_PFB_PNI(pfb) …
#define ST21NFCA_NFC_DEP_PFB_TYPE(pfb) …
#define ST21NFCA_NFC_DEP_PFB_IS_TIMEOUT(pfb) …
#define ST21NFCA_NFC_DEP_DID_BIT_SET(pfb) …
#define ST21NFCA_NFC_DEP_NAD_BIT_SET(pfb) …
#define ST21NFCA_NFC_DEP_PFB_TIMEOUT_BIT …
#define ST21NFCA_NFC_DEP_PFB_IS_TIMEOUT(pfb) …
#define ST21NFCA_NFC_DEP_PFB_I_PDU …
#define ST21NFCA_NFC_DEP_PFB_ACK_NACK_PDU …
#define ST21NFCA_NFC_DEP_PFB_SUPERVISOR_PDU …
#define ST21NFCA_ATR_REQ_MIN_SIZE …
#define ST21NFCA_ATR_REQ_MAX_SIZE …
#define ST21NFCA_LR_BITS_PAYLOAD_SIZE_254B …
#define ST21NFCA_GB_BIT …
#define ST21NFCA_EVT_SEND_DATA …
#define ST21NFCA_EVT_FIELD_ON …
#define ST21NFCA_EVT_CARD_DEACTIVATED …
#define ST21NFCA_EVT_CARD_ACTIVATED …
#define ST21NFCA_EVT_FIELD_OFF …
#define ST21NFCA_EVT_CARD_F_BITRATE …
#define ST21NFCA_EVT_READER_F_BITRATE …
#define ST21NFCA_PSL_REQ_SEND_SPEED(brs) …
#define ST21NFCA_PSL_REQ_RECV_SPEED(brs) …
#define ST21NFCA_PP2LRI(pp) …
#define ST21NFCA_CARD_BITRATE_212 …
#define ST21NFCA_CARD_BITRATE_424 …
#define ST21NFCA_DEFAULT_TIMEOUT …
#define PROTOCOL_ERR(req) …
struct st21nfca_atr_req { … } __packed;
struct st21nfca_atr_res { … } __packed;
struct st21nfca_psl_req { … } __packed;
struct st21nfca_psl_res { … } __packed;
struct st21nfca_dep_req_res { … } __packed;
static void st21nfca_tx_work(struct work_struct *work)
{ … }
static void st21nfca_im_send_pdu(struct st21nfca_hci_info *info,
struct sk_buff *skb)
{ … }
static int st21nfca_tm_send_atr_res(struct nfc_hci_dev *hdev,
struct st21nfca_atr_req *atr_req)
{ … }
static int st21nfca_tm_recv_atr_req(struct nfc_hci_dev *hdev,
struct sk_buff *skb)
{ … }
static int st21nfca_tm_send_psl_res(struct nfc_hci_dev *hdev,
struct st21nfca_psl_req *psl_req)
{ … }
static int st21nfca_tm_recv_psl_req(struct nfc_hci_dev *hdev,
struct sk_buff *skb)
{ … }
int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb)
{ … }
EXPORT_SYMBOL(…);
static int st21nfca_tm_recv_dep_req(struct nfc_hci_dev *hdev,
struct sk_buff *skb)
{ … }
static int st21nfca_tm_event_send_data(struct nfc_hci_dev *hdev,
struct sk_buff *skb)
{ … }
int st21nfca_dep_event_received(struct nfc_hci_dev *hdev,
u8 event, struct sk_buff *skb)
{ … }
EXPORT_SYMBOL(…);
static void st21nfca_im_send_psl_req(struct nfc_hci_dev *hdev, u8 did, u8 bsi,
u8 bri, u8 lri)
{ … }
#define ST21NFCA_CB_TYPE_READER_F …
static void st21nfca_im_recv_atr_res_cb(void *context, struct sk_buff *skb,
int err)
{ … }
int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len)
{ … }
EXPORT_SYMBOL(…);
static void st21nfca_im_recv_dep_res_cb(void *context, struct sk_buff *skb,
int err)
{ … }
int st21nfca_im_send_dep_req(struct nfc_hci_dev *hdev, struct sk_buff *skb)
{ … }
EXPORT_SYMBOL(…);
void st21nfca_dep_init(struct nfc_hci_dev *hdev)
{ … }
EXPORT_SYMBOL(…);
void st21nfca_dep_deinit(struct nfc_hci_dev *hdev)
{ … }
EXPORT_SYMBOL(…);