Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
au1100fb.h File Reference
#include <asm/mach-au1x00/au1000.h>

Go to the source code of this file.

Data Structures

struct  au1100fb_panel
 
struct  au1100fb_regs
 
struct  au1100fb_device
 

Macros

#define print_err(f, arg...)   printk(KERN_ERR DRIVER_NAME ": " f "\n", ## arg)
 
#define print_warn(f, arg...)   printk(KERN_WARNING DRIVER_NAME ": " f "\n", ## arg)
 
#define print_info(f, arg...)   printk(KERN_INFO DRIVER_NAME ": " f "\n", ## arg)
 
#define print_dbg(f, arg...)   do {} while (0)
 
#define LCD_CONTROL_DEFAULT_PO   LCD_CONTROL_PO_00
 
#define LCD_CONTROL_DEFAULT_SBPPF   LCD_CONTROL_SBPPF_565
 
#define AU1100_LCD_MAX_XRES   800
 
#define AU1100_LCD_MAX_YRES   600
 
#define AU1100_LCD_MAX_BPP   16
 
#define AU1100_LCD_MAX_CLK   48000000
 
#define AU1100_LCD_NBR_PALETTE_ENTRIES   256
 
#define AU1100FB_NBR_VIDEO_BUFFERS   4
 
#define LCD_CONTROL   (AU1100_LCD_BASE + 0x0)
 
#define LCD_CONTROL_SBB_BIT   21
 
#define LCD_CONTROL_SBB_MASK   (0x3 << LCD_CONTROL_SBB_BIT)
 
#define LCD_CONTROL_SBB_1   (0 << LCD_CONTROL_SBB_BIT)
 
#define LCD_CONTROL_SBB_2   (1 << LCD_CONTROL_SBB_BIT)
 
#define LCD_CONTROL_SBB_3   (2 << LCD_CONTROL_SBB_BIT)
 
#define LCD_CONTROL_SBB_4   (3 << LCD_CONTROL_SBB_BIT)
 
#define LCD_CONTROL_SBPPF_BIT   18
 
#define LCD_CONTROL_SBPPF_MASK   (0x7 << LCD_CONTROL_SBPPF_BIT)
 
#define LCD_CONTROL_SBPPF_655   (0 << LCD_CONTROL_SBPPF_BIT)
 
#define LCD_CONTROL_SBPPF_565   (1 << LCD_CONTROL_SBPPF_BIT)
 
#define LCD_CONTROL_SBPPF_556   (2 << LCD_CONTROL_SBPPF_BIT)
 
#define LCD_CONTROL_SBPPF_1555   (3 << LCD_CONTROL_SBPPF_BIT)
 
#define LCD_CONTROL_SBPPF_5551   (4 << LCD_CONTROL_SBPPF_BIT)
 
#define LCD_CONTROL_WP   (1<<17)
 
#define LCD_CONTROL_WD   (1<<16)
 
#define LCD_CONTROL_C   (1<<15)
 
#define LCD_CONTROL_SM_BIT   13
 
#define LCD_CONTROL_SM_MASK   (0x3 << LCD_CONTROL_SM_BIT)
 
#define LCD_CONTROL_SM_0   (0 << LCD_CONTROL_SM_BIT)
 
#define LCD_CONTROL_SM_90   (1 << LCD_CONTROL_SM_BIT)
 
#define LCD_CONTROL_SM_180   (2 << LCD_CONTROL_SM_BIT)
 
#define LCD_CONTROL_SM_270   (3 << LCD_CONTROL_SM_BIT)
 
#define LCD_CONTROL_DB   (1<<12)
 
#define LCD_CONTROL_CCO   (1<<11)
 
#define LCD_CONTROL_DP   (1<<10)
 
#define LCD_CONTROL_PO_BIT   8
 
#define LCD_CONTROL_PO_MASK   (0x3 << LCD_CONTROL_PO_BIT)
 
#define LCD_CONTROL_PO_00   (0 << LCD_CONTROL_PO_BIT)
 
#define LCD_CONTROL_PO_01   (1 << LCD_CONTROL_PO_BIT)
 
#define LCD_CONTROL_PO_10   (2 << LCD_CONTROL_PO_BIT)
 
#define LCD_CONTROL_PO_11   (3 << LCD_CONTROL_PO_BIT)
 
#define LCD_CONTROL_MPI   (1<<7)
 
