Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dm646x.c File Reference
#include <linux/dma-mapping.h>
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/serial_8250.h>
#include <linux/platform_device.h>
#include <asm/mach/map.h>
#include <mach/cputype.h>
#include <mach/edma.h>
#include <mach/irqs.h>
#include <mach/psc.h>
#include <mach/mux.h>
#include <mach/time.h>
#include <mach/serial.h>
#include <mach/common.h>
#include <mach/gpio-davinci.h>
#include "davinci.h"
#include "clock.h"
#include "mux.h"
#include "asp.h"

Go to the source code of this file.

Macros

#define DAVINCI_VPIF_BASE   (0x01C12000)
 
#define VDD3P3V_VID_MASK
 
#define VSCLKDIS_MASK
 
#define DM646X_REF_FREQ   27000000
 
#define DM646X_AUX_FREQ   24000000
 
#define DM646X_EMAC_BASE   0x01c80000
 
#define DM646X_EMAC_MDIO_BASE   (DM646X_EMAC_BASE + 0x4000)
 
#define DM646X_EMAC_CNTRL_OFFSET   0x0000
 
#define DM646X_EMAC_CNTRL_MOD_OFFSET   0x1000
 
#define DM646X_EMAC_CNTRL_RAM_OFFSET   0x2000
 
#define DM646X_EMAC_CNTRL_RAM_SIZE   0x2000
 

Functions

void __init dm646x_init_mcasp0 (struct snd_platform_data *pdata)
 
void __init dm646x_init_mcasp1 (struct snd_platform_data *pdata)
 
void dm646x_setup_vpif (struct vpif_display_config *display_config, struct vpif_capture_config *capture_config)
 
int __init dm646x_init_edma (struct edma_rsv_info *rsv)
 
void __init dm646x_init (void)
 
 postcore_initcall (dm646x_init_devices)
 

Macro Definition Documentation

#define DAVINCI_VPIF_BASE   (0x01C12000)

Definition at line 34 of file dm646x.c.

#define DM646X_AUX_FREQ   24000000

Definition at line 45 of file dm646x.c.

#define DM646X_EMAC_BASE   0x01c80000

Definition at line 47 of file dm646x.c.

#define DM646X_EMAC_CNTRL_MOD_OFFSET   0x1000

Definition at line 50 of file dm646x.c.

#define DM646X_EMAC_CNTRL_OFFSET   0x0000

Definition at line 49 of file dm646x.c.

#define DM646X_EMAC_CNTRL_RAM_OFFSET   0x2000

Definition at line 51 of file dm646x.c.

#define DM646X_EMAC_CNTRL_RAM_SIZE   0x2000

Definition at line 52 of file dm646x.c.

#define DM646X_EMAC_MDIO_BASE   (DM646X_EMAC_BASE + 0x4000)

Definition at line 48 of file dm646x.c.

#define DM646X_REF_FREQ   27000000

Definition at line 44 of file dm646x.c.

#define VDD3P3V_VID_MASK
Value:
(BIT_MASK(3) | BIT_MASK(2) | BIT_MASK(1) |\
BIT_MASK(0))

Definition at line 36 of file dm646x.c.

#define VSCLKDIS_MASK
Value:
(BIT_MASK(11) | BIT_MASK(10) | BIT_MASK(9) |\
BIT_MASK(8))

Definition at line 38 of file dm646x.c.

Function Documentation

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 display_config,
struct vpif_capture_config capture_config 
)

Definition at line 877 of file dm646x.c.

postcore_initcall ( dm646x_init_devices  )