linux/drivers/usb/usbip/vudc_tx.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2015 Karol Kosik <[email protected]>
 * Copyright (C) 2015-2016 Samsung Electronics
 *               Igor Kotrasinski <[email protected]>
 */

#include <net/sock.h>
#include <linux/list.h>
#include <linux/kthread.h>

#include "usbip_common.h"
#include "vudc.h"

static inline void setup_base_pdu(struct usbip_header_basic *base,
				  __u32 command, __u32 seqnum)
{}

static void setup_ret_submit_pdu(struct usbip_header *rpdu, struct urbp *urb_p)
{}

static void setup_ret_unlink_pdu(struct usbip_header *rpdu,
				 struct v_unlink *unlink)
{}

static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink)
{}

static int v_send_ret_submit(struct vudc *udc, struct urbp *urb_p)
{}

static int v_send_ret(struct vudc *udc)
{}


int v_tx_loop(void *data)
{}

/* called with spinlocks held */
void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status)
{}

/* called with spinlocks held */
void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p)
{}