#define LCD_CONTROL_PT   (1<<6)
 
#define LCD_CONTROL_PC   (1<<5)
 
#define LCD_CONTROL_BPP_BIT   1
 
#define LCD_CONTROL_BPP_MASK   (0x7 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_BPP_1   (0 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_BPP_2   (1 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_BPP_4   (2 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_BPP_8   (3 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_BPP_12   (4 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_BPP_16   (5 << LCD_CONTROL_BPP_BIT)
 
#define LCD_CONTROL_GO   (1<<0)
 
#define LCD_INTSTATUS   (AU1100_LCD_BASE + 0x4)
 
#define LCD_INTENABLE   (AU1100_LCD_BASE + 0x8)
 
#define LCD_INT_SD   (1<<7)
 
#define LCD_INT_OF   (1<<6)
 
#define LCD_INT_UF   (1<<5)
 
#define LCD_INT_SA   (1<<3)
 
#define LCD_INT_SS   (1<<2)
 
#define LCD_INT_S1   (1<<1)
 
#define LCD_INT_S0   (1<<0)
 
#define LCD_HORZTIMING   (AU1100_LCD_BASE + 0xC)
 
#define LCD_HORZTIMING_HN2_BIT   24
 
#define LCD_HORZTIMING_HN2_MASK   (0xFF << LCD_HORZTIMING_HN2_BIT)
 
#define LCD_HORZTIMING_HN2_N(N)   ((((N)-1) << LCD_HORZTIMING_HN2_BIT) & LCD_HORZTIMING_HN2_MASK)
 
#define LCD_HORZTIMING_HN1_BIT   16
 
#define LCD_HORZTIMING_HN1_MASK   (0xFF << LCD_HORZTIMING_HN1_BIT)
 
#define LCD_HORZTIMING_HN1_N(N)   ((((N)-1) << LCD_HORZTIMING_HN1_BIT) & LCD_HORZTIMING_HN1_MASK)
 
#define LCD_HORZTIMING_HPW_BIT   10
 
#define LCD_HORZTIMING_HPW_MASK   (0x3F << LCD_HORZTIMING_HPW_BIT)
 
#define LCD_HORZTIMING_HPW_N(N)   ((((N)-1) << LCD_HORZTIMING_HPW_BIT) & LCD_HORZTIMING_HPW_MASK)
 
#define LCD_HORZTIMING_PPL_BIT   0
 
#define LCD_HORZTIMING_PPL_MASK   (0x3FF << LCD_HORZTIMING_PPL_BIT)
 
#define LCD_HORZTIMING_PPL_N(N)   ((((N)-1) << LCD_HORZTIMING_PPL_BIT) & LCD_HORZTIMING_PPL_MASK)
 
#define LCD_VERTTIMING   (AU1100_LCD_BASE + 0x10)
 
#define LCD_VERTTIMING_VN2_BIT   24
 
#define LCD_VERTTIMING_VN2_MASK   (0xFF << LCD_VERTTIMING_VN2_BIT)
 
#define LCD_VERTTIMING_VN2_N(N)   ((((N)-1) << LCD_VERTTIMING_VN2_BIT) & LCD_VERTTIMING_VN2_MASK)
 
#define LCD_VERTTIMING_VN1_BIT   16
 
#define LCD_VERTTIMING_VN1_MASK   (0xFF << LCD_VERTTIMING_VN1_BIT)
 
#define LCD_VERTTIMING_VN1_N(N)   ((((N)-1) << LCD_VERTTIMING_VN1_BIT) & LCD_VERTTIMING_VN1_MASK)
 
#define LCD_VERTTIMING_VPW_BIT   10
 
#define LCD_VERTTIMING_VPW_MASK   (0x3F << LCD_VERTTIMING_VPW_BIT)
 
#define LCD_VERTTIMING_VPW_N(N)   ((((N)-1) << LCD_VERTTIMING_VPW_BIT) & LCD_VERTTIMING_VPW_MASK)
 
#define LCD_VERTTIMING_LPP_BIT   0
 
#define LCD_VERTTIMING_LPP_MASK   (0x3FF << LCD_VERTTIMING_LPP_BIT)
 
#define LCD_VERTTIMING_LPP_N(N)   ((((N)-1) << LCD_VERTTIMING_LPP_BIT) & LCD_VERTTIMING_LPP_MASK)
 
#define LCD_CLKCONTROL   (AU1100_LCD_BASE + 0x14)
 
