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

Go to the source code of this file.

Macros

#define DAVINCI_PWR_SLEEP_CNTRL_BASE   0x01C41000
 
#define DAVINCI_GPSC_ARMDOMAIN   0
 
#define DAVINCI_GPSC_DSPDOMAIN   1
 
#define DAVINCI_LPSC_VPSSMSTR   0
 
#define DAVINCI_LPSC_VPSSSLV   1
 
#define DAVINCI_LPSC_TPCC   2
 
#define DAVINCI_LPSC_TPTC0   3
 
#define DAVINCI_LPSC_TPTC1   4
 
#define DAVINCI_LPSC_EMAC   5
 
#define DAVINCI_LPSC_EMAC_WRAPPER   6
 
#define DAVINCI_LPSC_USB   9
 
#define DAVINCI_LPSC_ATA   10
 
#define DAVINCI_LPSC_VLYNQ   11
 
#define DAVINCI_LPSC_UHPI   12
 
#define DAVINCI_LPSC_DDR_EMIF   13
 
#define DAVINCI_LPSC_AEMIF   14
 
#define DAVINCI_LPSC_MMC_SD   15
 
#define DAVINCI_LPSC_McBSP   17
 
#define DAVINCI_LPSC_I2C   18
 
#define DAVINCI_LPSC_UART0   19
 
#define DAVINCI_LPSC_UART1   20
 
#define DAVINCI_LPSC_UART2   21
 
#define DAVINCI_LPSC_SPI   22
 
#define DAVINCI_LPSC_PWM0   23
 
#define DAVINCI_LPSC_PWM1   24
 
#define DAVINCI_LPSC_PWM2   25
 
#define DAVINCI_LPSC_GPIO   26
 
#define DAVINCI_LPSC_TIMER0   27
 
#define DAVINCI_LPSC_TIMER1   28
 
#define DAVINCI_LPSC_TIMER2   29
 
#define DAVINCI_LPSC_SYSTEM_SUBSYS   30
 
#define DAVINCI_LPSC_ARM   31
 
#define DAVINCI_LPSC_SCR2   32
 
#define DAVINCI_LPSC_SCR3   33
 
#define DAVINCI_LPSC_SCR4   34
 
#define DAVINCI_LPSC_CROSSBAR   35
 
#define DAVINCI_LPSC_CFG27   36
 
#define DAVINCI_LPSC_CFG3   37
 
#define DAVINCI_LPSC_CFG5   38
 
#define DAVINCI_LPSC_GEM   39
 
#define DAVINCI_LPSC_IMCOP   40
 
#define DM355_LPSC_TIMER3   5
 
#define DM355_LPSC_SPI1   6
 
#define DM355_LPSC_MMC_SD1   7
 
#define DM355_LPSC_McBSP1   8
 
#define DM355_LPSC_PWM3   10
 
#define DM355_LPSC_SPI2   11
 
#define DM355_LPSC_RTO   12
 
#define DM355_LPSC_VPSS_DAC   41
 
#define DM365_LPSC_TIMER3   5
 
#define DM365_LPSC_SPI1   6
 
#define DM365_LPSC_MMC_SD1   7
 
#define DM365_LPSC_McBSP1   8
 
#define DM365_LPSC_PWM3   10
 
#define DM365_LPSC_SPI2   11
 
#define DM365_LPSC_RTO   12
 
#define DM365_LPSC_TIMER4   17
 
#define DM365_LPSC_SPI0   22
 
#define DM365_LPSC_SPI3   38
 
#define DM365_LPSC_SPI4   39
 
#define DM365_LPSC_EMAC   40
 
#define DM365_LPSC_VOICE_CODEC   44
 
#define DM365_LPSC_DAC_CLK   46
 
#define DM365_LPSC_VPSSMSTR   47
 
#define DM365_LPSC_MJCP   50
 
#define DM646X_LPSC_ARM   0
 
