Lines Matching +full:0 +full:x558
31 #define CCR 0x0
32 #define BM_CCR_WB_COUNT (0x7 << 16)
33 #define BM_CCR_RBC_BYPASS_COUNT (0x3f << 21)
34 #define BM_CCR_RBC_EN (0x1 << 27)
36 #define CLPCR 0x54
37 #define BP_CLPCR_LPM 0
38 #define BM_CLPCR_LPM (0x3 << 0)
39 #define BM_CLPCR_BYPASS_PMIC_READY (0x1 << 2)
40 #define BM_CLPCR_ARM_CLK_DIS_ON_LPM (0x1 << 5)
41 #define BM_CLPCR_SBYOS (0x1 << 6)
42 #define BM_CLPCR_DIS_REF_OSC (0x1 << 7)
43 #define BM_CLPCR_VSTBY (0x1 << 8)
45 #define BM_CLPCR_STBY_COUNT (0x3 << 9)
46 #define BM_CLPCR_COSC_PWRDOWN (0x1 << 11)
47 #define BM_CLPCR_WB_PER_AT_LPM (0x1 << 16)
48 #define BM_CLPCR_WB_CORE_AT_LPM (0x1 << 17)
49 #define BM_CLPCR_BYP_MMDC_CH0_LPM_HS (0x1 << 19)
50 #define BM_CLPCR_BYP_MMDC_CH1_LPM_HS (0x1 << 21)
51 #define BM_CLPCR_MASK_CORE0_WFI (0x1 << 22)
52 #define BM_CLPCR_MASK_CORE1_WFI (0x1 << 23)
53 #define BM_CLPCR_MASK_CORE2_WFI (0x1 << 24)
54 #define BM_CLPCR_MASK_CORE3_WFI (0x1 << 25)
55 #define BM_CLPCR_MASK_SCU_IDLE (0x1 << 26)
56 #define BM_CLPCR_MASK_L2CC_IDLE (0x1 << 27)
58 #define CGPR 0x64
59 #define BM_CGPR_INT_MEM_CLK_LPM (0x1 << 17)
61 #define MX6Q_SUSPEND_OCRAM_SIZE 0x1000
99 0x5ac, 0x5b4, 0x528, 0x520, /* DQM0 ~ DQM3 */
100 0x514, 0x510, 0x5bc, 0x5c4, /* DQM4 ~ DQM7 */
101 0x56c, 0x578, 0x588, 0x594, /* CAS, RAS, SDCLK_0, SDCLK_1 */
102 0x5a8, 0x5b0, 0x524, 0x51c, /* SDQS0 ~ SDQS3 */
103 0x518, 0x50c, 0x5b8, 0x5c0, /* SDQS4 ~ SDQS7 */
104 0x784, 0x788, 0x794, 0x79c, /* GPR_B0DS ~ GPR_B3DS */
105 0x7a0, 0x7a4, 0x7a8, 0x748, /* GPR_B4DS ~ GPR_B7DS */
106 0x59c, 0x5a0, 0x750, 0x774, /* SODT0, SODT1, MODE_CTL, MODE */
107 0x74c, /* GPR_ADDS */
111 0x470, 0x474, 0x478, 0x47c, /* DQM0 ~ DQM3 */
112 0x480, 0x484, 0x488, 0x48c, /* DQM4 ~ DQM7 */
113 0x464, 0x490, 0x4ac, 0x4b0, /* CAS, RAS, SDCLK_0, SDCLK_1 */
114 0x4bc, 0x4c0, 0x4c4, 0x4c8, /* DRAM_SDQS0 ~ DRAM_SDQS3 */
115 0x4cc, 0x4d0, 0x4d4, 0x4d8, /* DRAM_SDQS4 ~ DRAM_SDQS7 */
116 0x764, 0x770, 0x778, 0x77c, /* GPR_B0DS ~ GPR_B3DS */
117 0x780, 0x784, 0x78c, 0x748, /* GPR_B4DS ~ GPR_B7DS */
118 0x4b4, 0x4b8, 0x750, 0x760, /* SODT0, SODT1, MODE_CTL, MODE */
119 0x74c, /* GPR_ADDS */
123 0x30c, 0x310, 0x314, 0x318, /* DQM0 ~ DQM3 */
124 0x5c4, 0x5cc, 0x5d4, 0x5d8, /* GPR_B0DS ~ GPR_B3DS */
125 0x300, 0x31c, 0x338, 0x5ac, /* CAS, RAS, SDCLK_0, GPR_ADDS */
126 0x33c, 0x340, 0x5b0, 0x5c0, /* SODT0, SODT1, MODE_CTL, MODE */
127 0x330, 0x334, 0x320, /* SDCKE0, SDCKE1, RESET */
131 0x294, 0x298, 0x29c, 0x2a0, /* DQM0 ~ DQM3 */
132 0x544, 0x54c, 0x554, 0x558, /* GPR_B0DS ~ GPR_B3DS */
133 0x530, 0x540, 0x2ac, 0x52c, /* MODE_CTL, MODE, SDCLK_0, GPR_ADDDS */
134 0x2a4, 0x2a8, /* SDCKE0, SDCKE1*/
138 0x2ec, 0x2f0, 0x2f4, 0x2f8, /* DQM0 ~ DQM3 */
139 0x60c, 0x610, 0x61c, 0x620, /* GPR_B0DS ~ GPR_B3DS */
140 0x300, 0x2fc, 0x32c, 0x5f4, /* CAS, RAS, SDCLK_0, GPR_ADDS */
141 0x310, 0x314, 0x5f8, 0x608, /* SODT0, SODT1, MODE_CTL, MODE */
142 0x330, 0x334, 0x338, 0x33c, /* SDQS0 ~ SDQS3 */
146 0x244, 0x248, 0x24c, 0x250, /* DQM0, DQM1, RAS, CAS */
147 0x27c, 0x498, 0x4a4, 0x490, /* SDCLK0, GPR_B0DS-B1DS, GPR_ADDS */
148 0x280, 0x284, 0x260, 0x264, /* SDQS0~1, SODT0, SODT1 */
149 0x494, 0x4b0, /* MODE_CTL, MODE, */
257 val |= enable ? BM_CCR_RBC_EN : 0; in imx6_enable_rbc()
263 val |= enable ? BM_CCR_RBC_BYPASS_COUNT : 0; in imx6_enable_rbc()
284 val |= enable ? BM_CLPCR_WB_PER_AT_LPM : 0; in imx6q_enable_wb()
290 val |= enable ? BM_CCR_WB_COUNT : 0; in imx6q_enable_wb()
303 val |= 0x1 << BP_CLPCR_LPM; in imx6_set_lpm()
307 val |= 0x2 << BP_CLPCR_LPM; in imx6_set_lpm()
319 val |= 0x1 << BP_CLPCR_LPM; in imx6_set_lpm()
324 val |= 0x2 << BP_CLPCR_LPM; in imx6_set_lpm()
325 val |= 0x3 << BP_CLPCR_STBY_COUNT; in imx6_set_lpm()
350 * is set (set bits 0-1 of CCM_CLPCR). in imx6_set_lpm()
352 * Note that IRQ #32 is GIC SPI #0. in imx6_set_lpm()
355 imx_gpc_hwirq_unmask(0); in imx6_set_lpm()
358 imx_gpc_hwirq_mask(0); in imx6_set_lpm()
360 return 0; in imx6_set_lpm()
380 return 0; in imx6q_suspend_finish()
412 cpu_suspend(0, imx6q_suspend_finish); in imx6q_pm_enter()
426 return 0; in imx6q_pm_enter()
444 int ret = 0; in imx6_pm_get_base()
450 ret = of_address_to_resource(node, 0, &res); in imx6_pm_get_base()
472 int i, ret = 0; in imx6q_suspend_init()
514 memset(suspend_ocram_base, 0, sizeof(*pm_info)); in imx6q_suspend_init()
563 for (i = 0; i < pm_info->mmdc_io_num; i++) { in imx6q_suspend_init()
564 pm_info->mmdc_io_val[i][0] = in imx6q_suspend_init()
626 gic_cpu_if_down(0); in imx6_pm_stby_poweroff()
628 imx6q_suspend_finish(0); in imx6_pm_stby_poweroff()
644 return 0; in imx6_pm_stby_poweroff_probe()
653 ccm_base = of_iomap(np, 0); in imx6_pm_ccm_init()
691 IMX6SLL_GPR5_AFCG_X_BYPASS_MASK, 0); in imx6sl_pm_init()