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

Go to the source code of this file.

Macros

#define imx1_handle_irq   avic_handle_irq
 
#define imx21_handle_irq   avic_handle_irq
 
#define imx25_handle_irq   avic_handle_irq
 
#define imx27_handle_irq   avic_handle_irq
 
#define imx31_handle_irq   avic_handle_irq
 
#define imx35_handle_irq   avic_handle_irq
 
#define imx50_handle_irq   tzic_handle_irq
 
#define imx51_handle_irq   tzic_handle_irq
 
#define imx53_handle_irq   tzic_handle_irq
 
#define imx6q_handle_irq   gic_handle_irq
 

Enumerations

enum  mxc_cpu_pwr_mode {
  WAIT_CLOCKED, WAIT_UNCLOCKED, WAIT_UNCLOCKED_POWER_OFF, STOP_POWER_ON,
  STOP_POWER_OFF
}
 
enum  mx3_cpu_pwr_mode { MX3_RUN, MX3_WAIT, MX3_DOZE, MX3_SLEEP }
 

Functions

void mx1_map_io (void)
 
void mx21_map_io (void)
 
void mx25_map_io (void)
 
void mx27_map_io (void)
 
void mx31_map_io (void)
 
void mx35_map_io (void)
 
void mx50_map_io (void)
 
void mx51_map_io (void)
 
void mx53_map_io (void)
 
void imx1_init_early (void)
 
void imx21_init_early (void)
 
void imx25_init_early (void)
 
void imx27_init_early (void)
 
void imx31_init_early (void)
 
void imx35_init_early (void)
 
void imx50_init_early (void)
 
void imx51_init_early (void)
 
void imx53_init_early (void)
 
void mxc_init_irq (void __iomem *)
 
void tzic_init_irq (void __iomem *)
 
void mx1_init_irq (void)
 
void mx21_init_irq (void)
 
void mx25_init_irq (void)
 
void mx27_init_irq (void)
 
void mx31_init_irq (void)
 
void mx35_init_irq (void)
 
void mx50_init_irq (void)
 
void mx51_init_irq (void)
 
void mx53_init_irq (void)
 
void imx1_soc_init (void)
 
void imx21_soc_init (void)
 
void imx25_soc_init (void)
 
void imx27_soc_init (void)
 
void imx31_soc_init (void)
 
void imx35_soc_init (void)
 
void imx50_soc_init (void)
 
void imx51_soc_init (void)
 
void imx51_init_late (void)
 
void imx53_init_late (void)
 
void epit_timer_init (void __iomem *base, int irq)
 
void mxc_timer_init (void __iomem *, int)
 
int mx1_clocks_init (unsigned long fref)
 
int mx21_clocks_init (unsigned long lref, unsigned long fref)
 
int mx25_clocks_init (void)
 
int mx27_clocks_init (unsigned long fref)
 
int mx31_clocks_init (unsigned long fref)
 
int mx35_clocks_init (void)
 
int mx51_clocks_init (unsigned long ckil, unsigned long osc, unsigned long ckih1, unsigned long ckih2)
 
int mx53_clocks_init (unsigned long ckil, unsigned long osc, unsigned long ckih1, unsigned long ckih2)
 
int mx27_clocks_init_dt (void)
 
int mx31_clocks_init_dt (void)
 
int mx51_clocks_init_dt (void)
 
int mx53_clocks_init_dt (void)
 
int mx6q_clocks_init (void)
 
struct platform_devicemxc_register_gpio (char *name, int id, resource_size_t iobase, resource_size_t iosize, int irq, int irq_high)
 
void mxc_set_cpu_type (unsigned int type)
 
void mxc_restart (char, const char *)
 
void mxc_arch_reset_init (void __iomem *)
 
int mx53_revision (void)
 
int mx53_display_revision (void)
 
void imx_set_aips (void __iomem *)
 
void mx3_cpu_lp_set (enum mx3_cpu_pwr_mode mode)
 
void imx_print_silicon_rev (const char *cpu, int srev)
 
void avic_handle_irq (struct pt_regs *)
 
void tzic_handle_irq (struct pt_regs *)
 
void imx_enable_cpu (int cpu, bool enable)
 
void imx_set_cpu_jump (int cpu, void *jump_addr)
 
void v7_cpu_resume (void)
 
u32pl310_get_save_ptr (void)
 
