Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/arch/powerpc/platforms/85xx/
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()
/Linux-v5.4/Documentation/devicetree/bindings/arm/freescale/
Dfsl,layerscape-scfg.txt9 Chip-specific strings are of the form "fsl,<chip>-scfg",
16 scfg: scfg@1570000 {
17 compatible = "fsl,ls1021a-scfg";
/Linux-v5.4/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()
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()
177 pcie->scfg = NULL; in ls1021_pcie_host_init()
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/fsl/
Dscfg.txt9 - compatible: should be "fsl,<chip>-scfg"
15 scfg: global-utilities@fc000 {
16 compatible = "fsl,t1040-scfg";
/Linux-v5.4/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()
/Linux-v5.4/sound/soc/qcom/qdsp6/
Dq6afe.c479 struct afe_param_id_slot_mapping_cfg *scfg; member
723 kfree(port->scfg); in q6afe_port_free()
1114 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1115 if (!port->scfg) in q6afe_tdm_port_prepare()
1118 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; in q6afe_tdm_port_prepare()
1119 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1120 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1121 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1122 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1317 if (port->scfg) { in q6afe_port_start()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/pci/
Dlayerscape-pci.txt31 - fsl,pcie-scfg: Must include two entries.
48 fsl,pcie-scfg = <&scfg 0>;
/Linux-v5.4/Documentation/devicetree/bindings/mailbox/
Dti,secure-proxy.txt18 scfg - Map the configuration region
34 reg-names = "target_data", "rt", "scfg";
/Linux-v5.4/drivers/dma/
Dst_fdma.c357 maxburst = fchan->scfg.src_maxburst; in config_reqctrl()
358 width = fchan->scfg.src_addr_width; in config_reqctrl()
359 addr = fchan->scfg.src_addr; in config_reqctrl()
364 maxburst = fchan->scfg.dst_maxburst; in config_reqctrl()
365 width = fchan->scfg.dst_addr_width; in config_reqctrl()
366 addr = fchan->scfg.dst_addr; in config_reqctrl()
681 memcpy(&fchan->scfg, slave_cfg, sizeof(fchan->scfg)); in st_fdma_slave_config()
Dst_fdma.h120 struct dma_slave_config scfg; member
/Linux-v5.4/arch/arm/boot/dts/
Dls1021a.dtsi215 scfg: scfg@1570000 { label
216 compatible = "fsl,ls1021a-scfg", "syscon";
873 fsl,pcie-scfg = <&scfg 0>;
897 fsl,pcie-scfg = <&scfg 1>;
/Linux-v5.4/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a.dtsi152 scfg: scfg@1570000 { label
153 compatible = "fsl,ls1012a-scfg", "syscon";
Dfsl-ls1043a.dtsi229 scfg: scfg@1570000 { label
230 compatible = "fsl,ls1043a-scfg", "syscon";
Dfsl-ls1046a.dtsi232 scfg: scfg@1570000 { label
233 compatible = "fsl,ls1046a-scfg", "syscon";
Dfsl-ls1028a.dtsi164 scfg: syscon@1fc0000 { label
165 compatible = "fsl,ls1028a-scfg", "syscon";
/Linux-v5.4/arch/powerpc/boot/dts/fsl/
Dt1023si-post.dtsi449 scfg: global-utilities@fc000 { label
450 compatible = "fsl,t1023-scfg";
Dt1040si-post.dtsi537 scfg: global-utilities@fc000 { label
538 compatible = "fsl,t1040-scfg";
/Linux-v5.4/drivers/irqchip/
DMakefile87 obj-$(CONFIG_LS_SCFG_MSI) += irq-ls-scfg-msi.o
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_common.c2389 struct i40e_aqc_switch_seid *scfg = in i40e_aq_get_switch_config() local
2398 scfg->seid = cpu_to_le16(*start_seid); in i40e_aq_get_switch_config()
2401 *start_seid = le16_to_cpu(scfg->seid); in i40e_aq_get_switch_config()
2423 struct i40e_aqc_set_switch_config *scfg = in i40e_aq_set_switch_config() local
2429 scfg->flags = cpu_to_le16(flags); in i40e_aq_set_switch_config()
2430 scfg->valid_flags = cpu_to_le16(valid_flags); in i40e_aq_set_switch_config()
2431 scfg->mode = mode; in i40e_aq_set_switch_config()
2433 scfg->switch_tag = cpu_to_le16(hw->switch_tag); in i40e_aq_set_switch_config()
2434 scfg->first_tag = cpu_to_le16(hw->first_tag); in i40e_aq_set_switch_config()
2435 scfg->second_tag = cpu_to_le16(hw->second_tag); in i40e_aq_set_switch_config()
/Linux-v5.4/arch/arm64/boot/dts/ti/
Dk3-j721e-main.dtsi103 reg-names = "target_data", "rt", "scfg";
Dk3-am65-main.dtsi57 reg-names = "target_data", "rt", "scfg";
/Linux-v5.4/sound/pci/ac97/
Dac97_codec.c2714 unsigned short scfg; in tune_ad_sharing() local
2720 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); in tune_ad_sharing()
2721 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x0200); in tune_ad_sharing()
Dac97_patch.c1446 unsigned short scfg; in patch_ad1819() local
1449 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); in patch_ad1819()
1450 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x7000); /* select all codecs */ in patch_ad1819()