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

/drivers/hwmon/
H A Dk8temp.c181 u8 scfg; local
220 pci_read_config_byte(pdev, REG_TEMP, &scfg);
221 scfg &= ~(SEL_PLACE | SEL_CORE); /* Select sensor 0, core0 */
222 pci_write_config_byte(pdev, REG_TEMP, scfg);
223 pci_read_config_byte(pdev, REG_TEMP, &scfg);
225 if (scfg & (SEL_PLACE | SEL_CORE)) {
231 scfg |= (SEL_PLACE | SEL_CORE);
232 pci_write_config_byte(pdev, REG_TEMP, scfg);
238 scfg &= ~SEL_CORE; /* Select sensor 1, core0 */
239 pci_write_config_byte(pdev, REG_TEMP, scfg);
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c49 struct ixgbe_dcb_config *scfg = &adapter->temp_dcb_cfg; local
69 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0];
119 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) {
120 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j];
123 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) {
124 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j];
131 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) {
132 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc;
137 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) {
138 dcfg->pfc_mode_enable = scfg
[all...]

Completed in 48 milliseconds