#include <linux/module.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/of_gpio.h>
#include <linux/nfc.h>
#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>
#include "nfcmrvl.h"
static int nfcmrvl_nci_open(struct nci_dev *ndev)
{ … }
static int nfcmrvl_nci_close(struct nci_dev *ndev)
{ … }
static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb)
{ … }
static int nfcmrvl_nci_setup(struct nci_dev *ndev)
{ … }
static int nfcmrvl_nci_fw_download(struct nci_dev *ndev,
const char *firmware_name)
{ … }
static const struct nci_ops nfcmrvl_nci_ops = …;
struct nfcmrvl_private *nfcmrvl_nci_register_dev(enum nfcmrvl_phy phy,
void *drv_data,
const struct nfcmrvl_if_ops *ops,
struct device *dev,
const struct nfcmrvl_platform_data *pdata)
{ … }
EXPORT_SYMBOL_GPL(…);
void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv)
{ … }
EXPORT_SYMBOL_GPL(…);
int nfcmrvl_nci_recv_frame(struct nfcmrvl_private *priv, struct sk_buff *skb)
{ … }
EXPORT_SYMBOL_GPL(…);
void nfcmrvl_chip_reset(struct nfcmrvl_private *priv)
{ … }
void nfcmrvl_chip_halt(struct nfcmrvl_private *priv)
{ … }
int nfcmrvl_parse_dt(struct device_node *node,
struct nfcmrvl_platform_data *pdata)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;