#define LCD_CLKCONTROL_IB   (1<<18)
 
#define LCD_CLKCONTROL_IC   (1<<17)
 
#define LCD_CLKCONTROL_IH   (1<<16)
 
#define LCD_CLKCONTROL_IV   (1<<15)
 
#define LCD_CLKCONTROL_BF_BIT   10
 
#define LCD_CLKCONTROL_BF_MASK   (0x1F << LCD_CLKCONTROL_BF_BIT)
 
#define LCD_CLKCONTROL_BF_N(N)   ((((N)-1) << LCD_CLKCONTROL_BF_BIT) & LCD_CLKCONTROL_BF_MASK)
 
#define LCD_CLKCONTROL_PCD_BIT   0
 
#define LCD_CLKCONTROL_PCD_MASK   (0x3FF << LCD_CLKCONTROL_PCD_BIT)
 
#define LCD_CLKCONTROL_PCD_N(N)   (((N) << LCD_CLKCONTROL_PCD_BIT) & LCD_CLKCONTROL_PCD_MASK)
 
#define LCD_DMAADDR0   (AU1100_LCD_BASE + 0x18)
 
#define LCD_DMAADDR1   (AU1100_LCD_BASE + 0x1C)
 
#define LCD_DMA_SA_BIT   5
 
#define LCD_DMA_SA_MASK   (0x7FFFFFF << LCD_DMA_SA_BIT)
 
#define LCD_DMA_SA_N(N)   ((N) & LCD_DMA_SA_MASK)
 
#define LCD_WORDS   (AU1100_LCD_BASE + 0x20)
 
#define LCD_WRD_WRDS_BIT   0
 
#define LCD_WRD_WRDS_MASK   (0xFFFFFFFF << LCD_WRD_WRDS_BIT)
 
#define LCD_WRD_WRDS_N(N)   ((((N)-1) << LCD_WRD_WRDS_BIT) & LCD_WRD_WRDS_MASK)
 
#define LCD_PWMDIV   (AU1100_LCD_BASE + 0x24)
 
#define LCD_PWMDIV_EN   (1<<12)
 
#define LCD_PWMDIV_PWMDIV_BIT   0
 
#define LCD_PWMDIV_PWMDIV_MASK   (0xFFF << LCD_PWMDIV_PWMDIV_BIT)
 
#define LCD_PWMDIV_PWMDIV_N(N)   ((((N)-1) << LCD_PWMDIV_PWMDIV_BIT) & LCD_PWMDIV_PWMDIV_MASK)
 
#define LCD_PWMHI   (AU1100_LCD_BASE + 0x28)
 
#define LCD_PWMHI_PWMHI1_BIT   12
 
#define LCD_PWMHI_PWMHI1_MASK   (0xFFF << LCD_PWMHI_PWMHI1_BIT)
 
#define LCD_PWMHI_PWMHI1_N(N)   (((N) << LCD_PWMHI_PWMHI1_BIT) & LCD_PWMHI_PWMHI1_MASK)
 
#define LCD_PWMHI_PWMHI0_BIT   0
 
#define LCD_PWMHI_PWMHI0_MASK   (0xFFF << LCD_PWMHI_PWMHI0_BIT)
 
#define LCD_PWMHI_PWMHI0_N(N)   (((N) << LCD_PWMHI_PWMHI0_BIT) & LCD_PWMHI_PWMHI0_MASK)
 
#define LCD_PALLETTEBASE   (AU1100_LCD_BASE + 0x400)
 
#define LCD_PALLETTE_MONO_MI_BIT   0
 
#define LCD_PALLETTE_MONO_MI_MASK   (0xF << LCD_PALLETTE_MONO_MI_BIT)
 
#define LCD_PALLETTE_MONO_MI_N(N)   (((N)<< LCD_PALLETTE_MONO_MI_BIT) & LCD_PALLETTE_MONO_MI_MASK)
 
#define LCD_PALLETTE_COLOR_RI_BIT   8
 
#define LCD_PALLETTE_COLOR_RI_MASK   (0xF << LCD_PALLETTE_COLOR_RI_BIT)
 
#define LCD_PALLETTE_COLOR_RI_N(N)   (((N)<< LCD_PALLETTE_COLOR_RI_BIT) & LCD_PALLETTE_COLOR_RI_MASK)
 
