Searched refs:scfg (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dk8temp.c180 u8 scfg; k8temp_probe() local
215 pci_read_config_byte(pdev, REG_TEMP, &scfg); k8temp_probe()
216 scfg &= ~(SEL_PLACE | SEL_CORE); /* Select sensor 0, core0 */ k8temp_probe()
217 pci_write_config_byte(pdev, REG_TEMP, scfg); k8temp_probe()
218 pci_read_config_byte(pdev, REG_TEMP, &scfg); k8temp_probe()
220 if (scfg & (SEL_PLACE | SEL_CORE)) { k8temp_probe()
225 scfg |= (SEL_PLACE | SEL_CORE); k8temp_probe()
226 pci_write_config_byte(pdev, REG_TEMP, scfg); k8temp_probe()
232 scfg &= ~SEL_CORE; /* Select sensor 1, core0 */ k8temp_probe()
233 pci_write_config_byte(pdev, REG_TEMP, scfg); k8temp_probe()
235 scfg |= SEL_CORE; /* prepare for next selection */ k8temp_probe()
241 scfg &= ~SEL_PLACE; /* Select sensor 0, core1 */ k8temp_probe()
242 pci_write_config_byte(pdev, REG_TEMP, scfg); k8temp_probe()
/linux-4.4.14/drivers/pci/host/
H A Dpci-layerscape.c50 struct regmap *scfg; member in struct:ls_pcie
85 if (!pcie->scfg) ls1021_pcie_link_up()
88 regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); ls1021_pcie_link_up()
102 pcie->scfg = syscon_regmap_lookup_by_phandle(pp->dev->of_node, ls1021_pcie_host_init()
103 "fsl,pcie-scfg"); ls1021_pcie_host_init()
104 if (IS_ERR(pcie->scfg)) { ls1021_pcie_host_init()
106 pcie->scfg = NULL; ls1021_pcie_host_init()
111 "fsl,pcie-scfg", index, 2)) { ls1021_pcie_host_init()
112 pcie->scfg = NULL; ls1021_pcie_host_init()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c50 struct ixgbe_dcb_config *scfg = &adapter->temp_dcb_cfg; ixgbe_copy_dcb_cfg() local
70 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; ixgbe_copy_dcb_cfg()
120 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { ixgbe_copy_dcb_cfg()
121 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; ixgbe_copy_dcb_cfg()
124 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { ixgbe_copy_dcb_cfg()
125 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; ixgbe_copy_dcb_cfg()
132 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { ixgbe_copy_dcb_cfg()
133 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; ixgbe_copy_dcb_cfg()
138 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) { ixgbe_copy_dcb_cfg()
139 dcfg->pfc_mode_enable = scfg->pfc_mode_enable; ixgbe_copy_dcb_cfg()
/linux-4.4.14/sound/pci/ac97/
H A Dac97_codec.c2734 unsigned short scfg; tune_ad_sharing() local
2740 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); tune_ad_sharing()
2741 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x0200); tune_ad_sharing()
H A Dac97_patch.c1461 unsigned short scfg; patch_ad1819() local
1464 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); patch_ad1819()
1465 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x7000); /* select all codecs */ patch_ad1819()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c2127 struct i40e_aqc_switch_seid *scfg = i40e_aq_get_switch_config() local
2136 scfg->seid = cpu_to_le16(*start_seid); i40e_aq_get_switch_config()
2139 *start_seid = le16_to_cpu(scfg->seid); i40e_aq_get_switch_config()

Completed in 313 milliseconds