#define DM646X_LPSC_C64X_CPU   1
 
#define DM646X_LPSC_HDVICP0   2
 
#define DM646X_LPSC_HDVICP1   3
 
#define DM646X_LPSC_TPCC   4
 
#define DM646X_LPSC_TPTC0   5
 
#define DM646X_LPSC_TPTC1   6
 
#define DM646X_LPSC_TPTC2   7
 
#define DM646X_LPSC_TPTC3   8
 
#define DM646X_LPSC_PCI   13
 
#define DM646X_LPSC_EMAC   14
 
#define DM646X_LPSC_VDCE   15
 
#define DM646X_LPSC_VPSSMSTR   16
 
#define DM646X_LPSC_VPSSSLV   17
 
#define DM646X_LPSC_TSIF0   18
 
#define DM646X_LPSC_TSIF1   19
 
#define DM646X_LPSC_DDR_EMIF   20
 
#define DM646X_LPSC_AEMIF   21
 
#define DM646X_LPSC_McASP0   22
 
#define DM646X_LPSC_McASP1   23
 
#define DM646X_LPSC_CRGEN0   24
 
#define DM646X_LPSC_CRGEN1   25
 
#define DM646X_LPSC_UART0   26
 
#define DM646X_LPSC_UART1   27
 
#define DM646X_LPSC_UART2   28
 
#define DM646X_LPSC_PWM0   29
 
#define DM646X_LPSC_PWM1   30
 
#define DM646X_LPSC_I2C   31
 
#define DM646X_LPSC_SPI   32
 
#define DM646X_LPSC_GPIO   33
 
#define DM646X_LPSC_TIMER0   34
 
#define DM646X_LPSC_TIMER1   35
 
#define DM646X_LPSC_ARM_INTC   45
 
#define DA8XX_LPSC0_TPCC   0
 
#define DA8XX_LPSC0_TPTC0   1
 
#define DA8XX_LPSC0_TPTC1   2
 
#define DA8XX_LPSC0_EMIF25   3
 
#define DA8XX_LPSC0_SPI0   4
 
#define DA8XX_LPSC0_MMC_SD   5
 
#define DA8XX_LPSC0_AINTC   6
 
#define DA8XX_LPSC0_ARM_RAM_ROM   7
 
#define DA8XX_LPSC0_SECU_MGR   8
 
#define DA8XX_LPSC0_UART0   9
 
#define DA8XX_LPSC0_SCR0_SS   10
 
#define DA8XX_LPSC0_SCR1_SS   11
 
#define DA8XX_LPSC0_SCR2_SS   12
 
#define DA8XX_LPSC0_PRUSS   13
 
#define DA8XX_LPSC0_ARM   14
 
#define DA8XX_LPSC0_GEM   15
 
#define DA850_LPSC1_TPCC1   0
 
#define DA8XX_LPSC1_USB20   1
 
#define DA8XX_LPSC1_USB11   2
 
#define DA8XX_LPSC1_GPIO   3
 
#define DA8XX_LPSC1_UHPI   4
 
#define DA8XX_LPSC1_CPGMAC   5
 
#define DA8XX_LPSC1_EMIF3C   6
 
#define DA8XX_LPSC1_McASP0   7
 
#define DA830_LPSC1_McASP1   8
 
#define DA850_LPSC1_SATA   8
 
#define DA830_LPSC1_McASP2   9
 
#define DA850_LPSC1_VPIF   9
 
#define DA8XX_LPSC1_SPI1   10
 
#define DA8XX_LPSC1_I2C   11
 
#define DA8XX_LPSC1_UART1   12
 
#define DA8XX_LPSC1_UART2   13
 
#define DA8XX_LPSC1_LCDC   16
 
#define DA8XX_LPSC1_PWM   17
 
#define DA850_LPSC1_MMC_SD1   18
 
#define DA8XX_LPSC1_ECAP   20
 
