Home
last modified time | relevance | path

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

1234

/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A 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()
75 ippdexpcr1 = in_le32(&scfg->sparecr[7]); in ls1_deepsleep_irq_cfg()
96 out_be32(&scfg->pmcintlecr, 0); in ls1_deepsleep_irq_cfg()
98 out_be32(&scfg->pmcintsr, 0xffffffff); in ls1_deepsleep_irq_cfg()
100 out_be32(&scfg->pmcintecr, pmcintecr); in ls1_deepsleep_irq_cfg()
120 setbits_be32(&scfg->hrstcr, 0x80000000); in ls1_start_fsm()
160 out_be32(&scfg->clusterpmcr, SCFG_CLUSTERPMCR_WFIL2EN); in ls1_deep_sleep()
166 out_le32(&scfg->sparecr[3], entry_point); in ls1_deep_sleep()
193 setbits_be32(&scfg->dpslpcr, SCFG_DPSLPCR_WDRR_EN); in ls1_deep_sleep()
[all …]
H A Dsoc.c66 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()
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()
205 out_be32(&scfg->snpcnfgcr, SCFG_SNPCNFGCR_SEC_RD_WR | in arch_soc_init()
[all …]
/openbmc/u-boot/board/freescale/common/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/hwmon/
H A Dk8temp.c135 u8 scfg; in k8temp_probe() local
171 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
173 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
174 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
176 if (scfg & (SEL_PLACE | SEL_CORE)) { in k8temp_probe()
181 scfg |= (SEL_PLACE | SEL_CORE); in k8temp_probe()
182 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
188 scfg &= ~SEL_CORE; /* Select sensor 1, core0 */ in k8temp_probe()
189 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
197 scfg &= ~SEL_PLACE; /* Select sensor 0, core1 */ in k8temp_probe()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dsoc.c60 scfg_clrsetbits32(scfg + offset / 4, in set_usb_txvreftune()
68 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008() local
78 set_usb_txvreftune(scfg, SCFG_USB3PRM1CR); in erratum_a009008()
85 scfg_clrbits32(scfg + offset / 4, in set_usb_sqrxtune()
92 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798() local
96 set_usb_sqrxtune(scfg, SCFG_USB3PRM1CR_USB1); in erratum_a009798()
98 set_usb_sqrxtune(scfg, SCFG_USB3PRM1CR_USB2); in erratum_a009798()
102 set_usb_sqrxtune(scfg, SCFG_USB3PRM1CR); in erratum_a009798()
111 scfg_clrsetbits32(scfg + offset / 4, in set_usb_pcstxswingfull()
574 out_be32(&scfg->pfeasbcr, in init_pfe_scfg_dcfg_regs()
[all …]
H A Dppa.c261 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()
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/
H A Dfsl,layerscape-scfg.yaml4 $id: http://devicetree.org/schemas/soc/fsl/fsl,layerscape-scfg.yaml#
22 - fsl,ls1012a-scfg
23 - fsl,ls1021a-scfg
24 - fsl,ls1028a-scfg
25 - fsl,ls1043a-scfg
26 - fsl,ls1046a-scfg
56 compatible = "fsl,ls1021a-scfg", "syscon";
/openbmc/u-boot/board/freescale/ls1043ardb/
H A Dls1043ardb.c189 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()
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dt1042rdb_diu.c79 void __iomem *scfg; in t1042rdb_set_pixel_clock() local
91 scfg = of_iomap(scfg_np, 0); in t1042rdb_set_pixel_clock()
93 if (!scfg) { in t1042rdb_set_pixel_clock()
113 clrbits32(scfg + CCSR_SCFG_PIXCLKCR, in t1042rdb_set_pixel_clock()
117 setbits32(scfg + CCSR_SCFG_PIXCLKCR, PIXCLKCR_PXCKEN | (pxclk << 16)); in t1042rdb_set_pixel_clock()
119 iounmap(scfg); in t1042rdb_set_pixel_clock()
/openbmc/u-boot/board/freescale/ls1046ardb/
H A Dls1046ardb.c70 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()
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dscfg.txt9 - compatible: should be "fsl,<chip>-scfg"
15 scfg: global-utilities@fc000 {
16 compatible = "fsl,t1040-scfg";
/openbmc/u-boot/board/freescale/ls1021aqds/
H A Dls1021aqds.c179 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local
183 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f()
253 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in config_etseccm_source() local
257 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE0_CLK125); in config_etseccm_source()
262 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in config_etseccm_source()
267 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE1_CLK125); in config_etseccm_source()
/openbmc/u-boot/board/freescale/t104xrdb/
H A 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()
/openbmc/u-boot/drivers/mailbox/
H A Dk3-sec-proxy.c65 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()
/openbmc/u-boot/board/freescale/ls1046aqds/
H A Dls1046aqds.c311 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()
/openbmc/u-boot/board/freescale/ls1021aiot/
H A Dls1021aiot.c160 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in board_early_init_f() local
164 clrbits_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); in board_early_init_f()
165 out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125); in board_early_init_f()
/openbmc/u-boot/doc/device-tree-bindings/mailbox/
H A Dk3-secure-proxy.txt14 scfg - Map the secure configuration region
27 reg-names = "rt", "scfg", "data";
/openbmc/u-boot/board/freescale/ls1043aqds/
H A Dls1043aqds.c371 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()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c23 struct ixgbe_dcb_config *scfg = &adapter->temp_dcb_cfg; in ixgbe_copy_dcb_cfg() local
43 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
93 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { in ixgbe_copy_dcb_cfg()
94 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; in ixgbe_copy_dcb_cfg()
97 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { in ixgbe_copy_dcb_cfg()
98 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; in ixgbe_copy_dcb_cfg()
105 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()
106 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()
111 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) { in ixgbe_copy_dcb_cfg()
112 dcfg->pfc_mode_enable = scfg->pfc_mode_enable; in ixgbe_copy_dcb_cfg()
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_mdio.c214 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR; in pfe_phy_configure() local
222 out_be32(&scfg->mdioselcr, 0x00000000); in pfe_phy_configure()
231 out_be32(&scfg->mdioselcr, 0x80000000); in pfe_phy_configure()
/openbmc/linux/drivers/irqchip/
H A Dirq-mchp-eic.c41 u32 scfg[MCHP_EIC_NIRQ]; member
117 eic->scfg[hwirq] = readl_relaxed(eic->base + in mchp_eic_irq_suspend()
134 writel_relaxed(eic->scfg[hwirq], eic->base + in mchp_eic_irq_resume()
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c544 struct afe_param_id_slot_mapping_cfg *scfg; member
848 kfree(port->scfg); in q6afe_port_free()
1279 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1280 if (!port->scfg) in q6afe_tdm_port_prepare()
1284 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1285 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1286 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1287 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1504 if (port->scfg) { in q6afe_port_start()
1505 ret = q6afe_port_set_param_v2(port, port->scfg, in q6afe_port_start()
[all …]

1234