Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
pm.h File Reference
#include <asm/errno.h>
#include <mach/irqs.h>

Go to the source code of this file.

Macros

#define CLOCK_GATING_CONTROL   (DOVE_PMU_VIRT_BASE + 0x38)
 
#define CLOCK_GATING_BIT_USB0   0
 
#define CLOCK_GATING_BIT_USB1   1
 
#define CLOCK_GATING_BIT_GBE   2
 
#define CLOCK_GATING_BIT_SATA   3
 
#define CLOCK_GATING_BIT_PCIE0   4
 
#define CLOCK_GATING_BIT_PCIE1   5
 
#define CLOCK_GATING_BIT_SDIO0   8
 
#define CLOCK_GATING_BIT_SDIO1   9
 
#define CLOCK_GATING_BIT_NAND   10
 
#define CLOCK_GATING_BIT_CAMERA   11
 
#define CLOCK_GATING_BIT_I2S0   12
 
#define CLOCK_GATING_BIT_I2S1   13
 
#define CLOCK_GATING_BIT_CRYPTO   15
 
#define CLOCK_GATING_BIT_AC97   21
 
#define CLOCK_GATING_BIT_PDMA   22
 
#define CLOCK_GATING_BIT_XOR0   23
 
#define CLOCK_GATING_BIT_XOR1   24
 
#define CLOCK_GATING_BIT_GIGA_PHY   30
 
#define CLOCK_GATING_USB0_MASK   (1 << CLOCK_GATING_BIT_USB0)
 
#define CLOCK_GATING_USB1_MASK   (1 << CLOCK_GATING_BIT_USB1)
 
#define CLOCK_GATING_GBE_MASK   (1 << CLOCK_GATING_BIT_GBE)
 
#define CLOCK_GATING_SATA_MASK   (1 << CLOCK_GATING_BIT_SATA)
 
#define CLOCK_GATING_PCIE0_MASK   (1 << CLOCK_GATING_BIT_PCIE0)
 
#define CLOCK_GATING_PCIE1_MASK   (1 << CLOCK_GATING_BIT_PCIE1)
 
#define CLOCK_GATING_SDIO0_MASK   (1 << CLOCK_GATING_BIT_SDIO0)
 
#define CLOCK_GATING_SDIO1_MASK   (1 << CLOCK_GATING_BIT_SDIO1)
 
#define CLOCK_GATING_NAND_MASK   (1 << CLOCK_GATING_BIT_NAND)
 
#define CLOCK_GATING_CAMERA_MASK   (1 << CLOCK_GATING_BIT_CAMERA)
 
#define CLOCK_GATING_I2S0_MASK   (1 << CLOCK_GATING_BIT_I2S0)
 
#define CLOCK_GATING_I2S1_MASK   (1 << CLOCK_GATING_BIT_I2S1)
 
#define CLOCK_GATING_CRYPTO_MASK   (1 << CLOCK_GATING_BIT_CRYPTO)
 
#define CLOCK_GATING_AC97_MASK   (1 << CLOCK_GATING_BIT_AC97)
 
#define CLOCK_GATING_PDMA_MASK   (1 << CLOCK_GATING_BIT_PDMA)
 
#define CLOCK_GATING_XOR0_MASK   (1 << CLOCK_GATING_BIT_XOR0)
 
#define CLOCK_GATING_XOR1_MASK   (1 << CLOCK_GATING_BIT_XOR1)
 
#define CLOCK_GATING_GIGA_PHY_MASK   (1 << CLOCK_GATING_BIT_GIGA_PHY)
 
#define PMU_INTERRUPT_CAUSE   (DOVE_PMU_VIRT_BASE + 0x50)
 
#define PMU_INTERRUPT_MASK   (DOVE_PMU_VIRT_BASE + 0x54)
 

Macro Definition Documentation

#define CLOCK_GATING_AC97_MASK   (1 << CLOCK_GATING_BIT_AC97)

Definition at line 47 of file pm.h.

#define CLOCK_GATING_BIT_AC97   21

Definition at line 29 of file pm.h.

#define CLOCK_GATING_BIT_CAMERA   11

Definition at line 25 of file pm.h.

#define CLOCK_GATING_BIT_CRYPTO   15

Definition at line 28 of file pm.h.

#define CLOCK_GATING_BIT_GBE   2

Definition at line 18 of file pm.h.

#define CLOCK_GATING_BIT_GIGA_PHY   30

