Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mxc.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  cpu_op
 

Macros

#define MXC_CPU_MX1   1
 
#define MXC_CPU_MX21   21
 
#define MXC_CPU_MX25   25
 
#define MXC_CPU_MX27   27
 
#define MXC_CPU_MX31   31
 
#define MXC_CPU_MX35   35
 
#define MXC_CPU_MX50   50
 
#define MXC_CPU_MX51   51
 
#define MXC_CPU_MX53   53
 
#define IMX_CHIP_REVISION_1_0   0x10
 
#define IMX_CHIP_REVISION_1_1   0x11
 
#define IMX_CHIP_REVISION_1_2   0x12
 
#define IMX_CHIP_REVISION_1_3   0x13
 
#define IMX_CHIP_REVISION_2_0   0x20
 
#define IMX_CHIP_REVISION_2_1   0x21
 
#define IMX_CHIP_REVISION_2_2   0x22
 
#define IMX_CHIP_REVISION_2_3   0x23
 
#define IMX_CHIP_REVISION_3_0   0x30
 
#define IMX_CHIP_REVISION_3_1   0x31
 
#define IMX_CHIP_REVISION_3_2   0x32
 
#define IMX_CHIP_REVISION_3_3   0x33
 
#define IMX_CHIP_REVISION_UNKNOWN   0xff
 
#define cpu_is_mx1()   (0)
 
#define cpu_is_mx21()   (0)
 
#define cpu_is_mx25()   (0)
 
#define cpu_is_mx27()   (0)
 
#define cpu_is_mx31()   (0)
 
#define cpu_is_mx35()   (0)
 
#define cpu_is_mx50()   (0)
 
#define cpu_is_mx51()   (0)
 
#define cpu_is_mx53()   (0)
 
#define cpu_is_mx3()   (cpu_is_mx31() || cpu_is_mx35())
 
#define cpu_is_mx2()   (cpu_is_mx21() || cpu_is_mx27())
 

Functions

int tzic_enable_wake (void)
 

Variables

unsigned int __mxc_cpu_type
 
struct cpu_op *(* get_cpu_op )(int *op)
 

Macro Definition Documentation

#define cpu_is_mx1 ( )    (0)

Definition at line 66 of file mxc.h.

#define cpu_is_mx2 ( )    (cpu_is_mx21() || cpu_is_mx27())

Definition at line 177 of file mxc.h.

#define cpu_is_mx21 ( )    (0)

Definition at line 78 of file mxc.h.

#define cpu_is_mx25 ( )    (0)

Definition at line 90 of file mxc.h.

#define cpu_is_mx27 ( )    (0)

Definition at line 102 of file mxc.h.

#define cpu_is_mx3 ( )    (cpu_is_mx31() || cpu_is_mx35())

Definition at line 176 of file mxc.h.

#define cpu_is_mx31 ( )    (0)

Definition at line 114 of file mxc.h.

#define cpu_is_mx35 ( )    (0)

Definition at line 126 of file mxc.h.

#define cpu_is_mx50 ( )    (0)

Definition at line 138 of file mxc.h.

#define cpu_is_mx51 ( )    (0)

Definition at line 150 of file mxc.h.

#define cpu_is_mx53 ( )    (0)

Definition at line 162 of file mxc.h.

#define IMX_CHIP_REVISION_1_0   0x10

Definition at line 39 of file mxc.h.

#define IMX_CHIP_REVISION_1_1   0x11

Definition at line 40 of file mxc.h.

#define IMX_CHIP_REVISION_1_2   0x12

Definition at line 41 of file mxc.h.

#define IMX_CHIP_REVISION_1_3   0x13

Definition at line 42 of file mxc.h.

#define IMX_CHIP_REVISION_2_0   0x20

Definition at line 43 of file mxc.h.

#define IMX_CHIP_REVISION_2_1   0x21

Definition at line 44 of file mxc.h.

#define IMX_CHIP_REVISION_2_2   0x22

Definition at line 45 of file mxc.h.

#define IMX_CHIP_REVISION_2_3   0x23

Definition at line 46 of file mxc.h.

#define IMX_CHIP_REVISION_3_0   0x30

Definition at line 47 of file mxc.h.

#define IMX_CHIP_REVISION_3_1   0x31

Definition at line 48 of file mxc.h.

#define IMX_CHIP_REVISION_3_2   0x32

Definition at line 49 of file mxc.h.

#define IMX_CHIP_REVISION_3_3   0x33

Definition at line 50 of file mxc.h.

#define IMX_CHIP_REVISION_UNKNOWN   0xff

Definition at line 51 of file mxc.h.

#define MXC_CPU_MX1   1

Definition at line 29 of file mxc.h.

#define MXC_CPU_MX21   21

Definition at line 30 of file mxc.h.

#define MXC_CPU_MX25   25

Definition at line 31 of file mxc.h.

#define MXC_CPU_MX27   27

Definition at line 32 of file mxc.h.

#define MXC_CPU_MX31   31

Definition at line 33 of file mxc.h.

#define MXC_CPU_MX35   35

Definition at line 34 of file mxc.h.

#define MXC_CPU_MX50   50

Definition at line 35 of file mxc.h.

#define MXC_CPU_MX51   51

Definition at line 36 of file mxc.h.

#define MXC_CPU_MX53   53

Definition at line 37 of file mxc.h.

Function Documentation

int tzic_enable_wake ( void  )

tzic_enable_wake() - enable wakeup interrupt

Returns
0 if successful; non-zero otherwise

This function provides an interrupt synchronization point that is required by tzic enabled platforms before entering imx specific low power modes (ie, those low power modes beyond the WAIT_CLOCKED basic ARM WFI only mode).

Definition at line 211 of file tzic.c.

Variable Documentation

unsigned int __mxc_cpu_type

Definition at line 6 of file cpu.c.

struct cpu_op*(* get_cpu_op)(int *op)
read

Definition at line 30 of file cpufreq.c.