/external/u-boot/arch/arm/cpu/armv7/ls102xa/ |
D | ls102xa_psci.c | 34 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_save_ddr_head() local 37 out_le32(&scfg->sparecr[2], dest); in ls1_save_ddr_head() 60 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_deepsleep_irq_cfg() local 77 ippdexpcr1 = in_be32(&scfg->sparecr[7]); in ls1_deepsleep_irq_cfg() 103 out_be32(&scfg->pmcintlecr, 0); in ls1_deepsleep_irq_cfg() 105 out_be32(&scfg->pmcintsr, 0xffffffff); in ls1_deepsleep_irq_cfg() 107 out_be32(&scfg->pmcintecr, pmcintecr); in ls1_deepsleep_irq_cfg() 123 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_start_fsm() local 127 setbits_be32(&scfg->hrstcr, 0x80000000); in ls1_start_fsm() 158 struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR; in ls1_deep_sleep() local [all …]
|
D | soc.c | 66 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008() local 68 clrsetbits_be32(scfg + SCFG_USB3PRM1CR / 4, in erratum_a009008() 77 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798() local 79 clrbits_be32(scfg + SCFG_USB3PRM1CR / 4, in erratum_a009798() 87 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a008997() local 89 clrsetbits_be32(scfg + SCFG_USB3PRM2CR / 4, in erratum_a008997() 161 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in arch_soc_init() local 171 out_be32(&scfg->qspi_cfg, SCFG_QSPI_CLKSEL); in arch_soc_init() 175 out_be32(&scfg->pixclkcr, SCFG_PIXCLKCR_PXCKEN); in arch_soc_init() 179 out_be32(&scfg->endiancr, SCFG_ENDIANCR_LE); in arch_soc_init() [all …]
|
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
D | soc.c | 61 static inline void set_usb_txvreftune(u32 __iomem *scfg, u32 offset) in set_usb_txvreftune() argument 63 scfg_clrsetbits32(scfg + offset / 4, in set_usb_txvreftune() 71 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008() local 75 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB1); in erratum_a009008() 77 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB2); in erratum_a009008() 78 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB3); in erratum_a009008() 81 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR); in erratum_a009008() 86 static inline void set_usb_sqrxtune(u32 __iomem *scfg, u32 offset) in set_usb_sqrxtune() argument 88 scfg_clrbits32(scfg + offset / 4, in set_usb_sqrxtune() 95 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798() local [all …]
|
D | ppa.c | 261 struct ccsr_scfg __iomem *scfg = (void *)(CONFIG_SYS_FSL_SCFG_ADDR); in ppa_init() local 262 boot_loc_ptr_l = &scfg->scratchrw[1]; in ppa_init() 263 boot_loc_ptr_h = &scfg->scratchrw[0]; in ppa_init() 266 loadable_l = &scfg->scratchrw[2]; in ppa_init() 267 loadable_h = &scfg->scratchrw[3]; in ppa_init()
|
D | mp.c | 76 struct ccsr_scfg __iomem *scfg = (void *)(CONFIG_SYS_FSL_SCFG_ADDR); in fsl_layerscape_wake_seconday_cores() local 138 scfg_out32(&scfg->scratchrw[0], (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores() 139 scfg_out32(&scfg->scratchrw[1], (u32)gd->relocaddr); in fsl_layerscape_wake_seconday_cores() 145 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 | 189 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_init() local 224 out_be32(&scfg->intpcr, AQR105_IRQ_MASK); in board_init() 231 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_board_mux() local 235 out_be32(&scfg->rcwpmuxcr0, in config_board_mux() 236 (in_be32(&scfg->rcwpmuxcr0) & ~0xff00) | 0x6600); in config_board_mux() 238 in_be32(&scfg->rcwpmuxcr0)); in config_board_mux() 241 out_be32(&scfg->rcwpmuxcr0, 0x3333); in config_board_mux() 242 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in config_board_mux() 249 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in config_board_mux()
|
/external/u-boot/board/freescale/ls1046ardb/ |
D | ls1046ardb.c | 70 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_init() local 95 out_be32(&scfg->intpcr, AQR105_IRQ_MASK); in board_init() 136 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_board_mux() local 140 out_be32(&scfg->rcwpmuxcr0, 0x3300); in config_board_mux() 141 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in config_board_mux() 148 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in config_board_mux()
|
/external/u-boot/board/freescale/ls1046afrwy/ |
D | ls1046afrwy.c | 159 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_board_mux() local 165 out_be32(&scfg->rcwpmuxcr0, 0x3300); in config_board_mux() 168 out_be32(&scfg->rcwpmuxcr0, 0x0000); in config_board_mux() 170 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in config_board_mux() 177 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in config_board_mux()
|
/external/u-boot/board/freescale/ls1021aqds/ |
D | ls1021aqds.c | 166 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local 170 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f() 240 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_etseccm_source() local 244 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE0_CLK125); in config_etseccm_source() 249 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in config_etseccm_source() 254 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE1_CLK125); in config_etseccm_source()
|
/external/u-boot/drivers/mailbox/ |
D | k3-sec-proxy.c | 65 void __iomem *scfg; member 84 phys_addr_t scfg; member 173 if ((sp_readl(spt->scfg, SCFG_THREAD_CTRL) in k3_sec_proxy_verify_thread() 322 spm->scfg = devfdt_get_addr_name(dev, "scfg"); in k3_sec_proxy_of_to_priv() 353 spt->scfg = (void *)SEC_PROXY_THREAD(spm->scfg, ind); in k3_sec_proxy_thread_setup()
|
/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/arm-trusted-firmware/plat/ti/k3/common/drivers/sec_proxy/ |
D | sec_proxy.c | 63 uintptr_t scfg; member 88 .scfg = SEC_PROXY_THREAD(SEC_PROXY_SCFG_BASE, _x), \ 139 if ((mmio_read_32(spt->scfg + SCFG_THREAD_CTRL) & SCFG_THREAD_CTRL_DIR_MASK) in k3_sec_proxy_verify_thread() 186 if (!(mmio_read_32(spt->scfg + SCFG_THREAD_CTRL) & SCFG_THREAD_CTRL_DIR_MASK)) { in k3_sec_proxy_clear_rx_thread()
|
/external/u-boot/board/freescale/ls1046aqds/ |
D | ls1046aqds.c | 311 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local 324 out_be32(&scfg->rcwpmuxcr0, 0x3333); in board_early_init_f() 325 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in board_early_init_f() 332 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in board_early_init_f()
|
/external/u-boot/board/freescale/ls1021aiot/ |
D | ls1021aiot.c | 146 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local 150 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f() 151 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in board_early_init_f()
|
/external/u-boot/board/freescale/ls1021atsn/ |
D | ls1021atsn.c | 128 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local 137 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f() 139 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in board_early_init_f()
|
/external/u-boot/board/freescale/ls1043aqds/ |
D | ls1043aqds.c | 371 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local 384 out_be32(&scfg->rcwpmuxcr0, 0x3333); in board_early_init_f() 385 out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1); in board_early_init_f() 390 out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault); in board_early_init_f()
|
/external/u-boot/doc/device-tree-bindings/mailbox/ |
D | k3-secure-proxy.txt | 14 scfg - Map the secure configuration region 27 reg-names = "rt", "scfg", "data";
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_mdio.c | 213 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in pfe_phy_configure() local 221 out_be32(&scfg->mdioselcr, 0x00000000); in pfe_phy_configure() 230 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
|