Home
last modified time | relevance | path

Searched refs:CRU_PLL_CON (Results 1 – 5 of 5) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/rockchip/rk3399/drivers/soc/
A Dsoc.c59 CRU_PLL_CON(pll_id, 3)), PLL_SLOW_MODE); in set_pll_slow_mode()
68 CRU_PLL_CON(pll_id, 3), PLL_NOMAL_MODE); in set_pll_normal_mode()
78 CRU_PLL_CON(pll_id, 3), PLL_BYPASS_MODE); in set_pll_bypass()
126 mmio_write_32((CRU_BASE + CRU_PLL_CON(pll_id, 3)), PLL_SLOW_MODE); in restore_pll()
128 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 0), src[0] | REG_SOC_WMSK); in restore_pll()
129 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 1), src[1] | REG_SOC_WMSK); in restore_pll()
130 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 2), src[2]); in restore_pll()
131 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 4), src[4] | REG_SOC_WMSK); in restore_pll()
138 while ((mmio_read_32(CRU_BASE + CRU_PLL_CON(pll_id, 2)) & in restore_pll()
159 dst[i] = mmio_read_32(CRU_BASE + CRU_PLL_CON(pll_id, i)); in save_pll()
[all …]
A Dsoc.h16 #define CRU_PLL_CON(pll_id, n) ((pll_id) * 0x20 + (n) * 4) macro
/arm-trusted-firmware-2.8.0/plat/rockchip/rk3399/drivers/dram/
A Dsuspend.c655 mmio_write_32((CRU_BASE + CRU_PLL_CON(pll_id, 3)), PLL_SLOW_MODE); in pmusram_restore_pll()
657 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 0), src[0] | REG_SOC_WMSK); in pmusram_restore_pll()
658 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 1), src[1] | REG_SOC_WMSK); in pmusram_restore_pll()
659 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 2), src[2]); in pmusram_restore_pll()
660 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 4), src[4] | REG_SOC_WMSK); in pmusram_restore_pll()
661 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 5), src[5] | REG_SOC_WMSK); in pmusram_restore_pll()
663 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 3), src[3] | REG_SOC_WMSK); in pmusram_restore_pll()
665 while ((mmio_read_32(CRU_BASE + CRU_PLL_CON(pll_id, 2)) & in pmusram_restore_pll()
710 dpll_data[i] = mmio_read_32(CRU_BASE + CRU_PLL_CON(DPLL_ID, i)); in dmc_suspend()
A Ddfs.c1716 refdiv = mmio_read_32(CRU_BASE + CRU_PLL_CON(DPLL_ID, 1)) & 0x3f; in ddr_get_rate()
1717 fbdiv = mmio_read_32(CRU_BASE + CRU_PLL_CON(DPLL_ID, 0)) & 0xfff; in ddr_get_rate()
1719 (mmio_read_32(CRU_BASE + CRU_PLL_CON(DPLL_ID, 1)) >> 8) & 0x7; in ddr_get_rate()
1721 (mmio_read_32(CRU_BASE + CRU_PLL_CON(DPLL_ID, 1)) >> 12) & 0x7; in ddr_get_rate()
/arm-trusted-firmware-2.8.0/plat/rockchip/rk3399/drivers/pmu/
A Dpmu.c586 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 3), in clst_pwr_domain_suspend()
599 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 3), in clst_pwr_domain_suspend()
619 pll_st = mmio_read_32(CRU_BASE + CRU_PLL_CON(pll_id, 3)) >> in clst_pwr_domain_resume()
1297 (i >= CRU_PLL_CON(ABPLL_ID, 0) && in cru_register_restore()
1298 i <= CRU_PLL_CON(DPLL_ID, 5))) in cru_register_restore()
1301 if ((i == CRU_PLL_CON(ALPLL_ID, 2)) || in cru_register_restore()
1302 (i == CRU_PLL_CON(CPLL_ID, 2)) || in cru_register_restore()
1303 (i == CRU_PLL_CON(GPLL_ID, 2)) || in cru_register_restore()
1304 (i == CRU_PLL_CON(NPLL_ID, 2)) || in cru_register_restore()
1305 (i == CRU_PLL_CON(VPLL_ID, 2))) in cru_register_restore()

Completed in 16 milliseconds