Home
last modified time | relevance | path

Searched refs:old_cfg (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-6.6/arch/x86/kernel/apic/
H A Dmsi.c37 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c110 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, in i40e_dcbnl_ieee_setapp()
249 struct i40e_dcbx_config *old_cfg; i40e_dcbnl_ieee_delapp() local
997 i40e_dcbnl_flush_apps(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) i40e_dcbnl_flush_apps() argument
[all...]
H A Di40e.h1266 struct i40e_dcbx_config *old_cfg,
1271 struct i40e_dcbx_config *old_cfg,
H A Di40e_main.c6887 struct i40e_dcbx_config *old_cfg = &pf->hw.local_dcbx_config; in i40e_hw_set_dcb_config() local
6891 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config()
6900 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config()
6901 old_cfg->etsrec = old_cfg->etscfg; in i40e_hw_set_dcb_config()
6940 struct i40e_dcbx_config *old_cfg; in i40e_hw_dcb_config() local
6992 old_cfg = &hw->local_dcbx_config; in i40e_hw_dcb_config()
6994 need_reconfig = i40e_dcb_need_reconfig(pf, old_cfg, new_cfg); in i40e_hw_dcb_config()
7067 *old_cfg = *new_cfg; in i40e_hw_dcb_config()
9349 * @old_cfg
9352 i40e_dcb_need_reconfig(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) i40e_dcb_need_reconfig() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
H A Dmsi.c64 struct irq_cfg old_cfg, *cfg = irqd_cfg(irqd); in msi_set_affinity() local
71 old_cfg = *cfg; in msi_set_affinity()
93 cfg->vector == old_cfg.vector || in msi_set_affinity()
94 old_cfg.vector == MANAGED_IRQ_SHUTDOWN_VECTOR || in msi_set_affinity()
96 cfg->dest_apicid == old_cfg.dest_apicid) { in msi_set_affinity()
142 old_cfg.vector = cfg->vector; in msi_set_affinity()
143 irq_msi_update_msg(irqd, &old_cfg); in msi_set_affinity()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.h11 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)
H A Dice_dcb_lib.c275 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()
382 * @old_cfg: current DCB config
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 in ice_dcb_need_recfg()
[all...]
H A Dice_dcb_nl.c695 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_setapp() local
706 old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_setapp()
708 if (old_cfg->numapps == ICE_DCBX_MAX_APPS) { in ice_dcbnl_setapp()
720 if (ice_dcbnl_find_app(old_cfg, &new_app)) { in ice_dcbnl_setapp()
748 struct ice_dcbx_cfg *old_cfg, *new_cfg; in ice_dcbnl_delapp() local
756 old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_delapp()
758 if (old_cfg->numapps <= 1) in ice_dcbnl_delapp()
787 new_cfg->app[i].selector = old_cfg->app[j + 1].selector; in ice_dcbnl_delapp()
788 new_cfg->app[i].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp()
789 new_cfg->app[i].priority = old_cfg in ice_dcbnl_delapp()
941 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, struct ice_dcbx_cfg *new_cfg) ice_dcbnl_flush_apps() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.h11 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 Dice_dcb_lib.c353 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()
481 * @old_cfg: current DCB config
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 in ice_dcb_need_recfg()
[all...]
H A Dice_dcb_nl.c737 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()
1106 * @old_cfg: old DCBX configuration data
1113 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcbnl_flush_apps() argument
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dxilinx-xadc-events.c128 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()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dxilinx-xadc-events.c128 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()
/kernel/linux/linux-5.10/drivers/clk/tegra/
H A Dclk-pll.c752 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 in clk_pll_set_rate()
1329 struct tegra_clk_pll_freq_table cfg, old_cfg; clk_pllxc_set_rate() local
1486 struct tegra_clk_pll_freq_table cfg, old_cfg; clk_pllc_set_rate() local
1552 struct tegra_clk_pll_freq_table cfg, old_cfg; clk_pllre_set_rate() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/tegra/
H A Dclk-pll.c755 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 in clk_pll_set_rate()
1332 struct tegra_clk_pll_freq_table cfg, old_cfg; clk_pllxc_set_rate() local
1489 struct tegra_clk_pll_freq_table cfg, old_cfg; clk_pllc_set_rate() local
1555 struct tegra_clk_pll_freq_table cfg, old_cfg; clk_pllre_set_rate() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.c1207 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_cf in otx2_qos_leaf_to_inner() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c253 * @old_cfg: old DCBX configuration data
260 struct i40e_dcbx_config *old_cfg, in i40e_dcbnl_flush_apps()
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()
259 i40e_dcbnl_flush_apps(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) i40e_dcbnl_flush_apps() argument
H A Di40e.h1144 struct i40e_dcbx_config *old_cfg,
1149 struct i40e_dcbx_config *old_cfg,
H A Di40e_main.c8802 * @old_cfg: current DCB config
8806 struct i40e_dcbx_config *old_cfg, in i40e_dcb_need_reconfig()
8813 &old_cfg->etscfg, in i40e_dcb_need_reconfig()
8817 &old_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig()
8824 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
8829 &old_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig()
8836 &old_cfg->pfc, in i40e_dcb_need_reconfig()
8844 &old_cfg->app, in i40e_dcb_need_reconfig()
8805 i40e_dcb_need_reconfig(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) i40e_dcb_need_reconfig() argument
/kernel/linux/linux-6.6/net/core/
H A Ddev_ioctl.c331 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c10260 const struct hclge_vlan_info *old_cfg) in hclge_need_update_vlan_filter()
10262 if (new_cfg->vlan_tag != old_cfg->vlan_tag) in hclge_need_update_vlan_filter()
10265 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0)) in hclge_need_update_vlan_filter()
10259 hclge_need_update_vlan_filter(const struct hclge_vlan_info *new_cfg, const struct hclge_vlan_info *old_cfg) hclge_need_update_vlan_filter() argument

Completed in 66 milliseconds