Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
udl_main.c File Reference
#include <drm/drmP.h>
#include "udl_drv.h"

Go to the source code of this file.

Macros

#define BULK_SIZE   512
 
#define MAX_TRANSFER   (PAGE_SIZE*16 - BULK_SIZE)
 
#define WRITES_IN_FLIGHT   (4)
 
#define MAX_VENDOR_DESCRIPTOR_SIZE   256
 
#define GET_URB_TIMEOUT   HZ
 
#define FREE_URB_TIMEOUT   (HZ*2)
 

Functions

void udl_urb_completion (struct urb *urb)
 
struct urbudl_get_urb (struct drm_device *dev)
 
int udl_submit_urb (struct drm_device *dev, struct urb *urb, size_t len)
 
int udl_driver_load (struct drm_device *dev, unsigned long flags)
 
int udl_drop_usb (struct drm_device *dev)
 
int udl_driver_unload (struct drm_device *dev)
 

Macro Definition Documentation

#define BULK_SIZE   512

Definition at line 17 of file udl_main.c.

#define FREE_URB_TIMEOUT   (HZ*2)

Definition at line 24 of file udl_main.c.

#define GET_URB_TIMEOUT   HZ

Definition at line 23 of file udl_main.c.

#define MAX_TRANSFER   (PAGE_SIZE*16 - BULK_SIZE)

Definition at line 19 of file udl_main.c.

#define MAX_VENDOR_DESCRIPTOR_SIZE   256

Definition at line 21 of file udl_main.c.

#define WRITES_IN_FLIGHT   (4)

Definition at line 20 of file udl_main.c.

Function Documentation

int udl_driver_load ( struct drm_device dev,
unsigned long  flags 
)

Definition at line 283 of file udl_main.c.

int udl_driver_unload ( struct drm_device dev)

Definition at line 324 of file udl_main.c.

int udl_drop_usb ( struct drm_device dev)

Definition at line 318 of file udl_main.c.

struct urb* udl_get_urb ( struct drm_device dev)
read

Definition at line 232 of file udl_main.c.

int udl_submit_urb ( struct drm_device dev,
struct urb urb,
size_t  len 
)

Definition at line 266 of file udl_main.c.

void udl_urb_completion ( struct urb urb)

Definition at line 101 of file udl_main.c.