| /linux-6.15/arch/x86/kernel/apic/ |
| H A D | msi.c | 37 struct irq_cfg old_cfg, *cfg = irqd_cfg(irqd); in msi_set_affinity() local 44 old_cfg = *cfg; in msi_set_affinity() 66 cfg->vector == old_cfg.vector || in msi_set_affinity() 67 old_cfg.vector == MANAGED_IRQ_SHUTDOWN_VECTOR || in msi_set_affinity() 69 cfg->dest_apicid == old_cfg.dest_apicid) { in msi_set_affinity() 115 old_cfg.vector = cfg->vector; in msi_set_affinity() 116 irq_msi_update_msg(irqd, &old_cfg); in msi_set_affinity()
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 109 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setets() local 116 old_cfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_setets() 118 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_setets() 157 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setpfc() local 166 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_setpfc() 197 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setapp() local 220 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_setapp() 248 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_delapp() local 261 if (old_cfg->numapps == 1) in i40e_dcbnl_ieee_delapp() 265 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_delapp() [all …]
|
| H A D | i40e.h | 1290 struct i40e_dcbx_config *old_cfg, 1295 struct i40e_dcbx_config *old_cfg,
|
| H A D | i40e_main.c | 6916 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config() 6917 old_cfg->etsrec = old_cfg->etscfg; in i40e_hw_set_dcb_config() 6956 struct i40e_dcbx_config *old_cfg; in i40e_hw_dcb_config() local 7008 old_cfg = &hw->local_dcbx_config; in i40e_hw_dcb_config() 7085 *old_cfg = *new_cfg; in i40e_hw_dcb_config() 9393 &old_cfg->etscfg, in i40e_dcb_need_reconfig() 9397 &old_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig() 9404 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig() 9409 &old_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig() 9416 &old_cfg->pfc, in i40e_dcb_need_reconfig() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_lib.c | 353 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local 389 old_cfg = kmemdup(curr_cfg, sizeof(*old_cfg), GFP_KERNEL); in ice_pf_dcb_cfg() 390 if (!old_cfg) in ice_pf_dcb_cfg() 433 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg() 452 kfree(old_cfg); in ice_pf_dcb_cfg() 492 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg() 496 &old_cfg->etscfg.prio_table, in ice_dcb_need_recfg() 503 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg() 508 &old_cfg->etscfg.tsatable, in ice_dcb_need_recfg() 514 if (memcmp(&new_cfg->pfc, &old_cfg->pfc, sizeof(new_cfg->pfc))) { in ice_dcb_need_recfg() [all …]
|
| H A D | ice_dcb_nl.h | 11 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, 17 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcbnl_flush_apps() argument
|
| H A D | ice_dcb_nl.c | 737 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_setapp() local 779 old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_setapp() 800 if (old_cfg->pfc_mode == ICE_QOS_MODE_VLAN) { in ice_dcbnl_setapp() 870 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_delapp() local 885 old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_delapp() 913 new_cfg->app[j].selector = old_cfg->app[j + 1].selector; in ice_dcbnl_delapp() 914 new_cfg->app[j].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp() 915 new_cfg->app[j].priority = old_cfg->app[j + 1].priority; in ice_dcbnl_delapp() 1113 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcbnl_flush_apps() argument 1122 for (i = 0; i < old_cfg->numapps; i++) { in ice_dcbnl_flush_apps() [all …]
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | xilinx-xadc-events.c | 128 uint16_t cfg, old_cfg; in xadc_write_event_config() local 144 old_cfg = cfg; in xadc_write_event_config() 149 if (old_cfg != cfg) in xadc_write_event_config()
|
| /linux-6.15/drivers/clk/tegra/ |
| H A D | clk-pll.c | 766 _get_pll_mnp(pll, &old_cfg); in _program_pll() 769 (cfg->m == old_cfg.m) && (cfg->p == old_cfg.p)) { in _program_pll() 829 _get_pll_mnp(pll, &old_cfg); in clk_pll_set_rate() 831 cfg.p = old_cfg.p; in clk_pll_set_rate() 833 if (old_cfg.m != cfg.m || old_cfg.n != cfg.n || old_cfg.p != cfg.p || in clk_pll_set_rate() 1345 cfg.p = old_cfg.p; in clk_pllxc_set_rate() 1347 if (old_cfg.m != cfg.m || old_cfg.n != cfg.n || old_cfg.p != cfg.p) in clk_pllxc_set_rate() 1503 if (cfg.m != old_cfg.m) { in clk_pllc_set_rate() 1508 if (old_cfg.n == cfg.n && old_cfg.p == cfg.p) in clk_pllc_set_rate() 1565 cfg.p = old_cfg.p; in clk_pllre_set_rate() [all …]
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | qos.c | 1227 struct otx2_qos_cfg *old_cfg, *new_cfg; in otx2_qos_leaf_alloc_queue() local 1282 old_cfg = kzalloc(sizeof(*old_cfg), GFP_KERNEL); in otx2_qos_leaf_alloc_queue() 1283 if (!old_cfg) { in otx2_qos_leaf_alloc_queue() 1341 otx2_qos_free_cfg(pfvf, old_cfg); in otx2_qos_leaf_alloc_queue() 1342 kfree(old_cfg); in otx2_qos_leaf_alloc_queue() 1349 kfree(old_cfg); in otx2_qos_leaf_alloc_queue() 1420 old_cfg = kzalloc(sizeof(*old_cfg), GFP_KERNEL); in otx2_qos_leaf_to_inner() 1421 if (!old_cfg) { in otx2_qos_leaf_to_inner() 1481 otx2_qos_free_cfg(pfvf, old_cfg); in otx2_qos_leaf_to_inner() 1482 kfree(old_cfg); in otx2_qos_leaf_to_inner() [all …]
|
| /linux-6.15/net/core/ |
| H A D | dev_ioctl.c | 332 struct kernel_hwtstamp_config old_cfg = {}; in dev_set_hwtstamp_phylib() local 361 err = ops->ndo_hwtstamp_get(dev, &old_cfg); in dev_set_hwtstamp_phylib() 376 changed = kernel_hwtstamp_config_changed(&old_cfg, cfg); in dev_set_hwtstamp_phylib() 382 ops->ndo_hwtstamp_set(dev, &old_cfg, NULL); in dev_set_hwtstamp_phylib()
|
| /linux-6.15/drivers/net/phy/ |
| H A D | phy.c | 1929 const struct eee_config *old_cfg) in phy_ethtool_set_eee_noneg() argument 1939 phydev->eee_cfg.tx_lpi_timer != old_cfg->tx_lpi_timer) { in phy_ethtool_set_eee_noneg() 1958 struct eee_config old_cfg; in phy_ethtool_set_eee() local 1966 old_cfg = phydev->eee_cfg; in phy_ethtool_set_eee() 1971 phy_ethtool_set_eee_noneg(phydev, &old_cfg); in phy_ethtool_set_eee() 1973 phydev->eee_cfg = old_cfg; in phy_ethtool_set_eee()
|
| /linux-6.15/drivers/net/wireless/realtek/rtw89/ |
| H A D | chan.c | 2195 struct rtw89_mcc_config old_cfg = *config; in rtw89_mcc_update() local 2208 if (old_cfg.pattern.plan != RTW89_MCC_PLAN_NO_BT || in rtw89_mcc_update() 2218 if (memcmp(&old_cfg.sync, &config->sync, sizeof(old_cfg.sync)) == 0) in rtw89_mcc_update()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 10369 const struct hclge_vlan_info *old_cfg) in hclge_need_update_vlan_filter() argument 10371 if (new_cfg->vlan_tag != old_cfg->vlan_tag) in hclge_need_update_vlan_filter() 10374 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0)) in hclge_need_update_vlan_filter()
|