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

/linux-4.1.27/drivers/pci/host/
H A Dpci-layerscape.c43 struct regmap *scfg; member in struct:ls_pcie
56 regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); ls_pcie_link_up()
136 pcie->scfg = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, ls_pcie_probe()
137 "fsl,pcie-scfg"); ls_pcie_probe()
138 if (IS_ERR(pcie->scfg)) { ls_pcie_probe()
140 return PTR_ERR(pcie->scfg); ls_pcie_probe()
144 "fsl,pcie-scfg", index, 2); ls_pcie_probe()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c1759 struct i40e_aqc_switch_seid *scfg = i40e_aq_get_switch_config() local
1768 scfg->seid = cpu_to_le16(*start_seid); i40e_aq_get_switch_config()
1771 *start_seid = le16_to_cpu(scfg->seid); i40e_aq_get_switch_config()

Completed in 195 milliseconds