#define DA830_LPSC1_EQEP   21
 
#define DA850_LPSC1_TPTC2   21
 
#define DA8XX_LPSC1_SCR_P0_SS   24
 
#define DA8XX_LPSC1_SCR_P1_SS   25
 
#define DA8XX_LPSC1_CR_P3_SS   26
 
#define DA8XX_LPSC1_L3_CBA_RAM   31
 
#define TNETV107X_LPSC_ARM   0
 
#define TNETV107X_LPSC_GEM   1
 
#define TNETV107X_LPSC_DDR2_PHY   2
 
#define TNETV107X_LPSC_TPCC   3
 
#define TNETV107X_LPSC_TPTC0   4
 
#define TNETV107X_LPSC_TPTC1   5
 
#define TNETV107X_LPSC_RAM   6
 
#define TNETV107X_LPSC_MBX_LITE   7
 
#define TNETV107X_LPSC_LCD   8
 
#define TNETV107X_LPSC_ETHSS   9
 
#define TNETV107X_LPSC_AEMIF   10
 
#define TNETV107X_LPSC_CHIP_CFG   11
 
#define TNETV107X_LPSC_TSC   12
 
#define TNETV107X_LPSC_ROM   13
 
#define TNETV107X_LPSC_UART2   14
 
#define TNETV107X_LPSC_PKTSEC   15
 
#define TNETV107X_LPSC_SECCTL   16
 
#define TNETV107X_LPSC_KEYMGR   17
 
#define TNETV107X_LPSC_KEYPAD   18
 
#define TNETV107X_LPSC_GPIO   19
 
#define TNETV107X_LPSC_MDIO   20
 
#define TNETV107X_LPSC_SDIO0   21
 
#define TNETV107X_LPSC_UART0   22
 
#define TNETV107X_LPSC_UART1   23
 
#define TNETV107X_LPSC_TIMER0   24
 
#define TNETV107X_LPSC_TIMER1   25
 
#define TNETV107X_LPSC_WDT_ARM   26
 
#define TNETV107X_LPSC_WDT_DSP   27
 
#define TNETV107X_LPSC_SSP   28
 
#define TNETV107X_LPSC_TDM0   29
 
#define TNETV107X_LPSC_VLYNQ   30
 
#define TNETV107X_LPSC_MCDMA   31
 
#define TNETV107X_LPSC_USB0   32
 
#define TNETV107X_LPSC_TDM1   33
 
#define TNETV107X_LPSC_DEBUGSS   34
 
#define TNETV107X_LPSC_ETHSS_RGMII   35
 
#define TNETV107X_LPSC_SYSTEM   36
 
#define TNETV107X_LPSC_IMCOP   37
 
#define TNETV107X_LPSC_SPARE   38
 
#define TNETV107X_LPSC_SDIO1   39
 
#define TNETV107X_LPSC_USB1   40
 
#define TNETV107X_LPSC_USBSS   41
 
#define TNETV107X_LPSC_DDR2_EMIF1_VRST   42
 
#define TNETV107X_LPSC_DDR2_EMIF2_VCTL_RST   43
 
#define TNETV107X_LPSC_MAX   44
 
#define EPCPR   0x070
 
#define PTCMD   0x120
 
#define PTSTAT   0x128
 
#define PDSTAT   0x200
 
#define PDCTL   0x300
 
#define MDSTAT   0x800
 
#define MDCTL   0xA00
 
#define PSC_STATE_SWRSTDISABLE   0
 
#define PSC_STATE_SYNCRST   1
 
#define PSC_STATE_DISABLE   2
 
#define PSC_STATE_ENABLE   3
 
#define MDSTAT_STATE_MASK   0x3f
 
#define PDSTAT_STATE_MASK   0x1f
 
#define MDCTL_FORCE   BIT(31)
 
#define PDCTL_NEXT   BIT(0)
 
