Searched refs:old_cfg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.c | 185 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local 206 old_cfg = devm_kzalloc(&pf->pdev->dev, sizeof(*old_cfg), GFP_KERNEL); in ice_pf_dcb_cfg() 207 memcpy(old_cfg, curr_cfg, sizeof(*old_cfg)); in ice_pf_dcb_cfg() 227 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg() 244 devm_kfree(&pf->pdev->dev, old_cfg); in ice_pf_dcb_cfg() 277 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() argument 283 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg() 287 &old_cfg->etscfg.prio_table, in ice_dcb_need_recfg() 294 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg() 299 &old_cfg->etscfg.tsatable, in ice_dcb_need_recfg() [all …]
|
/Linux-v5.4/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.4/drivers/clk/tegra/ |
D | clk-pll.c | 742 struct tegra_clk_pll_freq_table old_cfg; in _program_pll() local 747 _get_pll_mnp(pll, &old_cfg); in _program_pll() 750 (cfg->m == old_cfg.m) && (cfg->p == old_cfg.p)) { in _program_pll() 782 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pll_set_rate() local 806 _get_pll_mnp(pll, &old_cfg); in clk_pll_set_rate() 808 cfg.p = old_cfg.p; in clk_pll_set_rate() 810 if (old_cfg.m != cfg.m || old_cfg.n != cfg.n || old_cfg.p != cfg.p || in clk_pll_set_rate() 811 old_cfg.sdm_data != cfg.sdm_data) in clk_pll_set_rate() 1286 struct tegra_clk_pll_freq_table cfg, old_cfg; in clk_pllxc_set_rate() local 1297 _get_pll_mnp(pll, &old_cfg); in clk_pllxc_set_rate() [all …]
|
/Linux-v5.4/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 | 1125 struct i40e_dcbx_config *old_cfg, 1130 struct i40e_dcbx_config *old_cfg,
|
D | i40e_main.c | 8512 struct i40e_dcbx_config *old_cfg, in i40e_dcb_need_reconfig() argument 8519 &old_cfg->etscfg, in i40e_dcb_need_reconfig() 8523 &old_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig() 8530 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig() 8535 &old_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig() 8542 &old_cfg->pfc, in i40e_dcb_need_reconfig() 8550 &old_cfg->app, in i40e_dcb_need_reconfig()
|