| /linux/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 164 old_cfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_setpfc() 166 pf->tmp_cfg = *old_cfg; in i40e_dcbnl_ieee_setpfc() 197 struct i40e_dcbx_config *old_cfg; in i40e_dcbnl_ieee_setapp() local 204 old_cfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_setapp() 205 if (old_cfg->numapps == I40E_DCBX_MAX_APPS) in i40e_dcbnl_ieee_setapp() 216 if (i40e_dcbnl_find_app(old_cfg, &new_app)) in i40e_dcbnl_ieee_setapp() [all …]
|
| H A D | i40e.h | 1296 struct i40e_dcbx_config *old_cfg, 1301 struct i40e_dcbx_config *old_cfg,
|
| H A D | i40e_main.c | 6903 struct i40e_dcbx_config *old_cfg = &pf->hw.local_dcbx_config; in i40e_hw_set_dcb_config() local 6907 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config() 6916 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config() 6917 old_cfg->etsrec = old_cfg->etscfg; in i40e_hw_set_dcb_config() 6955 struct i40e_dcbx_config *old_cfg; in i40e_hw_dcb_config() local 7007 old_cfg = &hw->local_dcbx_config; in i40e_hw_dcb_config() 7009 need_reconfig = i40e_dcb_need_reconfig(pf, old_cfg, new_cfg); in i40e_hw_dcb_config() 7082 *old_cfg = *new_cfg; in i40e_hw_dcb_config() 9374 struct i40e_dcbx_config *old_cfg, in i40e_dcb_need_reconfig() argument 9381 &old_cfg->etscfg, in i40e_dcb_need_reconfig() [all …]
|
| /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()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| 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/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() 1337 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pllxc_set_rate() local 1348 _get_pll_mnp(pll, &old_cfg); in clk_pllxc_set_rate() [all …]
|
| /linux/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_obj(*old_cfg); in otx2_qos_leaf_alloc_queue() 1283 if (!old_cfg) { in otx2_qos_leaf_alloc_queue() 1288 otx2_qos_read_txschq_cfg(pfvf, parent, old_cfg); in otx2_qos_leaf_alloc_queue() 1323 err = otx2_qos_txschq_update_config(pfvf, parent, 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() 1365 struct otx2_qos_cfg *old_cfg, *new_cfg; in otx2_qos_leaf_to_inner() local 1420 old_cfg = kzalloc_obj(*old_cfg); in otx2_qos_leaf_to_inner() [all …]
|
| /linux/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()
|