/external/u-boot/arch/arm/cpu/armv7/ls102xa/ |
D | ls102xa_psci.c | 33 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 …]
|
D | soc.c | 65 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 …]
|
D | cpu.c | 311 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/ |
D | soc.c | 54 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 …]
|
D | ppa.c | 262 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()
|
D | mp.c | 75 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/ |
D | arm_sleep.c | 58 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()
|
D | mpc85xx_sleep.c | 47 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()
|
D | ls102xa_stream_id.c | 12 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/ |
D | ls1043ardb.c | 78 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/ |
D | ls1046ardb.c | 69 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/ |
D | ls1021aqds.c | 180 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/ |
D | ls1046aqds.c | 171 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/ |
D | eth.c | 140 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/ |
D | ls1043aqds.c | 232 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/ |
D | ls1021aiot.c | 159 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/ |
D | pfe_mdio.c | 215 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()
|
D | pfe_eth.c | 51 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/ |
D | smartweb.c | 200 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/ |
D | xhci-fsl.c | 42 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/ |
D | at91_matrix.h | 50 u32 scfg[AT91_MATRIX_SLAVES]; member 59 u32 scfg[AT91_MATRIX_SLAVES]; member
|
D | at91sam9261_matrix.h | 18 u32 scfg[5]; /* Slave Configuration Registers */ member
|
D | sama5_matrix.h | 14 u32 scfg[16]; /* 0x40 ~ 0x7c: Slave Configuration Register */ member
|
D | at91sam9263_matrix.h | 23 u32 scfg[16]; /* Slave Configuration Registers */ member
|
/external/u-boot/board/freescale/t1040qds/ |
D | eth.c | 565 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()
|