#define PDCTL_EPCGOOD   BIT(8)
 

Functions

int davinci_psc_is_clk_active (unsigned int ctlr, unsigned int id)
 
void davinci_psc_config (unsigned int domain, unsigned int ctlr, unsigned int id, bool enable, u32 flags)
 

Macro Definition Documentation

#define DA830_LPSC1_EQEP   21

Definition at line 178 of file psc.h.

#define DA830_LPSC1_McASP1   8

Definition at line 166 of file psc.h.

#define DA830_LPSC1_McASP2   9

Definition at line 168 of file psc.h.

#define DA850_LPSC1_MMC_SD1   18

Definition at line 176 of file psc.h.

#define DA850_LPSC1_SATA   8

Definition at line 167 of file psc.h.

#define DA850_LPSC1_TPCC1   0

Definition at line 158 of file psc.h.

#define DA850_LPSC1_TPTC2   21

Definition at line 179 of file psc.h.

#define DA850_LPSC1_VPIF   9

Definition at line 169 of file psc.h.

#define DA8XX_LPSC0_AINTC   6

Definition at line 146 of file psc.h.

#define DA8XX_LPSC0_ARM   14

Definition at line 154 of file psc.h.

#define DA8XX_LPSC0_ARM_RAM_ROM   7

Definition at line 147 of file psc.h.

#define DA8XX_LPSC0_EMIF25   3

Definition at line 143 of file psc.h.

#define DA8XX_LPSC0_GEM   15

Definition at line 155 of file psc.h.

#define DA8XX_LPSC0_MMC_SD   5

Definition at line 145 of file psc.h.

#define DA8XX_LPSC0_PRUSS   13

Definition at line 153 of file psc.h.

#define DA8XX_LPSC0_SCR0_SS   10

Definition at line 150 of file psc.h.

#define DA8XX_LPSC0_SCR1_SS   11

Definition at line 151 of file psc.h.

#define DA8XX_LPSC0_SCR2_SS   12

Definition at line 152 of file psc.h.

#define DA8XX_LPSC0_SECU_MGR   8

Definition at line 148 of file psc.h.

#define DA8XX_LPSC0_SPI0   4

Definition at line 144 of file psc.h.

#define DA8XX_LPSC0_TPCC   0

Definition at line 140 of file psc.h.

#define DA8XX_LPSC0_TPTC0   1

Definition at line 141 of file psc.h.

#define DA8XX_LPSC0_TPTC1   2

Definition at line 142 of file psc.h.

#define DA8XX_LPSC0_UART0   9

Definition at line 149 of file psc.h.

#define DA8XX_LPSC1_CPGMAC   5

Definition at line 163 of file psc.h.

#define DA8XX_LPSC1_CR_P3_SS   26

Definition at line 182 of file psc.h.

#define DA8XX_LPSC1_ECAP   20

Definition at line 177 of file psc.h.

#define DA8XX_LPSC1_EMIF3C   6

Definition at line 164 of file psc.h.

#define DA8XX_LPSC1_GPIO   3

Definition at line 161 of file psc.h.

#define DA8XX_LPSC1_I2C   11

Definition at line 171 of file psc.h.

#define DA8XX_LPSC1_L3_CBA_RAM   31

Definition at line 183 of file psc.h.

#define DA8XX_LPSC1_LCDC   16

Definition at line 174 of file psc.h.

#define DA8XX_LPSC1_McASP0   7

Definition at line 165 of file psc.h.

#define DA8XX_LPSC1_PWM   17

Definition at line 175 of file psc.h.

#define DA8XX_LPSC1_SCR_P0_SS   24

Definition at line 180 of file psc.h.

#define DA8XX_LPSC1_SCR_P1_SS   25

Definition at line 181 of file psc.h.

#define DA8XX_LPSC1_SPI1   10

Definition at line 170 of file psc.h.

#define DA8XX_LPSC1_UART1   12

