Home
last modified time | relevance | path

Searched refs:scfg (Results 1 – 25 of 43) sorted by relevance

12

/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dls102xa_psci.c33 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_save_ddr_head() local
36 out_le32(&scfg->sparecr[2], dest); in ls1_save_ddr_head()
59 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_deepsleep_irq_cfg() local
75 ippdexpcr1 = in_le32(&scfg->sparecr[7]); in ls1_deepsleep_irq_cfg()
95 out_be32(&scfg->pmcintlecr, 0); in ls1_deepsleep_irq_cfg()
97 out_be32(&scfg->pmcintsr, 0xffffffff); in ls1_deepsleep_irq_cfg()
99 out_be32(&scfg->pmcintecr, pmcintecr); in ls1_deepsleep_irq_cfg()
115 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_start_fsm() local
119 setbits_be32(&scfg->hrstcr, 0x80000000); in ls1_start_fsm()
150 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_deep_sleep() local
[all …]
Dsoc.c65 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008() local
67 clrsetbits_be32(scfg + SCFG_USB3PRM1CR / 4, in erratum_a009008()
76 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798() local
78 clrbits_be32(scfg + SCFG_USB3PRM1CR / 4, in erratum_a009798()
86 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a008997() local
88 clrsetbits_be32(scfg + SCFG_USB3PRM2CR / 4, in erratum_a008997()
125 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in arch_soc_init() local
135 out_be32(&scfg->qspi_cfg, SCFG_QSPI_CLKSEL); in arch_soc_init()
139 out_be32(&scfg->pixclkcr, SCFG_PIXCLKCR_PXCKEN); in arch_soc_init()
143 out_be32(&scfg->endiancr, SCFG_ENDIANCR_LE); in arch_soc_init()
[all …]
Dcpu.c311 struct ccsr_scfg *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in arch_cpu_init() local
339 setbits_be32(&scfg->snpcnfgcr, SCFG_SNPCNFGCR_SEC_RD_WR); in arch_cpu_init()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dsoc.c54 static inline void set_usb_txvreftune(u32 __iomem *scfg, u32 offset) in set_usb_txvreftune() argument
56 scfg_clrsetbits32(scfg + offset / 4, in set_usb_txvreftune()
64 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008() local
68 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB1); in erratum_a009008()
70 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB2); in erratum_a009008()
71 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB3); in erratum_a009008()
74 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR); in erratum_a009008()
79 static inline void set_usb_sqrxtune(u32 __iomem *scfg, u32 offset) in set_usb_sqrxtune() argument
81 scfg_clrbits32(scfg + offset / 4, in set_usb_sqrxtune()
88 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798() local
[all …]
Dppa.c262 struct ccsr_scfg __iomem *scfg = (void *)(CONFIG_SYS_FSL_SCFG_ADDR); in ppa_init() local
263 boot_loc_ptr_l = &scfg->scratchrw[1]; in ppa_init()
264 boot_loc_ptr_h = &scfg->scratchrw[0]; in ppa_init()
267 loadable_l = &scfg->scratchrw[2]; in ppa_init()
268 loadable_h = &scfg->scratchrw[3]; in ppa_init()
Dmp.c75 struct ccsr_scfg __iomem *scfg = (void *)(CONFIG_SYS_FSL_SCFG_ADDR); in fsl_layerscape_wake_seconday_cores() local
137 scfg_out32(&scfg->scratchrw[0], (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores()
138 scfg_out32(&scfg->scratchrw[1], (u32)gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
144 scfg_out32(&scfg->corebcr, cores); in fsl_layerscape_wake_seconday_cores()
/external/u-boot/board/freescale/common/
Darm_sleep.c58 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in dp_ddr_restore() local
61 src = (u64 *)in_le32(&scfg->sparecr[2]); in dp_ddr_restore()
72 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_psci_resume_fixup() local
87 out_be32(&scfg->pmcintecr, 0); in ls1_psci_resume_fixup()
89 out_be32(&scfg->pmcintsr, 0xffffffff); in ls1_psci_resume_fixup()
92 tmp = in_be32(&scfg->dpslpcr); in ls1_psci_resume_fixup()
94 out_be32(&scfg->dpslpcr, tmp); in ls1_psci_resume_fixup()
115 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in fsl_dp_resume() local
123 start_addr = in_le32(&scfg->sparecr[3]); in fsl_dp_resume()
Dmpc85xx_sleep.c47 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_MPC85xx_SCFG; in dp_ddr_restore() local
50 src = (u64 *)(in_be32(&scfg->sparecr[2]) + DDR_BUFF_LEN - 8); in dp_ddr_restore()
81 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_MPC85xx_SCFG; in fsl_dp_resume() local
89 start_addr = in_be32(&scfg->sparecr[1]); in fsl_dp_resume()
Dls102xa_stream_id.c12 void *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls102xa_config_smmu_stream_id() local
18 out_be32((u32 *)(scfg + id[i].offset), icid); in ls102xa_config_smmu_stream_id()
/external/u-boot/board/freescale/ls1043ardb/
Dls1043ardb.c78 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_init() local
113 out_be32(&scfg->intpcr, AQR105_IRQ_MASK); in board_init()
120 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_board_mux() local
124 out_be32(&scfg->rcwpmuxcr0, in config_board_mux()
125 (in_be32(&scfg->rcwpmuxcr0) & ~0xff00) | 0x6600); in config_board_mux()
127 in_be32(&scfg->rcwpmuxcr0)); in config_board_mux()
130 out_be32(&scfg->rcwpmuxcr0, 0x3333); in config_board_mux()
131 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in config_board_mux()
138 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in config_board_mux()
/external/u-boot/board/freescale/ls1046ardb/
Dls1046ardb.c69 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_init() local
94 out_be32(&scfg->intpcr, AQR105_IRQ_MASK); in board_init()
135 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_board_mux() local
139 out_be32(&scfg->rcwpmuxcr0, 0x3300); in config_board_mux()
140 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in config_board_mux()
147 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in config_board_mux()
/external/u-boot/board/freescale/ls1021aqds/
Dls1021aqds.c180 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local
184 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f()
261 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_etseccm_source() local
265 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE0_CLK125); in config_etseccm_source()
270 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in config_etseccm_source()
275 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE1_CLK125); in config_etseccm_source()
/external/u-boot/board/freescale/ls1046aqds/
Dls1046aqds.c171 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local
184 out_be32(&scfg->rcwpmuxcr0, 0x3333); in board_early_init_f()
185 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in board_early_init_f()
192 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in board_early_init_f()
/external/u-boot/board/freescale/t104xrdb/
Deth.c140 struct ccsr_scfg *scfg = (struct ccsr_scfg *) in board_eth_init() local
143 out_be32(&scfg->esgmiiselcr, in_be32(&scfg->esgmiiselcr) | in board_eth_init()
/external/u-boot/board/freescale/ls1043aqds/
Dls1043aqds.c232 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local
245 out_be32(&scfg->rcwpmuxcr0, 0x3333); in board_early_init_f()
246 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in board_early_init_f()
251 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in board_early_init_f()
/external/u-boot/board/freescale/ls1021aiot/
Dls1021aiot.c159 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local
163 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f()
164 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in board_early_init_f()
/external/u-boot/drivers/net/pfe_eth/
Dpfe_mdio.c215 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in pfe_phy_configure() local
223 out_be32(&scfg->mdioselcr, 0x00000000); in pfe_phy_configure()
232 out_be32(&scfg->mdioselcr, 0x80000000); in pfe_phy_configure()
Dpfe_eth.c51 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in pfe_gemac_set_speed() local
54 u32 rgmii_pcr = in_be32(&scfg->rgmiipcr) & in pfe_gemac_set_speed()
66 out_be32(&scfg->rgmiipcr, rgmii_pcr | SCFG_RGMIIPCR_SETFD); in pfe_gemac_set_speed()
/external/u-boot/board/siemens/smartweb/
Dsmartweb.c200 writel((readl(&mat->scfg[3]) & (~AT91_MATRIX_SLOT_CYCLE)) in matrix_init()
202 &mat->scfg[3]); in matrix_init()
/external/u-boot/drivers/usb/host/
Dxhci-fsl.c42 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a008751() local
43 writel(SCFG_USB3PRM1CR_INIT, scfg + SCFG_USB3PRM1CR / 4); in erratum_a008751()
/external/u-boot/arch/arm/mach-at91/include/mach/
Dat91_matrix.h50 u32 scfg[AT91_MATRIX_SLAVES]; member
59 u32 scfg[AT91_MATRIX_SLAVES]; member
Dat91sam9261_matrix.h18 u32 scfg[5]; /* Slave Configuration Registers */ member
Dsama5_matrix.h14 u32 scfg[16]; /* 0x40 ~ 0x7c: Slave Configuration Register */ member
Dat91sam9263_matrix.h23 u32 scfg[16]; /* Slave Configuration Registers */ member
/external/u-boot/board/freescale/t1040qds/
Deth.c565 struct ccsr_scfg *scfg = (struct ccsr_scfg *) in board_eth_init() local
568 out_be32(&scfg->esgmiiselcr, in board_eth_init()
569 in_be32(&scfg->esgmiiselcr) | in board_eth_init()

12