Lines Matching refs:ddr_data
28 static struct rk3328_sleep_ddr_data ddr_data; variable
254 ddr_data.clk_ungt_save[i] = in clks_gating_suspend()
267 ddr_data.clk_ungt_save[i] | 0xffff0000); in clks_gating_resume()
349 ddr_data.cru_plls_con_save[pll_id][i] = in pll_suspend()
359 ddr_data.cru_plls_con_save[pll_id][1] | 0xc0000000); in pll_resume()
363 if (PLL_IS_NORM_MODE(ddr_data.cru_mode_save, pll_id)) in pll_resume()
370 ddr_data.cru_mode_save = mmio_read_32(CRU_BASE + CRU_CRU_MODE); in pm_plls_suspend()
371 ddr_data.clk_sel0 = mmio_read_32(CRU_BASE + CRU_CLKSEL_CON(0)); in pm_plls_suspend()
372 ddr_data.clk_sel1 = mmio_read_32(CRU_BASE + CRU_CLKSEL_CON(1)); in pm_plls_suspend()
373 ddr_data.clk_sel18 = mmio_read_32(CRU_BASE + CRU_CLKSEL_CON(18)); in pm_plls_suspend()
374 ddr_data.clk_sel20 = mmio_read_32(CRU_BASE + CRU_CLKSEL_CON(20)); in pm_plls_suspend()
375 ddr_data.clk_sel24 = mmio_read_32(CRU_BASE + CRU_CLKSEL_CON(24)); in pm_plls_suspend()
376 ddr_data.clk_sel38 = mmio_read_32(CRU_BASE + CRU_CLKSEL_CON(38)); in pm_plls_suspend()
412 ddr_data.clk_sel38 | in pm_plls_resume()
418 ddr_data.clk_sel18 | BITS_WMSK(0x3, 8)); in pm_plls_resume()
422 ddr_data.clk_sel24 | BITS_WMSK(0x7f, 8)); in pm_plls_resume()
426 ddr_data.clk_sel20 | BITS_WMSK(0x1f, 0)); in pm_plls_resume()
430 ddr_data.clk_sel1 | BITS_WMSK(0xf, 0)); in pm_plls_resume()
434 ddr_data.clk_sel0 | BITS_WMSK(0x1f, 0)); in pm_plls_resume()