void imx_src_init (void)
 
void imx_src_prepare_restart (void)
 
void imx_gpc_init (void)
 
void imx_gpc_pre_suspend (void)
 
void imx_gpc_post_resume (void)
 
int imx6q_set_lpm (enum mxc_cpu_pwr_mode mode)
 
void imx6q_clock_map_io (void)
 
void imx_cpu_die (unsigned int cpu)
 

Variables

struct smp_operations imx_smp_ops
 

Macro Definition Documentation

#define imx1_handle_irq   avic_handle_irq

Definition at line 104 of file common.h.

#define imx21_handle_irq   avic_handle_irq

Definition at line 105 of file common.h.

#define imx25_handle_irq   avic_handle_irq

Definition at line 106 of file common.h.

#define imx27_handle_irq   avic_handle_irq

Definition at line 107 of file common.h.

#define imx31_handle_irq   avic_handle_irq

Definition at line 108 of file common.h.

#define imx35_handle_irq   avic_handle_irq

Definition at line 109 of file common.h.

#define imx50_handle_irq   tzic_handle_irq

Definition at line 110 of file common.h.

#define imx51_handle_irq   tzic_handle_irq

Definition at line 111 of file common.h.

#define imx53_handle_irq   tzic_handle_irq

Definition at line 112 of file common.h.

#define imx6q_handle_irq   gic_handle_irq

Definition at line 113 of file common.h.

Enumeration Type Documentation

Enumerator:
MX3_RUN 
MX3_WAIT 
MX3_DOZE 
MX3_SLEEP 

Definition at line 91 of file common.h.

Enumerator:
WAIT_CLOCKED 
WAIT_UNCLOCKED 
WAIT_UNCLOCKED_POWER_OFF 
STOP_POWER_ON 
STOP_POWER_OFF 

Definition at line 83 of file common.h.

Function Documentation

void avic_handle_irq ( struct pt_regs )

Definition at line 164 of file avic.c.

void epit_timer_init ( void __iomem base,
int  irq 
)

Definition at line 205 of file epit.c.

void imx1_init_early ( void  )

Definition at line 38 of file mm-imx1.c.

void imx1_soc_init ( void  )

Definition at line 51 of file mm-imx1.c.

void imx21_init_early ( void  )

Definition at line 65 of file mm-imx21.c.

void imx21_soc_init ( void  )

Definition at line 82 of file mm-imx21.c.

void imx25_init_early ( void  )

Definition at line 53 of file mm-imx25.c.

void imx25_soc_init ( void  )

Definition at line 90 of file mm-imx25.c.

void imx27_init_early ( void  )

Definition at line 65 of file mm-imx27.c.

void imx27_soc_init ( void  )

Definition at line 82 of file mm-imx27.c.

void imx31_init_early ( void  )
void imx31_soc_init ( void  )
void imx35_init_early ( void  )
void imx35_soc_init ( void  )
void imx50_init_early ( void  )

Definition at line 77 of file mm-imx5.c.

void imx50_soc_init ( void  )

Definition at line 139 of file mm-imx5.c.

void imx51_init_early ( void  )

Definition at line 84 of file mm-imx5.c.

void imx51_init_late ( void  )

Definition at line 176 of file mm-imx5.c.

void imx51_soc_init ( void  )

Definition at line 154 of file mm-imx5.c.

void imx53_init_early ( void  )

Definition at line 91 of file mm-imx5.c.

void imx53_init_late ( void  )

Definition at line 182 of file mm-imx5.c.

void imx6q_clock_map_io ( void  )

Definition at line 58 of file clk-imx6q.c.

int imx6q_set_lpm ( enum mxc_cpu_pwr_mode  mode)

Definition at line 60 of file clk-imx6q.c.

void imx_cpu_die ( unsigned int  cpu)

Definition at line 45 of file hotplug.c.

void imx_enable_cpu ( int  cpu,
bool  enable 
)

Definition at line 28 of file src.c.

void imx_gpc_init ( void  )

Definition at line 101 of file gpc.c.

void imx_gpc_post_resume ( void  )

Definition at line 43 of file gpc.c.

void imx_gpc_pre_suspend ( void  )

Definition at line 29 of file gpc.c.

void imx_print_silicon_rev ( const char cpu,
int  srev 
)

Definition at line 14 of file cpu.c.