Definition at line 172 of file psc.h.

#define DA8XX_LPSC1_UART2   13

Definition at line 173 of file psc.h.

#define DA8XX_LPSC1_UHPI   4

Definition at line 162 of file psc.h.

#define DA8XX_LPSC1_USB11   2

Definition at line 160 of file psc.h.

#define DA8XX_LPSC1_USB20   1

Definition at line 159 of file psc.h.

#define DAVINCI_GPSC_ARMDOMAIN   0

Definition at line 33 of file psc.h.

#define DAVINCI_GPSC_DSPDOMAIN   1

Definition at line 34 of file psc.h.

#define DAVINCI_LPSC_AEMIF   14

Definition at line 48 of file psc.h.

#define DAVINCI_LPSC_ARM   31

Definition at line 64 of file psc.h.

#define DAVINCI_LPSC_ATA   10

Definition at line 44 of file psc.h.

#define DAVINCI_LPSC_CFG27   36

Definition at line 69 of file psc.h.

#define DAVINCI_LPSC_CFG3   37

Definition at line 70 of file psc.h.

#define DAVINCI_LPSC_CFG5   38

Definition at line 71 of file psc.h.

#define DAVINCI_LPSC_CROSSBAR   35

Definition at line 68 of file psc.h.

#define DAVINCI_LPSC_DDR_EMIF   13

Definition at line 47 of file psc.h.

#define DAVINCI_LPSC_EMAC   5

Definition at line 41 of file psc.h.

#define DAVINCI_LPSC_EMAC_WRAPPER   6

Definition at line 42 of file psc.h.

#define DAVINCI_LPSC_GEM   39

Definition at line 72 of file psc.h.

#define DAVINCI_LPSC_GPIO   26

Definition at line 59 of file psc.h.

#define DAVINCI_LPSC_I2C   18

Definition at line 51 of file psc.h.

#define DAVINCI_LPSC_IMCOP   40

Definition at line 73 of file psc.h.

#define DAVINCI_LPSC_McBSP   17

Definition at line 50 of file psc.h.

#define DAVINCI_LPSC_MMC_SD   15

Definition at line 49 of file psc.h.

#define DAVINCI_LPSC_PWM0   23

Definition at line 56 of file psc.h.

#define DAVINCI_LPSC_PWM1   24

Definition at line 57 of file psc.h.

#define DAVINCI_LPSC_PWM2   25

Definition at line 58 of file psc.h.

#define DAVINCI_LPSC_SCR2   32

Definition at line 65 of file psc.h.

#define DAVINCI_LPSC_SCR3   33

Definition at line 66 of file psc.h.

#define DAVINCI_LPSC_SCR4   34

Definition at line 67 of file psc.h.

#define DAVINCI_LPSC_SPI   22

Definition at line 55 of file psc.h.

#define DAVINCI_LPSC_SYSTEM_SUBSYS   30

Definition at line 63 of file psc.h.

#define DAVINCI_LPSC_TIMER0   27

Definition at line 60 of file psc.h.

#define DAVINCI_LPSC_TIMER1   28

Definition at line 61 of file psc.h.

#define DAVINCI_LPSC_TIMER2   29

Definition at line 62 of file psc.h.

#define DAVINCI_LPSC_TPCC   2

Definition at line 38 of file psc.h.

#define DAVINCI_LPSC_TPTC0   3

Definition at line 39 of file psc.h.

#define DAVINCI_LPSC_TPTC1   4

Definition at line 40 of file psc.h.

#define DAVINCI_LPSC_UART0   19

Definition at line 52 of file psc.h.

#define DAVINCI_LPSC_UART1   20

Definition at line 53 of file psc.h.

#define DAVINCI_LPSC_UART2   21

Definition at line 54 of file psc.h.

#define DAVINCI_LPSC_UHPI   12

Definition at line 46 of file psc.h.