#define LCD_PALLETTE_COLOR_GI_BIT   4
 
#define LCD_PALLETTE_COLOR_GI_MASK   (0xF << LCD_PALLETTE_COLOR_GI_BIT)
 
#define LCD_PALLETTE_COLOR_GI_N(N)   (((N)<< LCD_PALLETTE_COLOR_GI_BIT) & LCD_PALLETTE_COLOR_GI_MASK)
 
#define LCD_PALLETTE_COLOR_BI_BIT   0
 
#define LCD_PALLETTE_COLOR_BI_MASK   (0xF << LCD_PALLETTE_COLOR_BI_BIT)
 
#define LCD_PALLETTE_COLOR_BI_N(N)   (((N)<< LCD_PALLETTE_COLOR_BI_BIT) & LCD_PALLETTE_COLOR_BI_MASK)
 
#define LCD_PALLETTE_TFT_DC_BIT   0
 
#define LCD_PALLETTE_TFT_DC_MASK   (0xFFFF << LCD_PALLETTE_TFT_DC_BIT)
 
#define LCD_PALLETTE_TFT_DC_N(N)   (((N)<< LCD_PALLETTE_TFT_DC_BIT) & LCD_PALLETTE_TFT_DC_MASK)
 
#define panel_is_dual(panel)   (panel->control_base & LCD_CONTROL_DP)
 
#define panel_is_active(panel)   (panel->control_base & LCD_CONTROL_PT)
 
#define panel_is_color(panel)   (panel->control_base & LCD_CONTROL_PC)
 
#define panel_swap_rgb(panel)   (panel->control_base & LCD_CONTROL_CCO)
 

Macro Definition Documentation

#define AU1100_LCD_MAX_BPP   16

Definition at line 57 of file au1100fb.h.

#define AU1100_LCD_MAX_CLK   48000000

Definition at line 58 of file au1100fb.h.

#define AU1100_LCD_MAX_XRES   800

Definition at line 55 of file au1100fb.h.

#define AU1100_LCD_MAX_YRES   600

Definition at line 56 of file au1100fb.h.

#define AU1100_LCD_NBR_PALETTE_ENTRIES   256

Definition at line 59 of file au1100fb.h.

#define AU1100FB_NBR_VIDEO_BUFFERS   4

Definition at line 62 of file au1100fb.h.

#define LCD_CLKCONTROL   (AU1100_LCD_BASE + 0x14)

Definition at line 199 of file au1100fb.h.

#define LCD_CLKCONTROL_BF_BIT   10

Definition at line 204 of file au1100fb.h.

#define LCD_CLKCONTROL_BF_MASK   (0x1F << LCD_CLKCONTROL_BF_BIT)

Definition at line 205 of file au1100fb.h.

#define LCD_CLKCONTROL_BF_N (   N)    ((((N)-1) << LCD_CLKCONTROL_BF_BIT) & LCD_CLKCONTROL_BF_MASK)

Definition at line 206 of file au1100fb.h.

#define LCD_CLKCONTROL_IB   (1<<18)

Definition at line 200 of file au1100fb.h.

#define LCD_CLKCONTROL_IC   (1<<17)

Definition at line 201 of file au1100fb.h.

#define LCD_CLKCONTROL_IH   (1<<16)

Definition at line 202 of file au1100fb.h.

#define LCD_CLKCONTROL_IV   (1<<15)

Definition at line 203 of file au1100fb.h.

#define LCD_CLKCONTROL_PCD_BIT   0

Definition at line 207 of file au1100fb.h.

#define LCD_CLKCONTROL_PCD_MASK   (0x3FF << LCD_CLKCONTROL_PCD_BIT)

Definition at line 208 of file au1100fb.h.

#define LCD_CLKCONTROL_PCD_N (   N)    (((N) << LCD_CLKCONTROL_PCD_BIT) & LCD_CLKCONTROL_PCD_MASK)

Definition at line 209 of file au1100fb.h.

#define LCD_CONTROL   (AU1100_LCD_BASE + 0x0)

Definition at line 116 of file au1100fb.h.

#define LCD_CONTROL_BPP_1   (0 << LCD_CONTROL_BPP_BIT)

Definition at line 153 of file au1100fb.h.

#define LCD_CONTROL_BPP_12   (4 << LCD_CONTROL_BPP_BIT)

Definition at line 157 of file au1100fb.h.

