Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
udlfb.h File Reference

Go to the source code of this file.

Data Structures

struct  dloarea
 
struct  urb_node
 
struct  urb_list
 
struct  dlfb_data
 

Macros

#define DLFB_IOCTL_RETURN_EDID   0xAD
 
#define DLFB_IOCTL_REPORT_DAMAGE   0xAA
 
#define NR_USB_REQUEST_I2C_SUB_IO   0x02
 
#define NR_USB_REQUEST_CHANNEL   0x12
 
#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)
 
#define BPP   2
 
#define MAX_CMD_PIXELS   255
 
#define RLX_HEADER_BYTES   7
 
#define MIN_RLX_PIX_BYTES   4
 
#define MIN_RLX_CMD_BYTES   (RLX_HEADER_BYTES + MIN_RLX_PIX_BYTES)
 
#define RLE_HEADER_BYTES   6
 
#define MIN_RLE_PIX_BYTES   3
 
#define MIN_RLE_CMD_BYTES   (RLE_HEADER_BYTES + MIN_RLE_PIX_BYTES)
 
#define RAW_HEADER_BYTES   6
 
#define MIN_RAW_PIX_BYTES   2
 
#define MIN_RAW_CMD_BYTES   (RAW_HEADER_BYTES + MIN_RAW_PIX_BYTES)
 
#define DL_DEFIO_WRITE_DELAY   5 /* fb_deferred_io.delay in jiffies */
 
#define DL_DEFIO_WRITE_DISABLE   (HZ*60) /* "disable" with long delay */
 
#define DL_ALIGN_UP(x, a)   ALIGN(x, a)
 
#define DL_ALIGN_DOWN(x, a)   ALIGN(x-(a-1), a)
 

Macro Definition Documentation

#define BPP   2

Definition at line 75 of file udlfb.h.

#define BULK_SIZE   512

Definition at line 66 of file udlfb.h.

#define DL_ALIGN_DOWN (   x,
  a 
)    ALIGN(x-(a-1), a)

Definition at line 95 of file udlfb.h.

#define DL_ALIGN_UP (   x,
  a 
)    ALIGN(x, a)

Definition at line 94 of file udlfb.h.

#define DL_DEFIO_WRITE_DELAY   5 /* fb_deferred_io.delay in jiffies */

Definition at line 90 of file udlfb.h.

#define DL_DEFIO_WRITE_DISABLE   (HZ*60) /* "disable" with long delay */

Definition at line 91 of file udlfb.h.

#define DLFB_IOCTL_REPORT_DAMAGE   0xAA

Definition at line 12 of file udlfb.h.

#define DLFB_IOCTL_RETURN_EDID   0xAD

Definition at line 11 of file udlfb.h.

#define FREE_URB_TIMEOUT   (HZ*2)

Definition at line 73 of file udlfb.h.

#define GET_URB_TIMEOUT   HZ

Definition at line 72 of file udlfb.h.

#define MAX_CMD_PIXELS   255

Definition at line 76 of file udlfb.h.

#define MAX_TRANSFER   (PAGE_SIZE*16 - BULK_SIZE)

Definition at line 67 of file udlfb.h.

#define MAX_VENDOR_DESCRIPTOR_SIZE   256

Definition at line 70 of file udlfb.h.

#define MIN_RAW_CMD_BYTES   (RAW_HEADER_BYTES + MIN_RAW_PIX_BYTES)

Definition at line 88 of file udlfb.h.

#define MIN_RAW_PIX_BYTES   2

Definition at line 87 of file udlfb.h.

#define MIN_RLE_CMD_BYTES   (RLE_HEADER_BYTES + MIN_RLE_PIX_BYTES)

Definition at line 84 of file udlfb.h.

#define MIN_RLE_PIX_BYTES   3

Definition at line 83 of file udlfb.h.

#define MIN_RLX_CMD_BYTES   (RLX_HEADER_BYTES + MIN_RLX_PIX_BYTES)

Definition at line 80 of file udlfb.h.

#define MIN_RLX_PIX_BYTES   4

Definition at line 79 of file udlfb.h.

#define NR_USB_REQUEST_CHANNEL   0x12

Definition at line 63 of file udlfb.h.

#define NR_USB_REQUEST_I2C_SUB_IO   0x02

Definition at line 62 of file udlfb.h.

#define RAW_HEADER_BYTES   6

Definition at line 86 of file udlfb.h.

#define RLE_HEADER_BYTES   6

Definition at line 82 of file udlfb.h.

#define RLX_HEADER_BYTES   7

Definition at line 78 of file udlfb.h.

#define WRITES_IN_FLIGHT   (4)

Definition at line 68 of file udlfb.h.