linux/drivers/nfc/nfcmrvl/usb.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Marvell NFC-over-USB driver: USB interface related functions
 *
 * Copyright (C) 2014, Marvell International Ltd.
 */

#include <linux/module.h>
#include <linux/usb.h>
#include <linux/nfc.h>
#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>
#include "nfcmrvl.h"

static struct usb_device_id nfcmrvl_table[] =;

MODULE_DEVICE_TABLE(usb, nfcmrvl_table);

#define NFCMRVL_USB_BULK_RUNNING
#define NFCMRVL_USB_SUSPENDING

struct nfcmrvl_usb_drv_data {};

static int nfcmrvl_inc_tx(struct nfcmrvl_usb_drv_data *drv_data)
{}

static void nfcmrvl_bulk_complete(struct urb *urb)
{}

static int
nfcmrvl_submit_bulk_urb(struct nfcmrvl_usb_drv_data *drv_data, gfp_t mem_flags)
{}

static void nfcmrvl_tx_complete(struct urb *urb)
{}

static int nfcmrvl_usb_nci_open(struct nfcmrvl_private *priv)
{}

static void nfcmrvl_usb_stop_traffic(struct nfcmrvl_usb_drv_data *drv_data)
{}

static int nfcmrvl_usb_nci_close(struct nfcmrvl_private *priv)
{}

static int nfcmrvl_usb_nci_send(struct nfcmrvl_private *priv,
				struct sk_buff *skb)
{}

static const struct nfcmrvl_if_ops usb_ops =;

static void nfcmrvl_waker(struct work_struct *work)
{}

static int nfcmrvl_probe(struct usb_interface *intf,
			 const struct usb_device_id *id)
{}

static void nfcmrvl_disconnect(struct usb_interface *intf)
{}

#ifdef CONFIG_PM
static int nfcmrvl_suspend(struct usb_interface *intf, pm_message_t message)
{}

static void nfcmrvl_play_deferred(struct nfcmrvl_usb_drv_data *drv_data)
{}

static int nfcmrvl_resume(struct usb_interface *intf)
{}
#endif

static struct usb_driver nfcmrvl_usb_driver =;
module_usb_driver();

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