Home
last modified time | relevance | path

Searched refs:new_cfg (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
A Dice_dcb_nl.c65 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_setets() local
78 new_cfg->etscfg.cbs = ets->cbs; in ice_dcbnl_setets()
257 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_setpfc() local
317 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_set_pfc_cfg() local
444 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_set_pg_tc_cfg_tx() local
499 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_set_pg_bwg_cfg_tx() local
776 new_cfg->etscfg.willing = 0; in ice_dcbnl_setapp()
778 new_cfg->pfc.willing = 0; in ice_dcbnl_setapp()
806 new_cfg->app[new_cfg->numapps++] = new_app; in ice_dcbnl_setapp()
860 if (i == new_cfg->numapps) { in ice_dcbnl_delapp()
[all …]
A Dice_dcb_lib.c365 if (ice_dcb_get_num_tc(new_cfg) > 1) { in ice_pf_dcb_cfg()
373 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg()
378 if (ice_dcb_bwchk(pf, new_cfg)) in ice_pf_dcb_cfg()
479 struct ice_dcbx_cfg *new_cfg) in ice_dcb_need_recfg() argument
486 sizeof(new_cfg->etscfg))) { in ice_dcb_need_recfg()
488 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
495 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
500 if (memcmp(&new_cfg->etscfg.tsatable, in ice_dcb_need_recfg()
502 sizeof(new_cfg->etscfg.tsatable))) in ice_dcb_need_recfg()
507 if (memcmp(&new_cfg->pfc, &old_cfg->pfc, sizeof(new_cfg->pfc))) { in ice_dcb_need_recfg()
[all …]
A Dice_dcb_nl.h12 struct ice_dcbx_cfg *new_cfg);
18 struct ice_dcbx_cfg *new_cfg) { } in ice_dcbnl_flush_apps() argument
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, in ice_pf_dcb_cfg() argument
/linux/drivers/net/ethernet/natsemi/
A Dns83820.c602 u32 cfg, new_cfg; in phy_intr() local
653 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr()
656 new_cfg |= CFG_MODE_1000; in phy_intr()
658 new_cfg &= ~CFG_MODE_1000; in phy_intr()
664 new_cfg |= CFG_SB; in phy_intr()
679 ((new_cfg ^ dev->CFG_cache) != 0)) { in phy_intr()
680 writel(new_cfg, dev->base + CFG); in phy_intr()
681 dev->CFG_cache = new_cfg; in phy_intr()
/linux/drivers/gpu/drm/bridge/
A Dnwl-dsi.c850 union phy_configure_opts new_cfg; in nwl_dsi_bridge_mode_set() local
854 ret = nwl_dsi_get_dphy_params(dsi, adjusted_mode, &new_cfg); in nwl_dsi_bridge_mode_set()
861 memcpy(&dsi->phy_cfg, &new_cfg, sizeof(new_cfg)); in nwl_dsi_bridge_mode_set()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e.h1230 struct i40e_dcbx_config *new_cfg);
1235 struct i40e_dcbx_config *new_cfg);
1236 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg);
A Di40e_main.c6618 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config()
6627 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config()
6704 new_cfg->etscfg.tcbwtable[i]; in i40e_hw_dcb_config()
6776 false, new_cfg->pfc.pfcenable, in i40e_hw_dcb_config()
6794 *old_cfg = *new_cfg; in i40e_hw_dcb_config()
9080 if (memcmp(&new_cfg->etscfg, in i40e_dcb_need_reconfig()
9082 sizeof(new_cfg->etscfg))) { in i40e_dcb_need_reconfig()
9103 if (memcmp(&new_cfg->pfc, in i40e_dcb_need_reconfig()
9105 sizeof(new_cfg->pfc))) { in i40e_dcb_need_reconfig()
9111 if (memcmp(&new_cfg->app, in i40e_dcb_need_reconfig()
[all …]
A Di40e_dcb_nl.c999 struct i40e_dcbx_config *new_cfg) in i40e_dcbnl_flush_apps() argument
1011 if (!i40e_dcbnl_find_app(new_cfg, &app)) in i40e_dcbnl_flush_apps()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c1988 u32 new_cfg, fec = fecparam->fec; in bnxt_set_fecparam() local
1998 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE | in bnxt_set_fecparam()
2011 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_ENABLE; in bnxt_set_fecparam()
2013 new_cfg = bnxt_ethtool_forced_fec_to_fw(link_info, fec); in bnxt_set_fecparam()
2020 req->flags = cpu_to_le32(new_cfg | PORT_PHY_CFG_REQ_FLAGS_RESET_PHY); in bnxt_set_fecparam()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c10476 static bool hclge_need_update_vlan_filter(const struct hclge_vlan_info *new_cfg, in hclge_need_update_vlan_filter() argument
10479 if (new_cfg->vlan_tag != old_cfg->vlan_tag) in hclge_need_update_vlan_filter()
10482 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0)) in hclge_need_update_vlan_filter()

Completed in 78 milliseconds