#define LCD_CONTROL_BPP_16   (5 << LCD_CONTROL_BPP_BIT)

Definition at line 158 of file au1100fb.h.

#define LCD_CONTROL_BPP_2   (1 << LCD_CONTROL_BPP_BIT)

Definition at line 154 of file au1100fb.h.

#define LCD_CONTROL_BPP_4   (2 << LCD_CONTROL_BPP_BIT)

Definition at line 155 of file au1100fb.h.

#define LCD_CONTROL_BPP_8   (3 << LCD_CONTROL_BPP_BIT)

Definition at line 156 of file au1100fb.h.

#define LCD_CONTROL_BPP_BIT   1

Definition at line 151 of file au1100fb.h.

#define LCD_CONTROL_BPP_MASK   (0x7 << LCD_CONTROL_BPP_BIT)

Definition at line 152 of file au1100fb.h.

#define LCD_CONTROL_C   (1<<15)

Definition at line 132 of file au1100fb.h.

#define LCD_CONTROL_CCO   (1<<11)

Definition at line 140 of file au1100fb.h.

#define LCD_CONTROL_DB   (1<<12)

Definition at line 139 of file au1100fb.h.

#define LCD_CONTROL_DEFAULT_PO   LCD_CONTROL_PO_00

Definition at line 48 of file au1100fb.h.

#define LCD_CONTROL_DEFAULT_SBPPF   LCD_CONTROL_SBPPF_565

Definition at line 50 of file au1100fb.h.

#define LCD_CONTROL_DP   (1<<10)

Definition at line 141 of file au1100fb.h.

#define LCD_CONTROL_GO   (1<<0)

Definition at line 159 of file au1100fb.h.

#define LCD_CONTROL_MPI   (1<<7)

Definition at line 148 of file au1100fb.h.

#define LCD_CONTROL_PC   (1<<5)

Definition at line 150 of file au1100fb.h.

#define LCD_CONTROL_PO_00   (0 << LCD_CONTROL_PO_BIT)

Definition at line 144 of file au1100fb.h.

#define LCD_CONTROL_PO_01   (1 << LCD_CONTROL_PO_BIT)

Definition at line 145 of file au1100fb.h.

#define LCD_CONTROL_PO_10   (2 << LCD_CONTROL_PO_BIT)

Definition at line 146 of file au1100fb.h.

#define LCD_CONTROL_PO_11   (3 << LCD_CONTROL_PO_BIT)

Definition at line 147 of file au1100fb.h.

#define LCD_CONTROL_PO_BIT   8

Definition at line 142 of file au1100fb.h.

#define LCD_CONTROL_PO_MASK   (0x3 << LCD_CONTROL_PO_BIT)

Definition at line 143 of file au1100fb.h.

#define LCD_CONTROL_PT   (1<<6)

Definition at line 149 of file au1100fb.h.

#define LCD_CONTROL_SBB_1   (0 << LCD_CONTROL_SBB_BIT)

Definition at line 119 of file au1100fb.h.

#define LCD_CONTROL_SBB_2   (1 << LCD_CONTROL_SBB_BIT)

Definition at line 120 of file au1100fb.h.

#define LCD_CONTROL_SBB_3   (2 << LCD_CONTROL_SBB_BIT)

Definition at line 121 of file au1100fb.h.

#define LCD_CONTROL_SBB_4   (3 << LCD_CONTROL_SBB_BIT)

Definition at line 122 of file au1100fb.h.

#define LCD_CONTROL_SBB_BIT   21

Definition at line 117 of file au1100fb.h.

#define LCD_CONTROL_SBB_MASK   (0x3 << LCD_CONTROL_SBB_BIT)

Definition at line 118 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_1555   (3 << LCD_CONTROL_SBPPF_BIT)

Definition at line 128 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_5551   (4 << LCD_CONTROL_SBPPF_BIT)

Definition at line 129 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_556   (2 << LCD_CONTROL_SBPPF_BIT)

Definition at line 127 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_565   (1 << LCD_CONTROL_SBPPF_BIT)

Definition at line 126 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_655   (0 << LCD_CONTROL_SBPPF_BIT)

Definition at line 125 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_BIT   18

Definition at line 123 of file au1100fb.h.

#define LCD_CONTROL_SBPPF_MASK   (0x7 << LCD_CONTROL_SBPPF_BIT)

Definition at line 124 of file au1100fb.h.

