linux/drivers/nfc/nxp-nci/core.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Generic driver for NXP NCI NFC chips
 *
 * Copyright (C) 2014  NXP Semiconductors  All rights reserved.
 *
 * Authors: Clément Perrochaud <[email protected]>
 *
 * Derived from PN544 device driver:
 * Copyright (C) 2012  Intel Corporation. All rights reserved.
 */

#include <linux/delay.h>
#include <linux/module.h>
#include <linux/nfc.h>

#include <net/nfc/nci_core.h>

#include "nxp-nci.h"

#define NXP_NCI_HDR_LEN

#define NXP_NCI_NFC_PROTOCOLS

#define NXP_NCI_RF_PLL_UNLOCKED_NTF
#define NXP_NCI_RF_TXLDO_ERROR_NTF

static int nxp_nci_open(struct nci_dev *ndev)
{}

static int nxp_nci_close(struct nci_dev *ndev)
{}

static int nxp_nci_send(struct nci_dev *ndev, struct sk_buff *skb)
{}

static int nxp_nci_rf_pll_unlocked_ntf(struct nci_dev *ndev,
				       struct sk_buff *skb)
{}

static int nxp_nci_rf_txldo_error_ntf(struct nci_dev *ndev,
				      struct sk_buff *skb)
{}

static const struct nci_driver_ops nxp_nci_core_ops[] =;

static const struct nci_ops nxp_nci_ops =;

int nxp_nci_probe(void *phy_id, struct device *pdev,
		  const struct nxp_nci_phy_ops *phy_ops,
		  unsigned int max_payload,
		  struct nci_dev **ndev)
{}
EXPORT_SYMBOL();

void nxp_nci_remove(struct nci_dev *ndev)
{}
EXPORT_SYMBOL();

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_AUTHOR();