source: svn/newcon3bcm2_21bu/magnum/basemodules/chp/7552/bchp_pwr_resources_priv.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 5.5 KB
Line 
1/***************************************************************
2*
3* This file is auto-generated by generate_chp_pwr.pl, based on
4* bchp_pwr_resources.txt.
5*
6* This file contains a list of private power resource IDs that
7* represent HW clocks, and function prototypes for controlling
8* them.
9*
10***************************************************************/
11
12#ifndef BCHP_PWR_RESOURCES_PRIV_H__
13#define BCHP_PWR_RESOURCES_PRIV_H__
14
15#include "bchp_pwr.h"
16
17/* Private power resource IDs */
18#define BCHP_PWR_HW_AVD0_CLK               0xff000001
19#define BCHP_PWR_HW_AVD0_PWR               0xff000002
20#define BCHP_PWR_HW_VEC_AIO                0xff000003
21#define BCHP_PWR_HW_RAAGA                  0xff000004
22#define BCHP_PWR_HW_AUD_PLL0               0xff000005
23#define BCHP_PWR_HW_AUD_PLL1               0xff000006
24#define BCHP_PWR_HW_RAAGA_SRAM             0xff000007
25#define BCHP_PWR_HW_HDMI_TX_CLK     0xff000008
26#define BCHP_PWR_HW_BVN                    0xff000009
27#define BCHP_PWR_HW_BVN_108M               0xff00000a
28#define BCHP_PWR_HW_BVN_SRAM               0xff00000b
29#define BCHP_PWR_HW_VDC_DAC                0xff00000c
30#define BCHP_PWR_HW_VEC_SRAM               0xff00000d
31#define BCHP_PWR_HW_XPT_108M               0xff00000e
32#define BCHP_PWR_HW_XPT_XMEMIF             0xff00000f
33#define BCHP_PWR_HW_XPT_RMX                0xff000010
34#define BCHP_PWR_HW_XPT_SRAM               0xff000011
35#define BCHP_PWR_HW_HDMI_TX_SRAM    0xff000012
36#define BCHP_PWR_HW_HDMI_TX_108M    0xff000013
37#define BCHP_PWR_HW_HDMI_TX_CEC     0xff000014
38#define BCHP_PWR_HW_M2MC            0xff000015
39#define BCHP_PWR_HW_GFX_SRAM        0xff000016
40#define BCHP_PWR_HW_GFX_108M        0xff000017
41#define BCHP_PWR_HW_DMA             0xff000018
42#define BCHP_PWR_HW_SCD0            0xff000019
43#define BCHP_PWR_HW_PLL_SCD_CH0     0xff00001a
44#define BCHP_PWR_HW_SCD1            0xff00001b
45#define BCHP_PWR_HW_PLL_SCD_CH1     0xff00001c
46#define BCHP_PWR_HW_MDM             0xff00001d
47#define BCHP_PWR_HW_RFM             0xff00001e
48#define BCHP_PWR_HW_RFM_SRAM        0xff00001f
49#define BCHP_PWR_HW_PLL_AVD_CH1     0xff000020
50#define BCHP_PWR_HW_PLL_AVD_CH2     0xff000021
51#define BCHP_PWR_HW_PLL_AVD_CH3     0xff000022
52#define BCHP_PWR_HW_PLL_AVD         0xff000023
53#define BCHP_PWR_HW_PLL_VCXO_CH0    0xff000024
54#define BCHP_PWR_HW_PLL_SCD         0xff000025
55#define BCHP_PWR_HW_PLL_VCXO_CH2    0xff000026
56#define BCHP_PWR_HW_PLL_VCXO        0xff000027
57
58/* Protoypes */
59void BCHP_PWR_P_HW_AVD0_CLK_Control(BCHP_Handle handle, bool activate);
60void BCHP_PWR_P_HW_AVD0_PWR_Control(BCHP_Handle handle, bool activate);
61void BCHP_PWR_P_HW_VEC_AIO_Control(BCHP_Handle handle, bool activate);
62void BCHP_PWR_P_HW_RAAGA_Control(BCHP_Handle handle, bool activate);
63void BCHP_PWR_P_HW_AUD_PLL0_Control(BCHP_Handle handle, bool activate);
64void BCHP_PWR_P_HW_AUD_PLL1_Control(BCHP_Handle handle, bool activate);
65void BCHP_PWR_P_HW_RAAGA_SRAM_Control(BCHP_Handle handle, bool activate);
66void BCHP_PWR_P_HW_HDMI_TX_CLK_Control(BCHP_Handle handle, bool activate);
67void BCHP_PWR_P_HW_BVN_Control(BCHP_Handle handle, bool activate);
68void BCHP_PWR_P_HW_BVN_108M_Control(BCHP_Handle handle, bool activate);
69void BCHP_PWR_P_HW_BVN_SRAM_Control(BCHP_Handle handle, bool activate);
70void BCHP_PWR_P_HW_VDC_DAC_Control(BCHP_Handle handle, bool activate);
71void BCHP_PWR_P_HW_VEC_SRAM_Control(BCHP_Handle handle, bool activate);
72void BCHP_PWR_P_HW_XPT_108M_Control(BCHP_Handle handle, bool activate);
73void BCHP_PWR_P_HW_XPT_XMEMIF_Control(BCHP_Handle handle, bool activate);
74void BCHP_PWR_P_HW_XPT_RMX_Control(BCHP_Handle handle, bool activate);
75void BCHP_PWR_P_HW_XPT_SRAM_Control(BCHP_Handle handle, bool activate);
76void BCHP_PWR_P_HW_HDMI_TX_SRAM_Control(BCHP_Handle handle, bool activate);
77void BCHP_PWR_P_HW_HDMI_TX_108M_Control(BCHP_Handle handle, bool activate);
78void BCHP_PWR_P_HW_HDMI_TX_CEC_Control(BCHP_Handle handle, bool activate);
79void BCHP_PWR_P_HW_M2MC_Control(BCHP_Handle handle, bool activate);
80void BCHP_PWR_P_HW_GFX_SRAM_Control(BCHP_Handle handle, bool activate);
81void BCHP_PWR_P_HW_GFX_108M_Control(BCHP_Handle handle, bool activate);
82void BCHP_PWR_P_HW_DMA_Control(BCHP_Handle handle, bool activate);
83void BCHP_PWR_P_HW_SCD0_Control(BCHP_Handle handle, bool activate);
84void BCHP_PWR_P_HW_PLL_SCD_CH0_Control(BCHP_Handle handle, bool activate);
85void BCHP_PWR_P_HW_SCD1_Control(BCHP_Handle handle, bool activate);
86void BCHP_PWR_P_HW_PLL_SCD_CH1_Control(BCHP_Handle handle, bool activate);
87void BCHP_PWR_P_HW_MDM_Control(BCHP_Handle handle, bool activate);
88void BCHP_PWR_P_HW_RFM_Control(BCHP_Handle handle, bool activate);
89void BCHP_PWR_P_HW_RFM_SRAM_Control(BCHP_Handle handle, bool activate);
90void BCHP_PWR_P_HW_PLL_AVD_CH1_Control(BCHP_Handle handle, bool activate);
91void BCHP_PWR_P_HW_PLL_AVD_CH2_Control(BCHP_Handle handle, bool activate);
92void BCHP_PWR_P_HW_PLL_AVD_CH3_Control(BCHP_Handle handle, bool activate);
93void BCHP_PWR_P_HW_PLL_AVD_Control(BCHP_Handle handle, bool activate);
94void BCHP_PWR_P_HW_PLL_VCXO_CH0_Control(BCHP_Handle handle, bool activate);
95void BCHP_PWR_P_HW_PLL_SCD_Control(BCHP_Handle handle, bool activate);
96void BCHP_PWR_P_HW_PLL_VCXO_CH2_Control(BCHP_Handle handle, bool activate);
97void BCHP_PWR_P_HW_PLL_VCXO_Control(BCHP_Handle handle, bool activate);
98
99/* This is the link between the public and private interface */
100void BCHP_PWR_P_HW_Control(BCHP_Handle handle, const BCHP_PWR_P_Resource *resource, bool activate);
101
102#define BCHP_PWR_P_NUM_NONLEAFS   36
103#define BCHP_PWR_P_NUM_NONLEAFSHW 15
104#define BCHP_PWR_P_NUM_LEAFS      24
105#define BCHP_PWR_P_NUM_ALLNODES   75
106
107#endif
Note: See TracBrowser for help on using the repository browser.