Searched refs:old_cfg (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/arch/x86/kernel/apic/ |
D | msi.c | 64 struct irq_cfg old_cfg, *cfg = irqd_cfg(irqd); in msi_set_affinity() local 71 old_cfg = *cfg; in msi_set_affinity() 92 cfg->vector == old_cfg.vector || in msi_set_affinity() 93 old_cfg.vector == MANAGED_IRQ_SHUTDOWN_VECTOR || in msi_set_affinity() 94 cfg->dest_apicid == old_cfg.dest_apicid) { in msi_set_affinity() 140 old_cfg.vector = cfg->vector; in msi_set_affinity() 141 irq_msi_update_msg(irqd, &old_cfg); in msi_set_affinity()
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.c | 275 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local 304 old_cfg = kmemdup(curr_cfg, sizeof(*old_cfg), GFP_KERNEL); in ice_pf_dcb_cfg() 305 if (!old_cfg) in ice_pf_dcb_cfg() 335 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg() 353 kfree(old_cfg); in ice_pf_dcb_cfg() 386 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() argument 393 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg() 397 &old_cfg->etscfg.prio_table, in ice_dcb_need_recfg() 404 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg() 409 &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, 16 #define ice_dcbnl_flush_apps(pf, old_cfg, new_cfg) do {} while (0) argument
|
D | ice_dcb_nl.c | 693 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_setapp() local 704 old_cfg = &pf->hw.port_info->local_dcbx_cfg; in ice_dcbnl_setapp() 706 if (old_cfg->numapps == ICE_DCBX_MAX_APPS) { in ice_dcbnl_setapp() 718 if (ice_dcbnl_find_app(old_cfg, &new_app)) { in ice_dcbnl_setapp() 746 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_delapp() local 754 old_cfg = &pf->hw.port_info->local_dcbx_cfg; in ice_dcbnl_delapp() 756 if (old_cfg->numapps <= 1) in ice_dcbnl_delapp() 785 new_cfg->app[i].selector = old_cfg->app[j + 1].selector; in ice_dcbnl_delapp() 786 new_cfg->app[i].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp() 787 new_cfg->app[i].priority = old_cfg->app[j + 1].priority; in ice_dcbnl_delapp() [all …]
|
/Linux-v5.10/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-v5.10/drivers/clk/tegra/ |
D | clk-pll.c | 752 struct tegra_clk_pll_freq_table old_cfg; in _program_pll() local 763 _get_pll_mnp(pll, &old_cfg); in _program_pll() 766 (cfg->m == old_cfg.m) && (cfg->p == old_cfg.p)) { in _program_pll() 802 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pll_set_rate() local 826 _get_pll_mnp(pll, &old_cfg); in clk_pll_set_rate() 828 cfg.p = old_cfg.p; in clk_pll_set_rate() 830 if (old_cfg.m != cfg.m || old_cfg.n != cfg.n || old_cfg.p != cfg.p || in clk_pll_set_rate() 831 old_cfg.sdm_data != cfg.sdm_data) in clk_pll_set_rate() 1328 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pllxc_set_rate() local 1339 _get_pll_mnp(pll, &old_cfg); in clk_pllxc_set_rate() [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 260 struct i40e_dcbx_config *old_cfg, in i40e_dcbnl_flush_apps() argument 270 for (i = 0; i < old_cfg->numapps; i++) { in i40e_dcbnl_flush_apps() 271 app = old_cfg->app[i]; in i40e_dcbnl_flush_apps()
|
D | i40e.h | 1124 struct i40e_dcbx_config *old_cfg, 1129 struct i40e_dcbx_config *old_cfg,
|
D | i40e_main.c | 8582 struct i40e_dcbx_config *old_cfg, in i40e_dcb_need_reconfig() argument 8589 &old_cfg->etscfg, in i40e_dcb_need_reconfig() 8593 &old_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig() 8600 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig() 8605 &old_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig() 8612 &old_cfg->pfc, in i40e_dcb_need_reconfig() 8620 &old_cfg->app, in i40e_dcb_need_reconfig()
|