| /rk3399_ARM-atf/plat/intel/soc/agilex5/soc/ |
| H A D | agilex5_pinmux.c | 223 void config_pinmux(handoff *hoff_ptr) in config_pinmux() argument 228 for (i = 0; i < ARRAY_SIZE(hoff_ptr->pinmux_sel_array); i += 2) { in config_pinmux() 229 mmio_write_32(AGX5_PINMUX_PIN0SEL + hoff_ptr->pinmux_sel_array[i], in config_pinmux() 230 hoff_ptr->pinmux_sel_array[i+1]); in config_pinmux() 234 for (i = 0; i < ARRAY_SIZE(hoff_ptr->pinmux_io_array); i += 2) { in config_pinmux() 235 mmio_write_32(AGX5_PINMUX_IO0CTRL + hoff_ptr->pinmux_io_array[i], in config_pinmux() 236 hoff_ptr->pinmux_io_array[i+1]); in config_pinmux() 245 for (i = 0; i < (ARRAY_SIZE(hoff_ptr->pinmux_fpga_array) - 4); i += 2) { in config_pinmux() 246 mmio_write_32(AGX5_PINMUX_EMAC0_USEFPGA + hoff_ptr->pinmux_fpga_array[i], in config_pinmux() 247 hoff_ptr->pinmux_fpga_array[i+1]); in config_pinmux() [all …]
|
| H A D | agilex5_clock_manager.c | 221 int config_clkmgr_handoff(handoff *hoff_ptr) in config_clkmgr_handoff() argument 249 mainpll_vcocalib = calc_pll_vcocalibration(hoff_ptr->main_pll_pllm, in config_clkmgr_handoff() 250 hoff_ptr->main_pll_pllglob); in config_clkmgr_handoff() 252 hoff_ptr->main_pll_pllglob & ~CLKMGR_MAINPLL_PLLGLOB_RST_N); in config_clkmgr_handoff() 253 mmio_write_32(CLKMGR_MAINPLL(FDBCK), hoff_ptr->main_pll_fdbck); in config_clkmgr_handoff() 255 mmio_write_32(CLKMGR_MAINPLL(PLLC0), hoff_ptr->main_pll_pllc0); in config_clkmgr_handoff() 256 mmio_write_32(CLKMGR_MAINPLL(PLLC1), hoff_ptr->main_pll_pllc1); in config_clkmgr_handoff() 257 mmio_write_32(CLKMGR_MAINPLL(PLLC2), hoff_ptr->main_pll_pllc2); in config_clkmgr_handoff() 258 mmio_write_32(CLKMGR_MAINPLL(PLLC3), hoff_ptr->main_pll_pllc3); in config_clkmgr_handoff() 259 mmio_write_32(CLKMGR_MAINPLL(PLLM), hoff_ptr->main_pll_pllm); in config_clkmgr_handoff() [all …]
|
| H A D | agilex5_power_manager.c | 42 static int pss_sram_power_off(handoff *hoff_ptr) in pss_sram_power_off() argument 48 peripheral_handoff = hoff_ptr->peripheral_pwr_gate_array; in pss_sram_power_off() 66 void config_pwrmgr_handoff(handoff *hoff_ptr) in config_pwrmgr_handoff() argument 70 switch (hoff_ptr->peripheral_pwr_gate_magic) { in config_pwrmgr_handoff() 72 ret = pss_sram_power_off(hoff_ptr); in config_pwrmgr_handoff()
|
| H A D | agilex5_ddr.c | 314 int agilex5_ddr_init(handoff *hoff_ptr) in agilex5_ddr_init() argument 323 bool is_dualport = hoff_ptr->ddr_config & BIT(0); in agilex5_ddr_init() 324 bool is_dualemif = hoff_ptr->ddr_config & BIT(1); in agilex5_ddr_init()
|
| /rk3399_ARM-atf/plat/intel/soc/stratix10/soc/ |
| H A D | s10_clock_manager.c | 38 void config_clkmgr_handoff(handoff *hoff_ptr) in config_clkmgr_handoff() argument 54 m_div = ALT_CLKMGR_MAINPLL_FDBCK_MDIV(hoff_ptr->main_pll_fdbck); in config_clkmgr_handoff() 56 hoff_ptr->main_pll_pllglob); in config_clkmgr_handoff() 61 hoff_ptr->main_pll_pllglob); in config_clkmgr_handoff() 63 hoff_ptr->main_pll_fdbck); in config_clkmgr_handoff() 68 hoff_ptr->main_pll_pllc0); in config_clkmgr_handoff() 70 hoff_ptr->main_pll_pllc1); in config_clkmgr_handoff() 73 hoff_ptr->main_pll_nocdiv); in config_clkmgr_handoff() 76 m_div = ALT_CLKMGR_PERPLL_FDBCK_MDIV(hoff_ptr->per_pll_fdbck); in config_clkmgr_handoff() 78 hoff_ptr->per_pll_pllglob); in config_clkmgr_handoff() [all …]
|
| H A D | s10_pinmux.c | 188 void config_pinmux(handoff *hoff_ptr) in config_pinmux() argument 194 hoff_ptr->pinmux_sel_array[i], in config_pinmux() 195 hoff_ptr->pinmux_sel_array[i+1]); in config_pinmux() 200 hoff_ptr->pinmux_io_array[i], in config_pinmux() 201 hoff_ptr->pinmux_io_array[i+1]); in config_pinmux() 206 hoff_ptr->pinmux_fpga_array[i], in config_pinmux() 207 hoff_ptr->pinmux_fpga_array[i+1]); in config_pinmux() 212 hoff_ptr->pinmux_iodelay_array[i], in config_pinmux() 213 hoff_ptr->pinmux_iodelay_array[i+1]); in config_pinmux()
|
| /rk3399_ARM-atf/plat/intel/soc/agilex/soc/ |
| H A D | agilex_clock_manager.c | 95 void config_clkmgr_handoff(handoff *hoff_ptr) in config_clkmgr_handoff() argument 120 mdiv = CLKMGR_PLLM_MDIV(hoff_ptr->main_pll_pllm); in config_clkmgr_handoff() 123 hoff_ptr->main_pll_pllglob); in config_clkmgr_handoff() 125 hoff_ptr->main_pll_pllglob); in config_clkmgr_handoff() 133 hoff_ptr->main_pll_pllglob & in config_clkmgr_handoff() 136 hoff_ptr->main_pll_fdbck); in config_clkmgr_handoff() 141 hoff_ptr->main_pll_pllc0); in config_clkmgr_handoff() 143 hoff_ptr->main_pll_pllc1); in config_clkmgr_handoff() 145 hoff_ptr->main_pll_pllc2); in config_clkmgr_handoff() 147 hoff_ptr->main_pll_pllc3); in config_clkmgr_handoff() [all …]
|
| H A D | agilex_pinmux.c | 215 void config_pinmux(handoff *hoff_ptr) in config_pinmux() argument 221 hoff_ptr->pinmux_sel_array[i], in config_pinmux() 222 hoff_ptr->pinmux_sel_array[i+1]); in config_pinmux() 227 hoff_ptr->pinmux_io_array[i], in config_pinmux() 228 hoff_ptr->pinmux_io_array[i+1]); in config_pinmux() 233 hoff_ptr->pinmux_fpga_array[i], in config_pinmux() 234 hoff_ptr->pinmux_fpga_array[i+1]); in config_pinmux() 239 hoff_ptr->pinmux_iodelay_array[i], in config_pinmux() 240 hoff_ptr->pinmux_iodelay_array[i+1]); in config_pinmux()
|
| /rk3399_ARM-atf/plat/intel/soc/common/drivers/combophy/ |
| H A D | combophy.c | 24 int dfi_select(handoff *hoff_ptr) in dfi_select() argument 29 INFO("Power gate enable hand-off: 0x%08x\n", hoff_ptr->peripheral_pwr_gate_array); in dfi_select() 31 if (hoff_ptr->peripheral_pwr_gate_array & POWER_GATE_EN_SDEMMC) { in dfi_select() 39 } else if (hoff_ptr->peripheral_pwr_gate_array & POWER_GATE_EN_NAND) { in dfi_select() 69 int combo_phy_init(handoff *hoff_ptr) in combo_phy_init() argument 72 int ret = dfi_select(hoff_ptr); in combo_phy_init()
|
| H A D | combophy.h | 39 int combo_phy_init(handoff *hoff_ptr); 40 int dfi_select(handoff *hoff_ptr);
|
| /rk3399_ARM-atf/plat/intel/soc/agilex5/include/ |
| H A D | agilex5_ddr.h | 29 int agilex5_ddr_init(handoff *hoff_ptr);
|
| H A D | agilex5_power_manager.h | 90 void config_pwrmgr_handoff(handoff *hoff_ptr);
|
| H A D | agilex5_clock_manager.h | 304 int config_clkmgr_handoff(handoff *hoff_ptr);
|
| /rk3399_ARM-atf/plat/intel/soc/common/include/ |
| H A D | socfpga_handoff.h | 187 int verify_handoff_image(handoff *hoff_ptr, handoff *reverse_hoff_ptr); 188 int socfpga_get_handoff(handoff *hoff_ptr);
|
| /rk3399_ARM-atf/plat/intel/soc/stratix10/include/ |
| H A D | s10_clock_manager.h | 93 void config_clkmgr_handoff(handoff *hoff_ptr);
|
| /rk3399_ARM-atf/plat/intel/soc/agilex/include/ |
| H A D | agilex_clock_manager.h | 126 void config_clkmgr_handoff(handoff *hoff_ptr);
|
| /rk3399_ARM-atf/plat/intel/soc/common/drivers/ddr/ |
| H A D | ddr.h | 154 int ddr_config_handoff(handoff *hoff_ptr);
|
| H A D | ddr.c | 261 int ddr_config_handoff(handoff *hoff_ptr) in ddr_config_handoff() argument
|