Searched refs:new_cfg (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.h12 struct ice_dcbx_cfg *new_cfg);
18 struct ice_dcbx_cfg *new_cfg) { }
17 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, struct ice_dcbx_cfg *new_cfg) argument
H A Dice_dcb_nl.c65 struct ice_dcbx_cfg *new_cfg; local
78 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
82 new_cfg->etscfg.willing = ets->willing;
83 new_cfg->etscfg.cbs = ets->cbs;
85 new_cfg->etscfg.tcbwtable[i] = ets->tc_tx_bw[i];
87 new_cfg->etscfg.tsatable[i] = ets->tc_tsa[i];
88 if (new_cfg->pfc_mode == ICE_QOS_MODE_VLAN) {
90 new_cfg->etscfg.prio_table[i] = ets->prio_tc[i];
91 new_cfg->etsrec.prio_table[i] = ets->reco_prio_tc[i];
93 new_cfg
267 struct ice_dcbx_cfg *new_cfg; local
332 struct ice_dcbx_cfg *new_cfg; local
469 struct ice_dcbx_cfg *new_cfg; local
529 struct ice_dcbx_cfg *new_cfg; local
737 struct ice_dcbx_cfg *old_cfg, *new_cfg; local
870 struct ice_dcbx_cfg *old_cfg, *new_cfg; local
978 struct ice_dcbx_cfg *new_cfg; local
1113 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, struct ice_dcbx_cfg *new_cfg) argument
[all...]
H A Dice_dcb_lib.c347 * @new_cfg: DCBX config to apply
350 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) argument
366 if (ice_dcb_get_num_tc(new_cfg) > 1) {
380 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) {
385 if (ice_dcb_bwchk(pf, new_cfg))
421 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg));
423 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec));
482 * @new_cfg: new DCB config
486 struct ice_dcbx_cfg *new_cfg)
485 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, struct ice_dcbx_cfg *new_cfg) argument
[all...]
H A Dice_dcb_lib.h24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked);
101 struct ice_dcbx_cfg __always_unused *new_cfg,
100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, struct ice_dcbx_cfg __always_unused *new_cfg, bool __always_unused locked) argument
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.c1014 struct otx2_qos_cfg *new_cfg; local
1029 new_cfg = kzalloc(sizeof(*new_cfg), GFP_KERNEL);
1030 if (!new_cfg) {
1036 new_cfg->schq[root->level] = 1;
1037 err = otx2_qos_txschq_alloc(pfvf, new_cfg);
1052 root->schq = new_cfg->schq_list[root->level][0];
1057 err = otx2_qos_txschq_update_root_cfg(pfvf, root, new_cfg);
1068 kfree(new_cfg);
1072 otx2_qos_free_cfg(pfvf, new_cfg);
1208 struct otx2_qos_cfg *old_cfg, *new_cfg; local
1346 struct otx2_qos_cfg *old_cfg, *new_cfg; local
1527 struct otx2_qos_cfg *new_cfg; local
[all...]
/linux-master/drivers/net/ethernet/natsemi/
H A Dns83820.c602 u32 cfg, new_cfg; local
653 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS);
656 new_cfg |= CFG_MODE_1000;
658 new_cfg &= ~CFG_MODE_1000;
664 new_cfg |= CFG_SB;
679 ((new_cfg ^ dev->CFG_cache) != 0)) {
680 writel(new_cfg, dev->base + CFG);
681 dev->CFG_cache = new_cfg;
/linux-master/drivers/gpu/drm/bridge/
H A Dnwl-dsi.c849 union phy_configure_opts new_cfg; local
853 ret = nwl_dsi_get_dphy_params(dsi, adjusted_mode, &new_cfg);
860 memcpy(&dsi->phy_cfg, &new_cfg, sizeof(new_cfg));
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e.h1290 struct i40e_dcbx_config *new_cfg);
1295 struct i40e_dcbx_config *new_cfg);
1296 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg);
H A Di40e_dcb_nl.c988 * @new_cfg: new DCBX configuration data
995 struct i40e_dcbx_config *new_cfg)
1007 if (!i40e_dcbnl_find_app(new_cfg, &app))
993 i40e_dcbnl_flush_apps(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) argument
H A Di40e_main.c6885 * @new_cfg: New DCBX configuration
6891 struct i40e_dcbx_config *new_cfg)
6897 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) {
6906 *old_cfg = *new_cfg;
6936 * @new_cfg: New DCBX configuration
6941 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg) argument
6974 new_numtc = i40e_dcb_get_num_tc(new_cfg);
6979 switch (new_cfg->etscfg.tsatable[i]) {
6983 new_cfg
6890 i40e_hw_set_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg) argument
9351 i40e_dcb_need_reconfig(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) argument
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c2975 u32 new_cfg, fec = fecparam->fec; local
2985 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE |
2998 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_ENABLE;
3000 new_cfg = bnxt_ethtool_forced_fec_to_fw(link_info, fec);
3007 req->flags = cpu_to_le32(new_cfg | PORT_PHY_CFG_REQ_FLAGS_RESET_PHY);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c10271 static bool hclge_need_update_vlan_filter(const struct hclge_vlan_info *new_cfg, argument
10274 if (new_cfg->vlan_tag != old_cfg->vlan_tag)
10277 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0))

Completed in 320 milliseconds