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

Go to the source code of this file.

Macros

#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)
 

Functions

int udl_render_hline (struct drm_device *dev, int bpp, struct urb **urb_ptr, const char *front, char **urb_buf_ptr, u32 byte_offset, u32 device_byte_offset, u32 byte_width, int *ident_ptr, int *sent_ptr)
 

Macro Definition Documentation

#define MAX_CMD_PIXELS   255

Definition at line 21 of file udl_transfer.c.

#define MIN_RAW_CMD_BYTES   (RAW_HEADER_BYTES + MIN_RAW_PIX_BYTES)

Definition at line 33 of file udl_transfer.c.

#define MIN_RAW_PIX_BYTES   2

Definition at line 32 of file udl_transfer.c.

#define MIN_RLE_CMD_BYTES   (RLE_HEADER_BYTES + MIN_RLE_PIX_BYTES)

Definition at line 29 of file udl_transfer.c.

#define MIN_RLE_PIX_BYTES   3

Definition at line 28 of file udl_transfer.c.

#define MIN_RLX_CMD_BYTES   (RLX_HEADER_BYTES + MIN_RLX_PIX_BYTES)

Definition at line 25 of file udl_transfer.c.

#define MIN_RLX_PIX_BYTES   4

Definition at line 24 of file udl_transfer.c.

#define RAW_HEADER_BYTES   6

Definition at line 31 of file udl_transfer.c.

#define RLE_HEADER_BYTES   6

Definition at line 27 of file udl_transfer.c.

#define RLX_HEADER_BYTES   7

Definition at line 23 of file udl_transfer.c.

Function Documentation

int udl_render_hline ( struct drm_device dev,
int  bpp,
struct urb **  urb_ptr,
const char front,
char **  urb_buf_ptr,
u32  byte_offset,
u32  device_byte_offset,
u32  byte_width,
int ident_ptr,
int sent_ptr 
)

Definition at line 214 of file udl_transfer.c.