/openbmc/linux/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()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 110 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setets() local 117 old_cfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_setets() 119 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_setets() 158 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setpfc() local 165 old_cfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_setpfc() 167 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_setpfc() 198 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setapp() local 205 old_cfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_setapp() 206 if (old_cfg->numapps == I40E_DCBX_MAX_APPS) in i40e_dcbnl_ieee_setapp() 217 if (i40e_dcbnl_find_app(old_cfg, &new_app)) in i40e_dcbnl_ieee_setapp() [all …]
|
H A D | i40e.h | 1241 struct i40e_dcbx_config *old_cfg, 1246 struct i40e_dcbx_config *old_cfg,
|
H A D | i40e_main.c | 6919 struct i40e_dcbx_config *old_cfg = &pf->hw.local_dcbx_config; in i40e_hw_set_dcb_config() local 6923 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config() 6932 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config() 6933 old_cfg->etsrec = old_cfg->etscfg; in i40e_hw_set_dcb_config() 6972 struct i40e_dcbx_config *old_cfg; in i40e_hw_dcb_config() local 7024 old_cfg = &hw->local_dcbx_config; in i40e_hw_dcb_config() 7026 need_reconfig = i40e_dcb_need_reconfig(pf, old_cfg, new_cfg); in i40e_hw_dcb_config() 7099 *old_cfg = *new_cfg; in i40e_hw_dcb_config() 9385 struct i40e_dcbx_config *old_cfg, in i40e_dcb_need_reconfig() argument 9392 &old_cfg->etscfg, in i40e_dcb_need_reconfig() [all …]
|
/openbmc/linux/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() 485 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() argument 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() [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 …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | qos.c | 1207 struct otx2_qos_cfg *old_cfg, *new_cfg; in otx2_qos_leaf_alloc_queue() local 1262 old_cfg = kzalloc(sizeof(*old_cfg), GFP_KERNEL); in otx2_qos_leaf_alloc_queue() 1263 if (!old_cfg) { in otx2_qos_leaf_alloc_queue() 1268 otx2_qos_read_txschq_cfg(pfvf, parent, old_cfg); in otx2_qos_leaf_alloc_queue() 1303 err = otx2_qos_txschq_update_config(pfvf, parent, old_cfg); in otx2_qos_leaf_alloc_queue() 1321 otx2_qos_free_cfg(pfvf, old_cfg); in otx2_qos_leaf_alloc_queue() 1322 kfree(old_cfg); in otx2_qos_leaf_alloc_queue() 1329 kfree(old_cfg); in otx2_qos_leaf_alloc_queue() 1345 struct otx2_qos_cfg *old_cfg, *new_cfg; in otx2_qos_leaf_to_inner() local 1400 old_cfg = kzalloc(sizeof(*old_cfg), GFP_KERNEL); in otx2_qos_leaf_to_inner() [all …]
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-pll.c | 755 struct tegra_clk_pll_freq_table old_cfg; in _program_pll() local 766 _get_pll_mnp(pll, &old_cfg); in _program_pll() 769 (cfg->m == old_cfg.m) && (cfg->p == old_cfg.p)) { in _program_pll() 805 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pll_set_rate() local 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() 834 old_cfg.sdm_data != cfg.sdm_data) in clk_pll_set_rate() 1332 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pllxc_set_rate() local 1343 _get_pll_mnp(pll, &old_cfg); in clk_pllxc_set_rate() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/net/core/ |
H A D | dev_ioctl.c | 331 struct kernel_hwtstamp_config old_cfg = {}; in dev_set_hwtstamp_phylib() local 338 err = ops->ndo_hwtstamp_get(dev, &old_cfg); in dev_set_hwtstamp_phylib() 353 changed = kernel_hwtstamp_config_changed(&old_cfg, cfg); in dev_set_hwtstamp_phylib() 359 ops->ndo_hwtstamp_set(dev, &old_cfg, NULL); in dev_set_hwtstamp_phylib()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 10286 const struct hclge_vlan_info *old_cfg) in hclge_need_update_vlan_filter() argument 10288 if (new_cfg->vlan_tag != old_cfg->vlan_tag) in hclge_need_update_vlan_filter() 10291 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0)) in hclge_need_update_vlan_filter()
|