Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lcd_dma.c File Reference
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <plat/dma.h>
#include <mach/hardware.h>
#include <mach/lcdc.h>

Go to the source code of this file.

Data Structures

struct  lcd_dma_info
 

Macros

#define PIXADDR(x, y)
 
#define PIXSTEP(sx, sy, dx, dy)   (PIXADDR(dx, dy) - PIXADDR(sx, sy) - es + 1)
 

Functions

int omap_lcd_dma_running (void)
 
void omap_set_lcd_dma_b1 (unsigned long addr, u16 fb_xres, u16 fb_yres, int data_type)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_b1)
 
void omap_set_lcd_dma_ext_controller (int external)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_ext_controller)
 
void omap_set_lcd_dma_single_transfer (int single)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_single_transfer)
 
void omap_set_lcd_dma_b1_rotation (int rotate)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_b1_rotation)
 
void omap_set_lcd_dma_b1_mirror (int mirror)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_b1_mirror)
 
void omap_set_lcd_dma_b1_vxres (unsigned long vxres)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_b1_vxres)
 
void omap_set_lcd_dma_b1_scale (unsigned int xscale, unsigned int yscale)
 
 EXPORT_SYMBOL (omap_set_lcd_dma_b1_scale)
 
int omap_request_lcd_dma (void(*callback)(u16 status, void *data), void *data)
 
 EXPORT_SYMBOL (omap_request_lcd_dma)
 
void omap_free_lcd_dma (void)
 
 EXPORT_SYMBOL (omap_free_lcd_dma)
 
void omap_enable_lcd_dma (void)
 
 EXPORT_SYMBOL (omap_enable_lcd_dma)
 
void omap_setup_lcd_dma (void)
 
 EXPORT_SYMBOL (omap_setup_lcd_dma)
 
void omap_stop_lcd_dma (void)
 
 EXPORT_SYMBOL (omap_stop_lcd_dma)
 
 arch_initcall (omap_init_lcd_dma)
 

Macro Definition Documentation

#define PIXADDR (   x,
  y 
)
Value:
(lcd_dma.addr + \
((y) * vxres * yscale + (x) * xscale) * es)
#define PIXSTEP (   sx,
  sy,
  dx,
  dy 
)    (PIXADDR(dx, dy) - PIXADDR(sx, sy) - es + 1)

Function Documentation

arch_initcall ( omap_init_lcd_dma  )
EXPORT_SYMBOL ( omap_set_lcd_dma_b1  )
EXPORT_SYMBOL ( omap_set_lcd_dma_ext_controller  )
EXPORT_SYMBOL ( omap_set_lcd_dma_single_transfer  )
EXPORT_SYMBOL ( omap_set_lcd_dma_b1_rotation  )
EXPORT_SYMBOL ( omap_set_lcd_dma_b1_mirror  )
EXPORT_SYMBOL ( omap_set_lcd_dma_b1_vxres  )
EXPORT_SYMBOL ( omap_set_lcd_dma_b1_scale  )
EXPORT_SYMBOL ( omap_request_lcd_dma  )
EXPORT_SYMBOL ( omap_free_lcd_dma  )
EXPORT_SYMBOL ( omap_enable_lcd_dma  )
EXPORT_SYMBOL ( omap_setup_lcd_dma  )
EXPORT_SYMBOL ( omap_stop_lcd_dma  )
void omap_enable_lcd_dma ( void  )

Definition at line 349 of file lcd_dma.c.

void omap_free_lcd_dma ( void  )

Definition at line 332 of file lcd_dma.c.

int omap_lcd_dma_running ( void  )

Definition at line 35 of file lcd_dma.c.

int omap_request_lcd_dma ( void(*)(u16 status, void *data callback,
void data 
)

Definition at line 304 of file lcd_dma.c.

void omap_set_lcd_dma_b1 ( unsigned long  addr,
u16  fb_xres,
u16  fb_yres,
int  data_type 
)

Definition at line 70 of file lcd_dma.c.

void omap_set_lcd_dma_b1_mirror ( int  mirror)

Definition at line 103 of file lcd_dma.c.

void omap_set_lcd_dma_b1_rotation ( int  rotate)

Definition at line 92 of file lcd_dma.c.

void omap_set_lcd_dma_b1_scale ( unsigned int  xscale,
unsigned int  yscale 
)

Definition at line 123 of file lcd_dma.c.

void omap_set_lcd_dma_b1_vxres ( unsigned long  vxres)

Definition at line 113 of file lcd_dma.c.

void omap_set_lcd_dma_ext_controller ( int  external)

Definition at line 80 of file lcd_dma.c.

void omap_set_lcd_dma_single_transfer ( int  single)

Definition at line 86 of file lcd_dma.c.

void omap_setup_lcd_dma ( void  )

Definition at line 373 of file lcd_dma.c.

void omap_stop_lcd_dma ( void  )

Definition at line 400 of file lcd_dma.c.