#include <drm/drm.h>
#include <drm/drm_print.h>
#include <drm/drm_probe_helper.h>
#include "udl_drv.h"
#define BULK_SIZE …
#define NR_USB_REQUEST_CHANNEL …
#define MAX_TRANSFER …
#define WRITES_IN_FLIGHT …
#define MAX_VENDOR_DESCRIPTOR_SIZE …
static struct urb *udl_get_urb_locked(struct udl_device *udl, long timeout);
static int udl_parse_vendor_descriptor(struct udl_device *udl)
{ … }
int udl_select_std_channel(struct udl_device *udl)
{ … }
void udl_urb_completion(struct urb *urb)
{ … }
static void udl_free_urb_list(struct drm_device *dev)
{ … }
static int udl_alloc_urb_list(struct drm_device *dev, int count, size_t size)
{ … }
static struct urb *udl_get_urb_locked(struct udl_device *udl, long timeout)
{ … }
#define GET_URB_TIMEOUT …
struct urb *udl_get_urb(struct drm_device *dev)
{ … }
int udl_submit_urb(struct drm_device *dev, struct urb *urb, size_t len)
{ … }
void udl_sync_pending_urbs(struct drm_device *dev)
{ … }
int udl_init(struct udl_device *udl)
{ … }
int udl_drop_usb(struct drm_device *dev)
{ … }