#define LCD_CONTROL_SM_0   (0 << LCD_CONTROL_SM_BIT)

Definition at line 135 of file au1100fb.h.

#define LCD_CONTROL_SM_180   (2 << LCD_CONTROL_SM_BIT)

Definition at line 137 of file au1100fb.h.

#define LCD_CONTROL_SM_270   (3 << LCD_CONTROL_SM_BIT)

Definition at line 138 of file au1100fb.h.

#define LCD_CONTROL_SM_90   (1 << LCD_CONTROL_SM_BIT)

Definition at line 136 of file au1100fb.h.

#define LCD_CONTROL_SM_BIT   13

Definition at line 133 of file au1100fb.h.

#define LCD_CONTROL_SM_MASK   (0x3 << LCD_CONTROL_SM_BIT)

Definition at line 134 of file au1100fb.h.

#define LCD_CONTROL_WD   (1<<16)

Definition at line 131 of file au1100fb.h.

#define LCD_CONTROL_WP   (1<<17)

Definition at line 130 of file au1100fb.h.

#define LCD_DMA_SA_BIT   5

Definition at line 213 of file au1100fb.h.

#define LCD_DMA_SA_MASK   (0x7FFFFFF << LCD_DMA_SA_BIT)

Definition at line 214 of file au1100fb.h.

#define LCD_DMA_SA_N (   N)    ((N) & LCD_DMA_SA_MASK)

Definition at line 215 of file au1100fb.h.

#define LCD_DMAADDR0   (AU1100_LCD_BASE + 0x18)

Definition at line 211 of file au1100fb.h.

#define LCD_DMAADDR1   (AU1100_LCD_BASE + 0x1C)

Definition at line 212 of file au1100fb.h.

#define LCD_HORZTIMING   (AU1100_LCD_BASE + 0xC)

Definition at line 171 of file au1100fb.h.

#define LCD_HORZTIMING_HN1_BIT   16

Definition at line 175 of file au1100fb.h.

#define LCD_HORZTIMING_HN1_MASK   (0xFF << LCD_HORZTIMING_HN1_BIT)

Definition at line 176 of file au1100fb.h.

#define LCD_HORZTIMING_HN1_N (   N)    ((((N)-1) << LCD_HORZTIMING_HN1_BIT) & LCD_HORZTIMING_HN1_MASK)

Definition at line 177 of file au1100fb.h.

#define LCD_HORZTIMING_HN2_BIT   24

Definition at line 172 of file au1100fb.h.

#define LCD_HORZTIMING_HN2_MASK   (0xFF << LCD_HORZTIMING_HN2_BIT)

Definition at line 173 of file au1100fb.h.

#define LCD_HORZTIMING_HN2_N (   N)    ((((N)-1) << LCD_HORZTIMING_HN2_BIT) & LCD_HORZTIMING_HN2_MASK)

Definition at line 174 of file au1100fb.h.

#define LCD_HORZTIMING_HPW_BIT   10

Definition at line 178 of file au1100fb.h.

#define LCD_HORZTIMING_HPW_MASK   (0x3F << LCD_HORZTIMING_HPW_BIT)

Definition at line 179 of file au1100fb.h.

#define LCD_HORZTIMING_HPW_N (   N)    ((((N)-1) << LCD_HORZTIMING_HPW_BIT) & LCD_HORZTIMING_HPW_MASK)

Definition at line 180 of file au1100fb.h.

#define LCD_HORZTIMING_PPL_BIT   0

Definition at line 181 of file au1100fb.h.

#define LCD_HORZTIMING_PPL_MASK   (0x3FF << LCD_HORZTIMING_PPL_BIT)

Definition at line 182 of file au1100fb.h.

#define LCD_HORZTIMING_PPL_N (   N)    ((((N)-1) << LCD_HORZTIMING_PPL_BIT) & LCD_HORZTIMING_PPL_MASK)

Definition at line 183 of file au1100fb.h.

#define LCD_INT_OF   (1<<6)

Definition at line 164 of file au1100fb.h.

#define LCD_INT_S0   (1<<0)

Definition at line 169 of file au1100fb.h.

#define LCD_INT_S1   (1<<1)

Definition at line 168 of file au1100fb.h.

#define LCD_INT_SA   (1<<3)

Definition at line 166 of file au1100fb.h.

#define LCD_INT_SD   (1<<7)

Definition at line 163 of file au1100fb.h.

