Home
last modified time | relevance | path

Searched refs:sysmgr_regs (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/arch/arm/mach-socfpga/
Dsystem_manager_gen5.c11 static struct socfpga_system_manager *sysmgr_regs = variable
24 writel(0, &sysmgr_regs->iswgrp_handoff[2]); in populate_sysmgr_fpgaintf_module()
27 if (readl(&sysmgr_regs->nandusefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
29 if (readl(&sysmgr_regs->rgmii1usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
31 if (readl(&sysmgr_regs->sdmmcusefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
33 if (readl(&sysmgr_regs->rgmii0usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
35 if (readl(&sysmgr_regs->spim0usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
37 if (readl(&sysmgr_regs->spim1usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
42 setbits_le32(&sysmgr_regs->iswgrp_handoff[2], handoff_val); in populate_sysmgr_fpgaintf_module()
44 handoff_val = readl(&sysmgr_regs->iswgrp_handoff[2]); in populate_sysmgr_fpgaintf_module()
[all …]
Dsystem_manager_s10.c13 static struct socfpga_system_manager *sysmgr_regs = variable
35 if (readl(&sysmgr_regs->nandusefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
37 if (readl(&sysmgr_regs->sdmmcusefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
39 if (readl(&sysmgr_regs->spim0usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
41 if (readl(&sysmgr_regs->spim1usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
43 writel(handoff_val, &sysmgr_regs->fpgaintf_en_2); in populate_sysmgr_fpgaintf_module()
46 if (readl(&sysmgr_regs->rgmii0usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
48 if (readl(&sysmgr_regs->rgmii1usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
50 if (readl(&sysmgr_regs->rgmii2usefpga) == SYSMGR_FPGAINTF_USEFPGA) in populate_sysmgr_fpgaintf_module()
52 writel(handoff_val, &sysmgr_regs->fpgaintf_en_3); in populate_sysmgr_fpgaintf_module()
[all …]
Dmisc_gen5.c30 static struct socfpga_system_manager *sysmgr_regs = variable
57 clrsetbits_le32(&sysmgr_regs->emacgrp_ctrl, in gen5_dwmac_reset()
143 SYSMGR_GET_BOOTINFO_BSEL(readl(&sysmgr_regs->bootinfo)); in print_cpuinfo()
156 const u32 bsel = readl(&sysmgr_regs->bootinfo) & 0x7; in arch_misc_init()
191 writel(0xae9efebc, &sysmgr_regs->romcodegrp_warmramgrp_enable); in arch_early_init_r()
194 iswgrp_handoff[i] = readl(&sysmgr_regs->iswgrp_handoff[i]); in arch_early_init_r()
271 writel(iswgrp_handoff[2], &sysmgr_regs->fpgaintfgrp_module); in do_bridge()
278 writel(0, &sysmgr_regs->fpgaintfgrp_module); in do_bridge()
Dwrap_pll_config_s10.c13 static const struct socfpga_system_manager *sysmgr_regs = variable
41 writel(clock, &sysmgr_regs->boot_scratch_cold1); in cm_get_osc_clk_hz()
43 return readl(&sysmgr_regs->boot_scratch_cold1); in cm_get_osc_clk_hz()
56 writel(clock, &sysmgr_regs->boot_scratch_cold2); in cm_get_fpga_clk_hz()
58 return readl(&sysmgr_regs->boot_scratch_cold2); in cm_get_fpga_clk_hz()
Dreset_manager_arria10.c20 static const struct socfpga_system_manager *sysmgr_regs = variable
218 setbits_le32(&sysmgr_regs->noc_idlereq_clr, mask_noc); in socfpga_reset_deassert_bridges_handoff()
224 return wait_for_bit_le32(&sysmgr_regs->noc_idleack, mask_noc, in socfpga_reset_deassert_bridges_handoff()
332 &sysmgr_regs->noc_idlereq_set); in socfpga_bridges_reset()
335 writel(ALT_SYSMGR_NOC_TMO_EN_SET_MSK, &sysmgr_regs->noc_timeout); in socfpga_bridges_reset()
338 ret = wait_for_bit_le32(&sysmgr_regs->noc_idleack, in socfpga_bridges_reset()
350 ret = wait_for_bit_le32(&sysmgr_regs->noc_idlestatus, in socfpga_bridges_reset()
371 writel(0, &sysmgr_regs->noc_timeout); in socfpga_bridges_reset()
Dspl.c40 static const struct socfpga_system_manager *sysmgr_regs = variable
45 const u32 bsel = readl(&sysmgr_regs->bootinfo); in spl_boot_device()
90 reg = readl(&sysmgr_regs->eccgrp_ocram); in board_init_f()
93 &sysmgr_regs->eccgrp_ocram); in board_init_f()
96 &sysmgr_regs->eccgrp_ocram); in board_init_f()
Dreset_manager_gen5.c15 static const struct socfpga_system_manager *sysmgr_regs = variable
86 writel(0, &sysmgr_regs->iswgrp_handoff[0]); in socfpga_bridges_reset()
87 writel(l3mask, &sysmgr_regs->iswgrp_handoff[1]); in socfpga_bridges_reset()
Dmisc_arria10.c37 static struct socfpga_system_manager *sysmgr_regs = variable
59 clrsetbits_le32(&sysmgr_regs->emac[of_reset_id - EMAC0_RESET], in arria10_dwmac_reset()
250 SYSMGR_GET_BOOTINFO_BSEL(readl(&sysmgr_regs->bootinfo)); in print_cpuinfo()
Dclock_manager_s10.c17 static const struct socfpga_system_manager *sysmgr_regs = variable
354 return readl(&sysmgr_regs->boot_scratch_cold0); in cm_get_qspi_controller_clk_hz()
/external/u-boot/drivers/fpga/
Dsocfpga_gen5.c18 static struct socfpga_system_manager *sysmgr_regs = variable
217 writel(0, &sysmgr_regs->fpgaintfgrp_module); in socfpga_load()
/external/u-boot/drivers/ddr/altera/
Dsdram_gen5.c27 static struct socfpga_system_manager *sysmgr_regs = variable
437 writel(rows, &sysmgr_regs->iswgrp_handoff[4]); in sdram_mmr_init_full()
442 writel(cfg->fpgaport_rst, &sysmgr_regs->iswgrp_handoff[3]); in sdram_mmr_init_full()
497 row = readl(&sysmgr_regs->iswgrp_handoff[4]); in sdram_calculate_size()