Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
davinci.h File Reference
#include <linux/clk.h>
#include <linux/videodev2.h>
#include <linux/davinci_emac.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/platform_data/davinci_asp.h>
#include <linux/platform_data/keyscan-davinci.h>
#include <mach/hardware.h>
#include <mach/edma.h>
#include <media/davinci/vpfe_capture.h>
#include <media/davinci/vpif_types.h>
#include <media/davinci/vpss.h>
#include <media/davinci/vpbe_types.h>
#include <media/davinci/vpbe_venc.h>
#include <media/davinci/vpbe.h>
#include <media/davinci/vpbe_osd.h>

Go to the source code of this file.

Macros

#define DAVINCI_SYSTEM_MODULE_BASE   0x01c40000
 
#define SYSMOD_VIDCLKCTL   0x38
 
#define SYSMOD_VPSS_CLKCTL   0x44
 
#define SYSMOD_VDD3P3VPWDN   0x48
 
#define SYSMOD_VSCLKDIS   0x6c
 
#define SYSMOD_PUPDCTL1   0x7c
 
#define DAVINCI_SYSMOD_VIRT(x)   (davinci_sysmod_base + (x))
 
#define DM355_ASYNC_EMIF_CONTROL_BASE   0x01e10000
 
#define DM355_ASYNC_EMIF_DATA_CE0_BASE   0x02000000
 
#define ASP1_TX_EVT_EN   1
 
#define ASP1_RX_EVT_EN   2
 
#define DM365_ASYNC_EMIF_CONTROL_BASE   0x01d10000
 
#define DM365_ASYNC_EMIF_DATA_CE0_BASE   0x02000000
 
#define DM365_ASYNC_EMIF_DATA_CE1_BASE   0x04000000
 
#define DM644X_ASYNC_EMIF_CONTROL_BASE   0x01e00000
 
#define DM644X_ASYNC_EMIF_DATA_CE0_BASE   0x02000000
 
#define DM644X_ASYNC_EMIF_DATA_CE1_BASE   0x04000000
 
#define DM644X_ASYNC_EMIF_DATA_CE2_BASE   0x06000000
 
#define DM644X_ASYNC_EMIF_DATA_CE3_BASE   0x08000000
 
#define DM646X_ASYNC_EMIF_CONTROL_BASE   0x20008000
 
#define DM646X_ASYNC_EMIF_CS2_SPACE_BASE   0x42000000
 

Functions

void davinci_map_sysmod (void)
 
void __init dm355_init (void)
 
void dm355_init_spi0 (unsigned chipselect_mask, const struct spi_board_info *info, unsigned len)
 
void __init dm355_init_asp1 (u32 evt_enable, struct snd_platform_data *pdata)
 
void dm355_set_vpfe_config (struct vpfe_config *cfg)
 
void __init dm365_init (void)
 
void __init dm365_init_asp (struct snd_platform_data *pdata)
 
void __init dm365_init_vc (struct snd_platform_data *pdata)
 
void __init dm365_init_ks (struct davinci_ks_platform_data *pdata)
 
void __init dm365_init_rtc (void)
 
void dm365_init_spi0 (unsigned chipselect_mask, const struct spi_board_info *info, unsigned len)
 
void dm365_set_vpfe_config (struct vpfe_config *cfg)
 
void __init dm644x_init (void)
 
void __init dm644x_init_asp (struct snd_platform_data *pdata)
 
int __init dm644x_init_video (struct vpfe_config *, struct vpbe_config *)
 
void __init dm646x_init (void)
 
void __init dm646x_init_mcasp0 (struct snd_platform_data *pdata)
 
void __init dm646x_init_mcasp1 (struct snd_platform_data *pdata)
 
int __init dm646x_init_edma (struct edma_rsv_info *rsv)
 
void dm646x_video_init (void)
 
void dm646x_setup_vpif (struct vpif_display_config *, struct vpif_capture_config *)
 

Variables

void __iomemdavinci_sysmod_base
 

Macro Definition Documentation

#define ASP1_RX_EVT_EN   2

Definition at line 54 of file davinci.h.

#define ASP1_TX_EVT_EN   1

Definition at line 53 of file davinci.h.

#define DAVINCI_SYSMOD_VIRT (   x)    (davinci_sysmod_base + (x))

Definition at line 46 of file davinci.h.

#define DAVINCI_SYSTEM_MODULE_BASE   0x01c40000

Definition at line 38 of file davinci.h.

#define DM355_ASYNC_EMIF_CONTROL_BASE   0x01e10000

