Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/pci/host/
Dpci-layerscape.c43 struct regmap *scfg; member
56 regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); in ls_pcie_link_up()
136 pcie->scfg = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in ls_pcie_probe()
138 if (IS_ERR(pcie->scfg)) { in ls_pcie_probe()
140 return PTR_ERR(pcie->scfg); in ls_pcie_probe()
/linux-4.1.27/Documentation/devicetree/bindings/pci/
Dlayerscape-pci.txt13 - fsl,pcie-scfg: Must include two entries.
27 fsl,pcie-scfg = <&scfg 0>;
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/arm/
Dfsl.txt105 - compatible: should be "fsl,ls1021a-scfg"
109 scfg: scfg@1570000 {
110 compatible = "fsl,ls1021a-scfg";
/linux-4.1.27/arch/arm/boot/dts/
Dls1021a.dtsi142 scfg: scfg@1570000 { label
143 compatible = "fsl,ls1021a-scfg", "syscon";
/linux-4.1.27/sound/pci/ac97/
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()
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()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_common.c1759 struct i40e_aqc_switch_seid *scfg = in i40e_aq_get_switch_config() local
1768 scfg->seid = cpu_to_le16(*start_seid); in i40e_aq_get_switch_config()
1771 *start_seid = le16_to_cpu(scfg->seid); in i40e_aq_get_switch_config()