linux/drivers/media/usb/dvb-usb-v2/usb_urb.c

// SPDX-License-Identifier: GPL-2.0
/* usb-urb.c is part of the DVB USB library.
 *
 * Copyright (C) 2004-6 Patrick Boettcher ([email protected])
 * see dvb-usb-init.c for copyright information.
 *
 * This file keeps functions for initializing and handling the
 * BULK and ISOC USB data transfers in a generic way.
 * Can be used for DVB-only and also, that's the plan, for
 * Hybrid USB devices (analog and DVB).
 */
#include "dvb_usb_common.h"

/* URB stuff for streaming */

int usb_urb_reconfig(struct usb_data_stream *stream,
		struct usb_data_stream_properties *props);

static void usb_urb_complete(struct urb *urb)
{}

int usb_urb_killv2(struct usb_data_stream *stream)
{}

int usb_urb_submitv2(struct usb_data_stream *stream,
		struct usb_data_stream_properties *props)
{}

static int usb_urb_free_urbs(struct usb_data_stream *stream)
{}

static int usb_urb_alloc_bulk_urbs(struct usb_data_stream *stream)
{}

static int usb_urb_alloc_isoc_urbs(struct usb_data_stream *stream)
{}

static int usb_free_stream_buffers(struct usb_data_stream *stream)
{}

static int usb_alloc_stream_buffers(struct usb_data_stream *stream, int num,
				    unsigned long size)
{}

int usb_urb_reconfig(struct usb_data_stream *stream,
		struct usb_data_stream_properties *props)
{}

int usb_urb_initv2(struct usb_data_stream *stream,
		const struct usb_data_stream_properties *props)
{}

int usb_urb_exitv2(struct usb_data_stream *stream)
{}