#define DAVINCI_LPSC_USB   9

Definition at line 43 of file psc.h.

#define DAVINCI_LPSC_VLYNQ   11

Definition at line 45 of file psc.h.

#define DAVINCI_LPSC_VPSSMSTR   0

Definition at line 36 of file psc.h.

#define DAVINCI_LPSC_VPSSSLV   1

Definition at line 37 of file psc.h.

#define DAVINCI_PWR_SLEEP_CNTRL_BASE   0x01C41000

Definition at line 30 of file psc.h.

#define DM355_LPSC_McBSP1   8

Definition at line 78 of file psc.h.

#define DM355_LPSC_MMC_SD1   7

Definition at line 77 of file psc.h.

#define DM355_LPSC_PWM3   10

Definition at line 79 of file psc.h.

#define DM355_LPSC_RTO   12

Definition at line 81 of file psc.h.

#define DM355_LPSC_SPI1   6

Definition at line 76 of file psc.h.

#define DM355_LPSC_SPI2   11

Definition at line 80 of file psc.h.

#define DM355_LPSC_TIMER3   5

Definition at line 75 of file psc.h.

#define DM355_LPSC_VPSS_DAC   41

Definition at line 82 of file psc.h.

#define DM365_LPSC_DAC_CLK   46

Definition at line 98 of file psc.h.

#define DM365_LPSC_EMAC   40

Definition at line 96 of file psc.h.

#define DM365_LPSC_McBSP1   8

Definition at line 88 of file psc.h.

#define DM365_LPSC_MJCP   50

Definition at line 100 of file psc.h.

#define DM365_LPSC_MMC_SD1   7

Definition at line 87 of file psc.h.

#define DM365_LPSC_PWM3   10

Definition at line 89 of file psc.h.

#define DM365_LPSC_RTO   12

Definition at line 91 of file psc.h.

#define DM365_LPSC_SPI0   22

Definition at line 93 of file psc.h.

#define DM365_LPSC_SPI1   6

Definition at line 86 of file psc.h.

#define DM365_LPSC_SPI2   11

Definition at line 90 of file psc.h.

#define DM365_LPSC_SPI3   38

Definition at line 94 of file psc.h.

#define DM365_LPSC_SPI4   39

Definition at line 95 of file psc.h.

#define DM365_LPSC_TIMER3   5

Definition at line 85 of file psc.h.

#define DM365_LPSC_TIMER4   17

Definition at line 92 of file psc.h.

#define DM365_LPSC_VOICE_CODEC   44

Definition at line 97 of file psc.h.

#define DM365_LPSC_VPSSMSTR   47

Definition at line 99 of file psc.h.

#define DM646X_LPSC_AEMIF   21

Definition at line 122 of file psc.h.

#define DM646X_LPSC_ARM   0

Definition at line 105 of file psc.h.

#define DM646X_LPSC_ARM_INTC   45

Definition at line 137 of file psc.h.

#define DM646X_LPSC_C64X_CPU   1

Definition at line 106 of file psc.h.

#define DM646X_LPSC_CRGEN0   24

Definition at line 125 of file psc.h.

#define DM646X_LPSC_CRGEN1   25

Definition at line 126 of file psc.h.

#define DM646X_LPSC_DDR_EMIF   20

Definition at line 121 of file psc.h.

#define DM646X_LPSC_EMAC   14

Definition at line 115 of file psc.h.

#define DM646X_LPSC_GPIO   33

Definition at line 134 of file psc.h.

#define DM646X_LPSC_HDVICP0   2

Definition at line 107 of file psc.h.

#define DM646X_LPSC_HDVICP1   3

Definition at line 108 of file psc.h.

#define DM646X_LPSC_I2C   31

Definition at line 132 of file psc.h.

#define DM646X_LPSC_McASP0   22

Definition at line 123 of file psc.h.

#define DM646X_LPSC_McASP1   23

