Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hwmon/
Dk8temp.c180 u8 scfg; in k8temp_probe() local
215 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
216 scfg &= ~(SEL_PLACE | SEL_CORE); /* Select sensor 0, core0 */ in k8temp_probe()
217 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
218 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
220 if (scfg & (SEL_PLACE | SEL_CORE)) { in k8temp_probe()
225 scfg |= (SEL_PLACE | SEL_CORE); in k8temp_probe()
226 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
232 scfg &= ~SEL_CORE; /* Select sensor 1, core0 */ in k8temp_probe()
233 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
[all …]
/linux-4.4.14/drivers/pci/host/
Dpci-layerscape.c50 struct regmap *scfg; member
85 if (!pcie->scfg) in ls1021_pcie_link_up()
88 regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); in ls1021_pcie_link_up()
102 pcie->scfg = syscon_regmap_lookup_by_phandle(pp->dev->of_node, in ls1021_pcie_host_init()
104 if (IS_ERR(pcie->scfg)) { in ls1021_pcie_host_init()
106 pcie->scfg = NULL; in ls1021_pcie_host_init()
112 pcie->scfg = NULL; in ls1021_pcie_host_init()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dscfg.txt9 - compatible: should be "fsl,<chip>-scfg"
15 scfg: global-utilities@fc000 {
16 compatible = "fsl,t1040-scfg";
/linux-4.4.14/Documentation/devicetree/bindings/pci/
Dlayerscape-pci.txt23 - fsl,pcie-scfg: Must include two entries.
37 fsl,pcie-scfg = <&scfg 0>;
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c50 struct ixgbe_dcb_config *scfg = &adapter->temp_dcb_cfg; in ixgbe_copy_dcb_cfg() local
70 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
120 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { in ixgbe_copy_dcb_cfg()
121 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; in ixgbe_copy_dcb_cfg()
124 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { in ixgbe_copy_dcb_cfg()
125 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; in ixgbe_copy_dcb_cfg()
132 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()
133 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()
138 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) { in ixgbe_copy_dcb_cfg()
139 dcfg->pfc_mode_enable = scfg->pfc_mode_enable; in ixgbe_copy_dcb_cfg()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dfsl.txt108 - compatible: should be "fsl,ls1021a-scfg"
112 scfg: scfg@1570000 {
113 compatible = "fsl,ls1021a-scfg";
/linux-4.4.14/arch/arm/boot/dts/
Dls1021a.dtsi146 scfg: scfg@1570000 { label
147 compatible = "fsl,ls1021a-scfg", "syscon";
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dt1023si-post.dtsi278 scfg: global-utilities@fc000 { label
279 compatible = "fsl,t1023-scfg";
Dt1040si-post.dtsi487 scfg: global-utilities@fc000 { label
488 compatible = "fsl,t1040-scfg";
/linux-4.4.14/sound/pci/ac97/
Dac97_patch.c1461 unsigned short scfg; in patch_ad1819() local
1464 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); in patch_ad1819()
1465 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x7000); /* select all codecs */ in patch_ad1819()
Dac97_codec.c2734 unsigned short scfg; in tune_ad_sharing() local
2740 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); in tune_ad_sharing()
2741 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x0200); in tune_ad_sharing()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_common.c2127 struct i40e_aqc_switch_seid *scfg = in i40e_aq_get_switch_config() local
2136 scfg->seid = cpu_to_le16(*start_seid); in i40e_aq_get_switch_config()
2139 *start_seid = le16_to_cpu(scfg->seid); in i40e_aq_get_switch_config()