Definition at line 33 of file pm.h.

#define CLOCK_GATING_BIT_I2S0   12

Definition at line 26 of file pm.h.

#define CLOCK_GATING_BIT_I2S1   13

Definition at line 27 of file pm.h.

#define CLOCK_GATING_BIT_NAND   10

Definition at line 24 of file pm.h.

#define CLOCK_GATING_BIT_PCIE0   4

Definition at line 20 of file pm.h.

#define CLOCK_GATING_BIT_PCIE1   5

Definition at line 21 of file pm.h.

#define CLOCK_GATING_BIT_PDMA   22

Definition at line 30 of file pm.h.

#define CLOCK_GATING_BIT_SATA   3

Definition at line 19 of file pm.h.

#define CLOCK_GATING_BIT_SDIO0   8

Definition at line 22 of file pm.h.

#define CLOCK_GATING_BIT_SDIO1   9

Definition at line 23 of file pm.h.

#define CLOCK_GATING_BIT_USB0   0

Definition at line 16 of file pm.h.

#define CLOCK_GATING_BIT_USB1   1

Definition at line 17 of file pm.h.

#define CLOCK_GATING_BIT_XOR0   23

Definition at line 31 of file pm.h.

#define CLOCK_GATING_BIT_XOR1   24

Definition at line 32 of file pm.h.

#define CLOCK_GATING_CAMERA_MASK   (1 << CLOCK_GATING_BIT_CAMERA)

Definition at line 43 of file pm.h.

#define CLOCK_GATING_CONTROL   (DOVE_PMU_VIRT_BASE + 0x38)

Definition at line 15 of file pm.h.

#define CLOCK_GATING_CRYPTO_MASK   (1 << CLOCK_GATING_BIT_CRYPTO)

Definition at line 46 of file pm.h.

#define CLOCK_GATING_GBE_MASK   (1 << CLOCK_GATING_BIT_GBE)

Definition at line 36 of file pm.h.

#define CLOCK_GATING_GIGA_PHY_MASK   (1 << CLOCK_GATING_BIT_GIGA_PHY)

Definition at line 51 of file pm.h.

#define CLOCK_GATING_I2S0_MASK   (1 << CLOCK_GATING_BIT_I2S0)

Definition at line 44 of file pm.h.

#define CLOCK_GATING_I2S1_MASK   (1 << CLOCK_GATING_BIT_I2S1)

Definition at line 45 of file pm.h.

#define CLOCK_GATING_NAND_MASK   (1 << CLOCK_GATING_BIT_NAND)

Definition at line 42 of file pm.h.

#define CLOCK_GATING_PCIE0_MASK   (1 << CLOCK_GATING_BIT_PCIE0)

Definition at line 38 of file pm.h.

#define CLOCK_GATING_PCIE1_MASK   (1 << CLOCK_GATING_BIT_PCIE1)

Definition at line 39 of file pm.h.

#define CLOCK_GATING_PDMA_MASK   (1 << CLOCK_GATING_BIT_PDMA)

Definition at line 48 of file pm.h.

#define CLOCK_GATING_SATA_MASK   (1 << CLOCK_GATING_BIT_SATA)

Definition at line 37 of file pm.h.

#define CLOCK_GATING_SDIO0_MASK   (1 << CLOCK_GATING_BIT_SDIO0)

Definition at line 40 of file pm.h.

#define CLOCK_GATING_SDIO1_MASK   (1 << CLOCK_GATING_BIT_SDIO1)

Definition at line 41 of file pm.h.

#define CLOCK_GATING_USB0_MASK   (1 << CLOCK_GATING_BIT_USB0)

Definition at line 34 of file pm.h.

#define CLOCK_GATING_USB1_MASK   (1 << CLOCK_GATING_BIT_USB1)

Definition at line 35 of file pm.h.

#define CLOCK_GATING_XOR0_MASK   (1 << CLOCK_GATING_BIT_XOR0)

Definition at line 49 of file pm.h.

#define CLOCK_GATING_XOR1_MASK   (1 << CLOCK_GATING_BIT_XOR1)

Definition at line 50 of file pm.h.

#define PMU_INTERRUPT_CAUSE   (DOVE_PMU_VIRT_BASE + 0x50)

Definition at line 53 of file pm.h.

#define PMU_INTERRUPT_MASK   (DOVE_PMU_VIRT_BASE + 0x54)

Definition at line 54 of file pm.h.