Definition at line 50 of file davinci.h.

#define DM355_ASYNC_EMIF_DATA_CE0_BASE   0x02000000

Definition at line 51 of file davinci.h.

#define DM365_ASYNC_EMIF_CONTROL_BASE   0x01d10000

Definition at line 57 of file davinci.h.

#define DM365_ASYNC_EMIF_DATA_CE0_BASE   0x02000000

Definition at line 58 of file davinci.h.

#define DM365_ASYNC_EMIF_DATA_CE1_BASE   0x04000000

Definition at line 59 of file davinci.h.

#define DM644X_ASYNC_EMIF_CONTROL_BASE   0x01e00000

Definition at line 62 of file davinci.h.

#define DM644X_ASYNC_EMIF_DATA_CE0_BASE   0x02000000

Definition at line 63 of file davinci.h.

#define DM644X_ASYNC_EMIF_DATA_CE1_BASE   0x04000000

Definition at line 64 of file davinci.h.

#define DM644X_ASYNC_EMIF_DATA_CE2_BASE   0x06000000

Definition at line 65 of file davinci.h.

#define DM644X_ASYNC_EMIF_DATA_CE3_BASE   0x08000000

Definition at line 66 of file davinci.h.

#define DM646X_ASYNC_EMIF_CONTROL_BASE   0x20008000

Definition at line 69 of file davinci.h.

#define DM646X_ASYNC_EMIF_CS2_SPACE_BASE   0x42000000

Definition at line 70 of file davinci.h.

#define SYSMOD_PUPDCTL1   0x7c

Definition at line 43 of file davinci.h.

#define SYSMOD_VDD3P3VPWDN   0x48

Definition at line 41 of file davinci.h.

#define SYSMOD_VIDCLKCTL   0x38

Definition at line 39 of file davinci.h.

#define SYSMOD_VPSS_CLKCTL   0x44

Definition at line 40 of file davinci.h.

#define SYSMOD_VSCLKDIS   0x6c

Definition at line 42 of file davinci.h.

Function Documentation

void davinci_map_sysmod ( void  )

Definition at line 39 of file devices.c.

void __init dm355_init ( void  )

Definition at line 871 of file dm355.c.

void __init dm355_init_asp1 ( u32  evt_enable,
struct snd_platform_data pdata 
)

Definition at line 858 of file dm355.c.

void dm355_init_spi0 ( unsigned  chipselect_mask,
const struct spi_board_info info,
unsigned  len 
)

Definition at line 426 of file dm355.c.

void dm355_set_vpfe_config ( struct vpfe_config *  cfg)

Definition at line 747 of file dm355.c.

void __init dm365_init ( void  )

Definition at line 1138 of file dm365.c.

void __init dm365_init_asp ( struct snd_platform_data pdata)

Definition at line 1104 of file dm365.c.

void __init dm365_init_ks ( struct davinci_ks_platform_data pdata)

Definition at line 1126 of file dm365.c.

void __init dm365_init_rtc ( void  )

Definition at line 1132 of file dm365.c.

void dm365_init_spi0 ( unsigned  chipselect_mask,
const struct spi_board_info info,
unsigned  len 
)

Definition at line 678 of file dm365.c.

void __init dm365_init_vc ( struct snd_platform_data pdata)

Definition at line 1118 of file dm365.c.

void dm365_set_vpfe_config ( struct vpfe_config *  cfg)

Definition at line 1257 of file dm365.c.

void __init dm644x_init ( void  )

Definition at line 900 of file dm644x.c.

void __init dm644x_init_asp ( struct snd_platform_data pdata)

Definition at line 893 of file dm644x.c.

int __init dm644x_init_video ( struct vpfe_config *  ,
struct vpbe_config  
)

Definition at line 906 of file dm644x.c.

void __init dm646x_init ( void  )

Definition at line 909 of file dm646x.c.

int __init dm646x_init_edma ( struct edma_rsv_info rsv)

Definition at line 902 of file dm646x.c.

void __init dm646x_init_mcasp0 ( struct snd_platform_data pdata)

Definition at line 864 of file dm646x.c.

void __init dm646x_init_mcasp1 ( struct snd_platform_data pdata)

Definition at line 870 of file dm646x.c.

void dm646x_setup_vpif ( struct vpif_display_config ,
struct vpif_capture_config  
)

Definition at line 877 of file dm646x.c.

void dm646x_video_init ( void  )

Variable Documentation

void __iomem* davinci_sysmod_base

Definition at line 37 of file devices.c.