void imx_set_aips ( void __iomem )

Definition at line 23 of file cpu.c.

void imx_set_cpu_jump ( int  cpu,
void jump_addr 
)

Definition at line 39 of file src.c.

void imx_src_init ( void  )

Definition at line 59 of file src.c.

void imx_src_prepare_restart ( void  )

Definition at line 46 of file src.c.

int mx1_clocks_init ( unsigned long  fref)

Definition at line 53 of file clk-imx1.c.

void mx1_init_irq ( void  )

Definition at line 46 of file mm-imx1.c.

void mx1_map_io ( void  )

Definition at line 33 of file mm-imx1.c.

int mx21_clocks_init ( unsigned long  lref,
unsigned long  fref 
)

Definition at line 71 of file clk-imx21.c.

void mx21_init_irq ( void  )

Definition at line 73 of file mm-imx21.c.

void mx21_map_io ( void  )

Definition at line 60 of file mm-imx21.c.

int mx25_clocks_init ( void  )

Definition at line 79 of file clk-imx25.c.

void mx25_init_irq ( void  )

Definition at line 60 of file mm-imx25.c.

void mx25_map_io ( void  )

Definition at line 48 of file mm-imx25.c.

int mx27_clocks_init ( unsigned long  fref)

Definition at line 87 of file clk-imx27.c.

int mx27_clocks_init_dt ( void  )
void mx27_init_irq ( void  )

Definition at line 73 of file mm-imx27.c.

void mx27_map_io ( void  )

Definition at line 60 of file mm-imx27.c.

int mx31_clocks_init ( unsigned long  fref)

Definition at line 51 of file clk-imx31.c.

int mx31_clocks_init_dt ( void  )
void mx31_init_irq ( void  )
void mx31_map_io ( void  )
int mx35_clocks_init ( void  )

Definition at line 71 of file clk-imx35.c.

void mx35_init_irq ( void  )
void mx35_map_io ( void  )
void mx3_cpu_lp_set ( enum mx3_cpu_pwr_mode  mode)

Definition at line 22 of file pm-imx3.c.

void mx50_init_irq ( void  )

Definition at line 98 of file mm-imx5.c.

void mx50_map_io ( void  )

Definition at line 62 of file mm-imx5.c.

int mx51_clocks_init ( unsigned long  ckil,
unsigned long  osc,
unsigned long  ckih1,
unsigned long  ckih2 
)

Definition at line 314 of file clk-imx51-imx53.c.

int mx51_clocks_init_dt ( void  )
void mx51_init_irq ( void  )

Definition at line 103 of file mm-imx5.c.

void mx51_map_io ( void  )

Definition at line 67 of file mm-imx5.c.

int mx53_clocks_init ( unsigned long  ckil,
unsigned long  osc,
unsigned long  ckih1,
unsigned long  ckih2 
)

Definition at line 391 of file clk-imx51-imx53.c.

int mx53_clocks_init_dt ( void  )
int mx53_display_revision ( void  )
void mx53_init_irq ( void  )

Definition at line 108 of file mm-imx5.c.

void mx53_map_io ( void  )

Definition at line 72 of file mm-imx5.c.

int mx53_revision ( void  )

Definition at line 99 of file cpu-imx5.c.

int mx6q_clocks_init ( void  )

Definition at line 166 of file clk-imx6q.c.

void mxc_arch_reset_init ( void __iomem )

Definition at line 66 of file system.c.

void mxc_init_irq ( void __iomem )

Definition at line 182 of file avic.c.

struct platform_device* mxc_register_gpio ( char name,
int  id,
resource_size_t  iobase,
resource_size_t  iosize,
int  irq,
int  irq_high 
)
read

Definition at line 11 of file platform-gpio-mxc.c.

void mxc_restart ( char  ,
const char  
)

Definition at line 36 of file system.c.

void mxc_set_cpu_type ( unsigned int  type)

Definition at line 9 of file cpu.c.

void mxc_timer_init ( void __iomem ,
int   
)

Definition at line 285 of file time.c.

u32* pl310_get_save_ptr ( void  )
void tzic_handle_irq ( struct pt_regs )

Definition at line 130 of file tzic.c.

void tzic_init_irq ( void __iomem )

Definition at line 158 of file tzic.c.

void v7_cpu_resume ( void  )

Variable Documentation

struct smp_operations imx_smp_ops