linux/drivers/nfc/mei_phy.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2013, Intel Corporation.
 *
 * MEI Library for mei bus nfc device access
 */
#define pr_fmt(fmt)

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

#include "mei_phy.h"

struct mei_nfc_hdr {} __packed;

struct mei_nfc_cmd {} __packed;

struct mei_nfc_reply {} __packed;

struct mei_nfc_if_version {} __packed;

struct mei_nfc_connect {} __packed;

struct mei_nfc_connect_resp {} __packed;


#define MEI_NFC_CMD_MAINTENANCE
#define MEI_NFC_CMD_HCI_SEND
#define MEI_NFC_CMD_HCI_RECV

#define MEI_NFC_SUBCMD_CONNECT
#define MEI_NFC_SUBCMD_IF_VERSION

#define MEI_NFC_MAX_READ

#define MEI_DUMP_SKB_IN(info, skb)

#define MEI_DUMP_SKB_OUT(info, skb)

#define MEI_DUMP_NFC_HDR(info, _hdr)

static int mei_nfc_if_version(struct nfc_mei_phy *phy)
{}

static int mei_nfc_connect(struct nfc_mei_phy *phy)
{}

static int mei_nfc_send(struct nfc_mei_phy *phy, const u8 *buf, size_t length)
{}

/*
 * Writing a frame must not return the number of written bytes.
 * It must return either zero for success, or <0 for error.
 * In addition, it must not alter the skb
 */
static int nfc_mei_phy_write(void *phy_id, struct sk_buff *skb)
{}

static int mei_nfc_recv(struct nfc_mei_phy *phy, u8 *buf, size_t length)
{}


static void nfc_mei_rx_cb(struct mei_cl_device *cldev)
{}

static int nfc_mei_phy_enable(void *phy_id)
{}

static void nfc_mei_phy_disable(void *phy_id)
{}

const struct nfc_phy_ops mei_phy_ops =;
EXPORT_SYMBOL_GPL();

struct nfc_mei_phy *nfc_mei_phy_alloc(struct mei_cl_device *cldev)
{}
EXPORT_SYMBOL_GPL();

void nfc_mei_phy_free(struct nfc_mei_phy *phy)
{}
EXPORT_SYMBOL_GPL();

MODULE_LICENSE();
MODULE_DESCRIPTION();