#define LCD_INT_SS   (1<<2)

Definition at line 167 of file au1100fb.h.

#define LCD_INT_UF   (1<<5)

Definition at line 165 of file au1100fb.h.

#define LCD_INTENABLE   (AU1100_LCD_BASE + 0x8)

Definition at line 162 of file au1100fb.h.

#define LCD_INTSTATUS   (AU1100_LCD_BASE + 0x4)

Definition at line 161 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_BI_BIT   0

Definition at line 247 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_BI_MASK   (0xF << LCD_PALLETTE_COLOR_BI_BIT)

Definition at line 248 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_BI_N (   N)    (((N)<< LCD_PALLETTE_COLOR_BI_BIT) & LCD_PALLETTE_COLOR_BI_MASK)

Definition at line 249 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_GI_BIT   4

Definition at line 244 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_GI_MASK   (0xF << LCD_PALLETTE_COLOR_GI_BIT)

Definition at line 245 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_GI_N (   N)    (((N)<< LCD_PALLETTE_COLOR_GI_BIT) & LCD_PALLETTE_COLOR_GI_MASK)

Definition at line 246 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_RI_BIT   8

Definition at line 241 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_RI_MASK   (0xF << LCD_PALLETTE_COLOR_RI_BIT)

Definition at line 242 of file au1100fb.h.

#define LCD_PALLETTE_COLOR_RI_N (   N)    (((N)<< LCD_PALLETTE_COLOR_RI_BIT) & LCD_PALLETTE_COLOR_RI_MASK)

Definition at line 243 of file au1100fb.h.

#define LCD_PALLETTE_MONO_MI_BIT   0

Definition at line 237 of file au1100fb.h.

#define LCD_PALLETTE_MONO_MI_MASK   (0xF << LCD_PALLETTE_MONO_MI_BIT)

Definition at line 238 of file au1100fb.h.

#define LCD_PALLETTE_MONO_MI_N (   N)    (((N)<< LCD_PALLETTE_MONO_MI_BIT) & LCD_PALLETTE_MONO_MI_MASK)

Definition at line 239 of file au1100fb.h.

#define LCD_PALLETTE_TFT_DC_BIT   0

Definition at line 251 of file au1100fb.h.

#define LCD_PALLETTE_TFT_DC_MASK   (0xFFFF << LCD_PALLETTE_TFT_DC_BIT)

Definition at line 252 of file au1100fb.h.

#define LCD_PALLETTE_TFT_DC_N (   N)    (((N)<< LCD_PALLETTE_TFT_DC_BIT) & LCD_PALLETTE_TFT_DC_MASK)

Definition at line 253 of file au1100fb.h.

#define LCD_PALLETTEBASE   (AU1100_LCD_BASE + 0x400)

Definition at line 236 of file au1100fb.h.

#define LCD_PWMDIV   (AU1100_LCD_BASE + 0x24)

Definition at line 222 of file au1100fb.h.

#define LCD_PWMDIV_EN   (1<<12)

Definition at line 223 of file au1100fb.h.

#define LCD_PWMDIV_PWMDIV_BIT   0

Definition at line 224 of file au1100fb.h.

#define LCD_PWMDIV_PWMDIV_MASK   (0xFFF << LCD_PWMDIV_PWMDIV_BIT)

Definition at line 225 of file au1100fb.h.

#define LCD_PWMDIV_PWMDIV_N (   N)    ((((N)-1) << LCD_PWMDIV_PWMDIV_BIT) & LCD_PWMDIV_PWMDIV_MASK)

Definition at line 226 of file au1100fb.h.

#define LCD_PWMHI   (AU1100_LCD_BASE + 0x28)

Definition at line 228 of file au1100fb.h.

#define LCD_PWMHI_PWMHI0_BIT   0

Definition at line 232 of file au1100fb.h.

#define LCD_PWMHI_PWMHI0_MASK   (0xFFF << LCD_PWMHI_PWMHI0_BIT)

Definition at line 233 of file au1100fb.h.

#define LCD_PWMHI_PWMHI0_N (   N)    (((N) << LCD_PWMHI_PWMHI0_BIT) & LCD_PWMHI_PWMHI0_MASK)

Definition at line 234 of file au1100fb.h.

#define LCD_PWMHI_PWMHI1_BIT   12

Definition at line 229 of file au1100fb.h.

