linux/drivers/media/usb/dvb-usb/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 */
static void usb_urb_complete(struct urb *urb)
{}

int usb_urb_kill(struct usb_data_stream *stream)
{}

int usb_urb_submit(struct usb_data_stream *stream)
{}

static int usb_free_stream_buffers(struct usb_data_stream *stream)
{}

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

static int usb_bulk_urb_init(struct usb_data_stream *stream)
{}

static int usb_isoc_urb_init(struct usb_data_stream *stream)
{}

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

int usb_urb_exit(struct usb_data_stream *stream)
{}