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

Go to the source code of this file.

Macros

#define OMAP1510_DMA_LCD_BASE   (0xfffedb00)
 
#define OMAP1510_DMA_LCD_CTRL   (OMAP1510_DMA_LCD_BASE + 0x00)
 
#define OMAP1510_DMA_LCD_TOP_F1_L   (OMAP1510_DMA_LCD_BASE + 0x02)
 
#define OMAP1510_DMA_LCD_TOP_F1_U   (OMAP1510_DMA_LCD_BASE + 0x04)
 
#define OMAP1510_DMA_LCD_BOT_F1_L   (OMAP1510_DMA_LCD_BASE + 0x06)
 
#define OMAP1510_DMA_LCD_BOT_F1_U   (OMAP1510_DMA_LCD_BASE + 0x08)
 
#define OMAP1610_DMA_LCD_BASE   (0xfffee300)
 
#define OMAP1610_DMA_LCD_CSDP   (OMAP1610_DMA_LCD_BASE + 0xc0)
 
#define OMAP1610_DMA_LCD_CCR   (OMAP1610_DMA_LCD_BASE + 0xc2)
 
#define OMAP1610_DMA_LCD_CTRL   (OMAP1610_DMA_LCD_BASE + 0xc4)
 
#define OMAP1610_DMA_LCD_TOP_B1_L   (OMAP1610_DMA_LCD_BASE + 0xc8)
 
#define OMAP1610_DMA_LCD_TOP_B1_U   (OMAP1610_DMA_LCD_BASE + 0xca)
 
#define OMAP1610_DMA_LCD_BOT_B1_L   (OMAP1610_DMA_LCD_BASE + 0xcc)
 
#define OMAP1610_DMA_LCD_BOT_B1_U   (OMAP1610_DMA_LCD_BASE + 0xce)
 
#define OMAP1610_DMA_LCD_TOP_B2_L   (OMAP1610_DMA_LCD_BASE + 0xd0)
 
#define OMAP1610_DMA_LCD_TOP_B2_U   (OMAP1610_DMA_LCD_BASE + 0xd2)
 
#define OMAP1610_DMA_LCD_BOT_B2_L   (OMAP1610_DMA_LCD_BASE + 0xd4)
 
#define OMAP1610_DMA_LCD_BOT_B2_U   (OMAP1610_DMA_LCD_BASE + 0xd6)
 
#define OMAP1610_DMA_LCD_SRC_EI_B1   (OMAP1610_DMA_LCD_BASE + 0xd8)
 
#define OMAP1610_DMA_LCD_SRC_FI_B1_L   (OMAP1610_DMA_LCD_BASE + 0xda)
 
#define OMAP1610_DMA_LCD_SRC_EN_B1   (OMAP1610_DMA_LCD_BASE + 0xe0)
 
#define OMAP1610_DMA_LCD_SRC_FN_B1   (OMAP1610_DMA_LCD_BASE + 0xe4)
 
#define OMAP1610_DMA_LCD_LCH_CTRL   (OMAP1610_DMA_LCD_BASE + 0xea)
 
#define OMAP1610_DMA_LCD_SRC_FI_B1_U   (OMAP1610_DMA_LCD_BASE + 0xf4)
 

Enumerations

enum  { OMAP_LCD_DMA_B1_TOP, OMAP_LCD_DMA_B1_BOTTOM, OMAP_LCD_DMA_B2_TOP, OMAP_LCD_DMA_B2_BOTTOM }
 

Functions

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

Macro Definition Documentation

#define OMAP1510_DMA_LCD_BASE   (0xfffedb00)

Definition at line 26 of file lcd_dma.h.

#define OMAP1510_DMA_LCD_BOT_F1_L   (OMAP1510_DMA_LCD_BASE + 0x06)

Definition at line 30 of file lcd_dma.h.

#define OMAP1510_DMA_LCD_BOT_F1_U   (OMAP1510_DMA_LCD_BASE + 0x08)

Definition at line 31 of file lcd_dma.h.

#define OMAP1510_DMA_LCD_CTRL   (OMAP1510_DMA_LCD_BASE + 0x00)

Definition at line 27 of file lcd_dma.h.

#define OMAP1510_DMA_LCD_TOP_F1_L   (OMAP1510_DMA_LCD_BASE + 0x02)

Definition at line 28 of file lcd_dma.h.

#define OMAP1510_DMA_LCD_TOP_F1_U   (OMAP1510_DMA_LCD_BASE + 0x04)

Definition at line 29 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_BASE   (0xfffee300)

Definition at line 33 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_BOT_B1_L   (OMAP1610_DMA_LCD_BASE + 0xcc)

Definition at line 39 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_BOT_B1_U   (OMAP1610_DMA_LCD_BASE + 0xce)

Definition at line 40 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_BOT_B2_L   (OMAP1610_DMA_LCD_BASE + 0xd4)

Definition at line 43 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_BOT_B2_U   (OMAP1610_DMA_LCD_BASE + 0xd6)

Definition at line 44 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_CCR   (OMAP1610_DMA_LCD_BASE + 0xc2)

Definition at line 35 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_CSDP   (OMAP1610_DMA_LCD_BASE + 0xc0)

Definition at line 34 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_CTRL   (OMAP1610_DMA_LCD_BASE + 0xc4)

Definition at line 36 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_LCH_CTRL   (OMAP1610_DMA_LCD_BASE + 0xea)

Definition at line 49 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_SRC_EI_B1   (OMAP1610_DMA_LCD_BASE + 0xd8)

Definition at line 45 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_SRC_EN_B1   (OMAP1610_DMA_LCD_BASE + 0xe0)

Definition at line 47 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_SRC_FI_B1_L   (OMAP1610_DMA_LCD_BASE + 0xda)

Definition at line 46 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_SRC_FI_B1_U   (OMAP1610_DMA_LCD_BASE + 0xf4)

Definition at line 50 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_SRC_FN_B1   (OMAP1610_DMA_LCD_BASE + 0xe4)

Definition at line 48 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_TOP_B1_L   (OMAP1610_DMA_LCD_BASE + 0xc8)

Definition at line 37 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_TOP_B1_U   (OMAP1610_DMA_LCD_BASE + 0xca)

Definition at line 38 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_TOP_B2_L   (OMAP1610_DMA_LCD_BASE + 0xd0)

Definition at line 41 of file lcd_dma.h.

#define OMAP1610_DMA_LCD_TOP_B2_U   (OMAP1610_DMA_LCD_BASE + 0xd2)

Definition at line 42 of file lcd_dma.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
OMAP_LCD_DMA_B1_TOP 
OMAP_LCD_DMA_B1_BOTTOM 
OMAP_LCD_DMA_B2_TOP 
OMAP_LCD_DMA_B2_BOTTOM 

Definition at line 53 of file lcd_dma.h.

Function Documentation

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.