Definition at line 124 of file psc.h.

#define DM646X_LPSC_PCI   13

Definition at line 114 of file psc.h.

#define DM646X_LPSC_PWM0   29

Definition at line 130 of file psc.h.

#define DM646X_LPSC_PWM1   30

Definition at line 131 of file psc.h.

#define DM646X_LPSC_SPI   32

Definition at line 133 of file psc.h.

#define DM646X_LPSC_TIMER0   34

Definition at line 135 of file psc.h.

#define DM646X_LPSC_TIMER1   35

Definition at line 136 of file psc.h.

#define DM646X_LPSC_TPCC   4

Definition at line 109 of file psc.h.

#define DM646X_LPSC_TPTC0   5

Definition at line 110 of file psc.h.

#define DM646X_LPSC_TPTC1   6

Definition at line 111 of file psc.h.

#define DM646X_LPSC_TPTC2   7

Definition at line 112 of file psc.h.

#define DM646X_LPSC_TPTC3   8

Definition at line 113 of file psc.h.

#define DM646X_LPSC_TSIF0   18

Definition at line 119 of file psc.h.

#define DM646X_LPSC_TSIF1   19

Definition at line 120 of file psc.h.

#define DM646X_LPSC_UART0   26

Definition at line 127 of file psc.h.

#define DM646X_LPSC_UART1   27

Definition at line 128 of file psc.h.

#define DM646X_LPSC_UART2   28

Definition at line 129 of file psc.h.

#define DM646X_LPSC_VDCE   15

Definition at line 116 of file psc.h.

#define DM646X_LPSC_VPSSMSTR   16

Definition at line 117 of file psc.h.

#define DM646X_LPSC_VPSSSLV   17

Definition at line 118 of file psc.h.

#define EPCPR   0x070

Definition at line 233 of file psc.h.

#define MDCTL   0xA00

Definition at line 239 of file psc.h.

#define MDCTL_FORCE   BIT(31)

Definition at line 249 of file psc.h.

#define MDSTAT   0x800

Definition at line 238 of file psc.h.

#define MDSTAT_STATE_MASK   0x3f

Definition at line 247 of file psc.h.

#define PDCTL   0x300

Definition at line 237 of file psc.h.

#define PDCTL_EPCGOOD   BIT(8)

Definition at line 251 of file psc.h.

#define PDCTL_NEXT   BIT(0)

Definition at line 250 of file psc.h.

#define PDSTAT   0x200

Definition at line 236 of file psc.h.

#define PDSTAT_STATE_MASK   0x1f

Definition at line 248 of file psc.h.

#define PSC_STATE_DISABLE   2

Definition at line 244 of file psc.h.

#define PSC_STATE_ENABLE   3

Definition at line 245 of file psc.h.

#define PSC_STATE_SWRSTDISABLE   0

Definition at line 242 of file psc.h.

#define PSC_STATE_SYNCRST   1

Definition at line 243 of file psc.h.

#define PTCMD   0x120

Definition at line 234 of file psc.h.

#define PTSTAT   0x128

Definition at line 235 of file psc.h.

#define TNETV107X_LPSC_AEMIF   10

Definition at line 196 of file psc.h.

#define TNETV107X_LPSC_ARM   0

Definition at line 186 of file psc.h.

#define TNETV107X_LPSC_CHIP_CFG   11

Definition at line 197 of file psc.h.

#define TNETV107X_LPSC_DDR2_EMIF1_VRST   42

Definition at line 228 of file psc.h.

#define TNETV107X_LPSC_DDR2_EMIF2_VCTL_RST   43

Definition at line 229 of file psc.h.

#define TNETV107X_LPSC_DDR2_PHY   2

Definition at line 188 of file psc.h.

#define TNETV107X_LPSC_DEBUGSS   34

Definition at line 220 of file psc.h.

#define TNETV107X_LPSC_ETHSS   9

