Home
last modified time | relevance | path

Searched full:scfg (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/freescale/
Dfsl,layerscape-scfg.txt1 Freescale SCFG
3 SCFG is the supplemental configuration unit, that provides SoC specific
9 Chip-specific strings are of the form "fsl,<chip>-scfg",
13 - reg: should contain base address and length of SCFG memory-mapped registers
16 scfg: scfg@1570000 {
17 compatible = "fsl,ls1021a-scfg";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/fsl/
Dfsl,layerscape-scfg.yaml4 $id: http://devicetree.org/schemas/soc/fsl/fsl,layerscape-scfg.yaml#
14 SCFG is the supplemental configuration unit, that provides SoC specific
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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/
Dscfg.txt1 Freescale Supplement configuration unit (SCFG)
3 SCFG is the supplemental configuration unit, that provides SoC specific
9 - compatible: should be "fsl,<chip>-scfg"
10 - reg: should contain base address and length of SCFG memory-mapped
15 scfg: global-utilities@fc000 {
16 compatible = "fsl,t1040-scfg";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/powerpc/fsl/
Dscfg.txt1 Freescale Supplement configuration unit (SCFG)
3 SCFG is the supplemental configuration unit, that provides SoC specific
9 - compatible: should be "fsl,<chip>-scfg"
10 - reg: should contain base address and length of SCFG memory-mapped
15 scfg: global-utilities@fc000 {
16 compatible = "fsl,t1040-scfg";
/kernel/linux/linux-5.10/drivers/hwmon/
Dk8temp.c135 u8 scfg; in k8temp_probe() local
171 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
172 scfg &= ~(SEL_PLACE | SEL_CORE); /* Select sensor 0, core0 */ 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()
[all …]
/kernel/linux/linux-6.6/drivers/hwmon/
Dk8temp.c135 u8 scfg; in k8temp_probe() local
171 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
172 scfg &= ~(SEL_PLACE | SEL_CORE); /* Select sensor 0, core0 */ 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()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/85xx/
Dt1042rdb_diu.c17 /*DIU Pixel ClockCR offset in scfg*/
79 void __iomem *scfg; in t1042rdb_set_pixel_clock() local
84 scfg_np = of_find_compatible_node(NULL, NULL, "fsl,t1040-scfg"); in t1042rdb_set_pixel_clock()
86 pr_err("%s: Missing scfg node. Can not display video.\n", in t1042rdb_set_pixel_clock()
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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
Dt1042rdb_diu.c17 /*DIU Pixel ClockCR offset in scfg*/
79 void __iomem *scfg; in t1042rdb_set_pixel_clock() local
84 scfg_np = of_find_compatible_node(NULL, NULL, "fsl,t1040-scfg"); in t1042rdb_set_pixel_clock()
86 pr_err("%s: Missing scfg node. Can not display video.\n", in t1042rdb_set_pixel_clock()
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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dfsl,ls-extirq.txt7 Supplemental Configuration Unit (SCFG).
16 the SCFG.
22 scfg: scfg@1570000 {
23 compatible = "fsl,ls1021a-scfg", "syscon";
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpci-layerscape.c49 struct regmap *scfg; member
99 if (!pcie->scfg) in ls1021_pcie_link_up()
102 regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); in ls1021_pcie_link_up()
166 pcie->scfg = syscon_regmap_lookup_by_phandle(dev->of_node, in ls1021_pcie_host_init()
167 "fsl,pcie-scfg"); in ls1021_pcie_host_init()
168 if (IS_ERR(pcie->scfg)) { in ls1021_pcie_host_init()
169 ret = PTR_ERR(pcie->scfg); in ls1021_pcie_host_init()
171 pcie->scfg = NULL; in ls1021_pcie_host_init()
176 "fsl,pcie-scfg", index, 2)) { in ls1021_pcie_host_init()
177 pcie->scfg = NULL; in ls1021_pcie_host_init()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dlayerscape-pci.txt34 - fsl,pcie-scfg: Must include two entries.
35 The first entry must be a link to the SCFG device node
37 This is used to get SCFG PEXN registers
51 fsl,pcie-scfg = <&scfg 0>;
/kernel/linux/linux-6.6/drivers/irqchip/
Dirq-mchp-eic.c33 * @scfg: backup for scfg registers (necessary for backup and self-refresh mode)
41 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()
Dirq-ls-scfg-msi.c3 * Freescale SCFG MSI(-X) support
131 .name = "SCFG",
421 .name = "ls-scfg-msi",
431 MODULE_DESCRIPTION("Freescale Layerscape SCFG MSI controller driver");
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dlayerscape-pci.txt42 - fsl,pcie-scfg: Must include two entries.
43 The first entry must be a link to the SCFG device node
45 This is used to get SCFG PEXN registers
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c25 struct ixgbe_dcb_config *scfg = &adapter->temp_dcb_cfg; in ixgbe_copy_dcb_cfg() local
45 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
95 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { in ixgbe_copy_dcb_cfg()
96 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; in ixgbe_copy_dcb_cfg()
99 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { in ixgbe_copy_dcb_cfg()
100 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; in ixgbe_copy_dcb_cfg()
107 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()
108 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()
113 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) { in ixgbe_copy_dcb_cfg()
114 dcfg->pfc_mode_enable = scfg->pfc_mode_enable; in ixgbe_copy_dcb_cfg()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
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()
/kernel/linux/linux-6.6/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_drv.c103 struct regmap *scfg; in fsl_dcu_load() local
112 scfg = syscon_regmap_lookup_by_compatible("fsl,ls1021a-scfg"); in fsl_dcu_load()
113 if (PTR_ERR(scfg) != -ENODEV) { in fsl_dcu_load()
120 ret = regmap_update_bits(scfg, SCFG_PIXCLKCR, SCFG_PIXCLKCR_PXCEN, in fsl_dcu_load()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mailbox/
Dti,secure-proxy.txt18 scfg - Map the configuration region
34 reg-names = "target_data", "rt", "scfg";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mailbox/
Dti,secure-proxy.yaml36 - const: scfg
73 reg-names = "target_data", "rt", "scfg";
/kernel/linux/linux-5.10/drivers/dma/
Dst_fdma.c358 maxburst = fchan->scfg.src_maxburst; in config_reqctrl()
359 width = fchan->scfg.src_addr_width; in config_reqctrl()
360 addr = fchan->scfg.src_addr; in config_reqctrl()
365 maxburst = fchan->scfg.dst_maxburst; in config_reqctrl()
366 width = fchan->scfg.dst_addr_width; in config_reqctrl()
367 addr = fchan->scfg.dst_addr; in config_reqctrl()
682 memcpy(&fchan->scfg, slave_cfg, sizeof(fchan->scfg)); in st_fdma_slave_config()
/kernel/linux/linux-6.6/drivers/dma/
Dst_fdma.c358 maxburst = fchan->scfg.src_maxburst; in config_reqctrl()
359 width = fchan->scfg.src_addr_width; in config_reqctrl()
360 addr = fchan->scfg.src_addr; in config_reqctrl()
365 maxburst = fchan->scfg.dst_maxburst; in config_reqctrl()
366 width = fchan->scfg.dst_addr_width; in config_reqctrl()
367 addr = fchan->scfg.dst_addr; in config_reqctrl()
682 memcpy(&fchan->scfg, slave_cfg, sizeof(fchan->scfg)); in st_fdma_slave_config()
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6afe.c542 struct afe_param_id_slot_mapping_cfg *scfg; member
842 kfree(port->scfg); in q6afe_port_free()
1274 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1275 if (!port->scfg) in q6afe_tdm_port_prepare()
1278 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; in q6afe_tdm_port_prepare()
1279 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1280 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1281 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1282 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1499 if (port->scfg) { in q6afe_port_start()
[all …]
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/
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()
1283 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; 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()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-ls-scfg-msi.c3 * Freescale SCFG MSI(-X) support
131 .name = "SCFG",
427 .name = "ls-scfg-msi",
437 MODULE_DESCRIPTION("Freescale Layerscape SCFG MSI controller driver");
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dfsl-ls1043a.dtsi316 scfg: scfg@1570000 { label
317 compatible = "fsl,ls1043a-scfg", "syscon";
919 fsl,pcie-scfg = <&scfg 0>;
946 fsl,pcie-scfg = <&scfg 1>;
973 fsl,pcie-scfg = <&scfg 2>;

1234