#define LCD_PWMHI_PWMHI1_MASK   (0xFFF << LCD_PWMHI_PWMHI1_BIT)

Definition at line 230 of file au1100fb.h.

#define LCD_PWMHI_PWMHI1_N (   N)    (((N) << LCD_PWMHI_PWMHI1_BIT) & LCD_PWMHI_PWMHI1_MASK)

Definition at line 231 of file au1100fb.h.

#define LCD_VERTTIMING   (AU1100_LCD_BASE + 0x10)

Definition at line 185 of file au1100fb.h.

#define LCD_VERTTIMING_LPP_BIT   0

Definition at line 195 of file au1100fb.h.

#define LCD_VERTTIMING_LPP_MASK   (0x3FF << LCD_VERTTIMING_LPP_BIT)

Definition at line 196 of file au1100fb.h.

#define LCD_VERTTIMING_LPP_N (   N)    ((((N)-1) << LCD_VERTTIMING_LPP_BIT) & LCD_VERTTIMING_LPP_MASK)

Definition at line 197 of file au1100fb.h.

#define LCD_VERTTIMING_VN1_BIT   16

Definition at line 189 of file au1100fb.h.

#define LCD_VERTTIMING_VN1_MASK   (0xFF << LCD_VERTTIMING_VN1_BIT)

Definition at line 190 of file au1100fb.h.

#define LCD_VERTTIMING_VN1_N (   N)    ((((N)-1) << LCD_VERTTIMING_VN1_BIT) & LCD_VERTTIMING_VN1_MASK)

Definition at line 191 of file au1100fb.h.

#define LCD_VERTTIMING_VN2_BIT   24

Definition at line 186 of file au1100fb.h.

#define LCD_VERTTIMING_VN2_MASK   (0xFF << LCD_VERTTIMING_VN2_BIT)

Definition at line 187 of file au1100fb.h.

#define LCD_VERTTIMING_VN2_N (   N)    ((((N)-1) << LCD_VERTTIMING_VN2_BIT) & LCD_VERTTIMING_VN2_MASK)

Definition at line 188 of file au1100fb.h.

#define LCD_VERTTIMING_VPW_BIT   10

Definition at line 192 of file au1100fb.h.

#define LCD_VERTTIMING_VPW_MASK   (0x3F << LCD_VERTTIMING_VPW_BIT)

Definition at line 193 of file au1100fb.h.

#define LCD_VERTTIMING_VPW_N (   N)    ((((N)-1) << LCD_VERTTIMING_VPW_BIT) & LCD_VERTTIMING_VPW_MASK)

Definition at line 194 of file au1100fb.h.

#define LCD_WORDS   (AU1100_LCD_BASE + 0x20)

Definition at line 217 of file au1100fb.h.

#define LCD_WRD_WRDS_BIT   0

Definition at line 218 of file au1100fb.h.

#define LCD_WRD_WRDS_MASK   (0xFFFFFFFF << LCD_WRD_WRDS_BIT)

Definition at line 219 of file au1100fb.h.

#define LCD_WRD_WRDS_N (   N)    ((((N)-1) << LCD_WRD_WRDS_BIT) & LCD_WRD_WRDS_MASK)

Definition at line 220 of file au1100fb.h.

#define panel_is_active (   panel)    (panel->control_base & LCD_CONTROL_PT)

Definition at line 373 of file au1100fb.h.

#define panel_is_color (   panel)    (panel->control_base & LCD_CONTROL_PC)

Definition at line 374 of file au1100fb.h.

#define panel_is_dual (   panel)    (panel->control_base & LCD_CONTROL_DP)

Definition at line 372 of file au1100fb.h.

#define panel_swap_rgb (   panel)    (panel->control_base & LCD_CONTROL_CCO)

Definition at line 375 of file au1100fb.h.

#define print_dbg (   f,
  arg... 
)    do {} while (0)

Definition at line 42 of file au1100fb.h.

#define print_err (   f,
  arg... 
)    printk(KERN_ERR DRIVER_NAME ": " f "\n", ## arg)

Definition at line 35 of file au1100fb.h.

#define print_info (   f,
  arg... 
)    printk(KERN_INFO DRIVER_NAME ": " f "\n", ## arg)

Definition at line 37 of file au1100fb.h.

#define print_warn (   f,
  arg... 
)    printk(KERN_WARNING DRIVER_NAME ": " f "\n", ## arg)

Definition at line 36 of file au1100fb.h.