Definition at line 195 of file psc.h.

#define TNETV107X_LPSC_ETHSS_RGMII   35

Definition at line 221 of file psc.h.

#define TNETV107X_LPSC_GEM   1

Definition at line 187 of file psc.h.

#define TNETV107X_LPSC_GPIO   19

Definition at line 205 of file psc.h.

#define TNETV107X_LPSC_IMCOP   37

Definition at line 223 of file psc.h.

#define TNETV107X_LPSC_KEYMGR   17

Definition at line 203 of file psc.h.

#define TNETV107X_LPSC_KEYPAD   18

Definition at line 204 of file psc.h.

#define TNETV107X_LPSC_LCD   8

Definition at line 194 of file psc.h.

#define TNETV107X_LPSC_MAX   44

Definition at line 230 of file psc.h.

#define TNETV107X_LPSC_MBX_LITE   7

Definition at line 193 of file psc.h.

#define TNETV107X_LPSC_MCDMA   31

Definition at line 217 of file psc.h.

#define TNETV107X_LPSC_MDIO   20

Definition at line 206 of file psc.h.

#define TNETV107X_LPSC_PKTSEC   15

Definition at line 201 of file psc.h.

#define TNETV107X_LPSC_RAM   6

Definition at line 192 of file psc.h.

#define TNETV107X_LPSC_ROM   13

Definition at line 199 of file psc.h.

#define TNETV107X_LPSC_SDIO0   21

Definition at line 207 of file psc.h.

#define TNETV107X_LPSC_SDIO1   39

Definition at line 225 of file psc.h.

#define TNETV107X_LPSC_SECCTL   16

Definition at line 202 of file psc.h.

#define TNETV107X_LPSC_SPARE   38

Definition at line 224 of file psc.h.

#define TNETV107X_LPSC_SSP   28

Definition at line 214 of file psc.h.

#define TNETV107X_LPSC_SYSTEM   36

Definition at line 222 of file psc.h.

#define TNETV107X_LPSC_TDM0   29

Definition at line 215 of file psc.h.

#define TNETV107X_LPSC_TDM1   33

Definition at line 219 of file psc.h.

#define TNETV107X_LPSC_TIMER0   24

Definition at line 210 of file psc.h.

#define TNETV107X_LPSC_TIMER1   25

Definition at line 211 of file psc.h.

#define TNETV107X_LPSC_TPCC   3

Definition at line 189 of file psc.h.

#define TNETV107X_LPSC_TPTC0   4

Definition at line 190 of file psc.h.

#define TNETV107X_LPSC_TPTC1   5

Definition at line 191 of file psc.h.

#define TNETV107X_LPSC_TSC   12

Definition at line 198 of file psc.h.

#define TNETV107X_LPSC_UART0   22

Definition at line 208 of file psc.h.

#define TNETV107X_LPSC_UART1   23

Definition at line 209 of file psc.h.

#define TNETV107X_LPSC_UART2   14

Definition at line 200 of file psc.h.

#define TNETV107X_LPSC_USB0   32

Definition at line 218 of file psc.h.

#define TNETV107X_LPSC_USB1   40

Definition at line 226 of file psc.h.

#define TNETV107X_LPSC_USBSS   41

Definition at line 227 of file psc.h.

#define TNETV107X_LPSC_VLYNQ   30

Definition at line 216 of file psc.h.

#define TNETV107X_LPSC_WDT_ARM   26

Definition at line 212 of file psc.h.

#define TNETV107X_LPSC_WDT_DSP   27

Definition at line 213 of file psc.h.

Function Documentation

void davinci_psc_config ( unsigned int  domain,
unsigned int  ctlr,
unsigned int  id,
bool  enable,
u32  flags 
)

Definition at line 52 of file psc.c.

int davinci_psc_is_clk_active ( unsigned int  ctlr,
unsigned int  id 
)

Definition at line 31 of file psc.c.