/Linux-v6.1/arch/x86/kernel/apic/ |
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-v6.1/drivers/net/ethernet/intel/i40e/ |
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 …]
|
D | i40e.h | 1265 struct i40e_dcbx_config *old_cfg, 1270 struct i40e_dcbx_config *old_cfg,
|
D | i40e_main.c | 6850 struct i40e_dcbx_config *old_cfg = &pf->hw.local_dcbx_config; in i40e_hw_set_dcb_config() local 6854 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config() 6863 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config() 6864 old_cfg->etsrec = old_cfg->etscfg; in i40e_hw_set_dcb_config() 6903 struct i40e_dcbx_config *old_cfg; in i40e_hw_dcb_config() local 6955 old_cfg = &hw->local_dcbx_config; in i40e_hw_dcb_config() 6957 need_reconfig = i40e_dcb_need_reconfig(pf, old_cfg, new_cfg); in i40e_hw_dcb_config() 7030 *old_cfg = *new_cfg; in i40e_hw_dcb_config() 9316 struct i40e_dcbx_config *old_cfg, in i40e_dcb_need_reconfig() argument 9323 &old_cfg->etscfg, in i40e_dcb_need_reconfig() [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.c | 352 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local 382 old_cfg = kmemdup(curr_cfg, sizeof(*old_cfg), GFP_KERNEL); in ice_pf_dcb_cfg() 383 if (!old_cfg) in ice_pf_dcb_cfg() 426 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg() 445 kfree(old_cfg); in ice_pf_dcb_cfg() 478 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() argument 485 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg() 489 &old_cfg->etscfg.prio_table, in ice_dcb_need_recfg() 496 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg() 501 &old_cfg->etscfg.tsatable, in ice_dcb_need_recfg() [all …]
|
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
|
D | ice_dcb_nl.c | 702 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_setapp() local 739 old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_setapp() 760 if (old_cfg->pfc_mode == ICE_QOS_MODE_VLAN) { in ice_dcbnl_setapp() 830 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_delapp() local 840 old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_delapp() 868 new_cfg->app[j].selector = old_cfg->app[j + 1].selector; in ice_dcbnl_delapp() 869 new_cfg->app[j].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp() 870 new_cfg->app[j].priority = old_cfg->app[j + 1].priority; in ice_dcbnl_delapp() 1063 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcbnl_flush_apps() argument 1072 for (i = 0; i < old_cfg->numapps; i++) { in ice_dcbnl_flush_apps() [all …]
|
/Linux-v6.1/drivers/clk/tegra/ |
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 …]
|
/Linux-v6.1/drivers/iio/adc/ |
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-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 10317 const struct hclge_vlan_info *old_cfg) in hclge_need_update_vlan_filter() argument 10319 if (new_cfg->vlan_tag != old_cfg->vlan_tag) in hclge_need_update_vlan_filter() 10322 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0)) in hclge_need_update_vlan_filter()
|