| /drivers/net/ethernet/intel/ice/ |
| A D | ice_dcb_nl.c | 65 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_setets() local 83 new_cfg->etscfg.cbs = ets->cbs; in ice_dcbnl_setets() 267 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_setpfc() local 332 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_set_pfc_cfg() local 469 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_set_pg_tc_cfg_tx() local 529 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_set_pg_bwg_cfg_tx() local 816 new_cfg->etscfg.willing = 0; in ice_dcbnl_setapp() 818 new_cfg->pfc.willing = 0; in ice_dcbnl_setapp() 846 new_cfg->app[new_cfg->numapps++] = new_app; in ice_dcbnl_setapp() 905 if (i == new_cfg->numapps) { in ice_dcbnl_delapp() [all …]
|
| A D | ice_dcb_lib.c | 366 if (ice_dcb_get_num_tc(new_cfg) > 1) { in ice_pf_dcb_cfg() 380 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg() 385 if (ice_dcb_bwchk(pf, new_cfg)) in ice_pf_dcb_cfg() 486 struct ice_dcbx_cfg *new_cfg) in ice_dcb_need_recfg() argument 493 sizeof(new_cfg->etscfg))) { in ice_dcb_need_recfg() 495 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg() 502 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg() 507 if (memcmp(&new_cfg->etscfg.tsatable, in ice_dcb_need_recfg() 509 sizeof(new_cfg->etscfg.tsatable))) in ice_dcb_need_recfg() 514 if (memcmp(&new_cfg->pfc, &old_cfg->pfc, sizeof(new_cfg->pfc))) { in ice_dcb_need_recfg() [all …]
|
| A D | ice_dcb_nl.h | 12 struct ice_dcbx_cfg *new_cfg); 18 struct ice_dcbx_cfg *new_cfg) { } in ice_dcbnl_flush_apps() argument
|
| A D | ice_dcb_lib.h | 24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked); 104 struct ice_dcbx_cfg __always_unused *new_cfg, in ice_pf_dcb_cfg() argument
|
| A D | ice_tspll.c | 154 u8 tspll_freq, bool lock, bool new_cfg) in ice_tspll_log_cfg() argument 158 new_cfg ? "New" : "Current", str_enabled_disabled(enable), in ice_tspll_log_cfg()
|
| /drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | qos.c | 1048 new_cfg = kzalloc(sizeof(*new_cfg), GFP_KERNEL); in otx2_qos_root_add() 1049 if (!new_cfg) { in otx2_qos_root_add() 1087 kfree(new_cfg); in otx2_qos_root_add() 1093 kfree(new_cfg); in otx2_qos_root_add() 1311 new_cfg = kzalloc(sizeof(*new_cfg), GFP_KERNEL); in otx2_qos_leaf_alloc_queue() 1312 if (!new_cfg) { in otx2_qos_leaf_alloc_queue() 1338 kfree(new_cfg); in otx2_qos_leaf_alloc_queue() 1448 new_cfg = kzalloc(sizeof(*new_cfg), GFP_KERNEL); in otx2_qos_leaf_to_inner() 1449 if (!new_cfg) { in otx2_qos_leaf_to_inner() 1478 kfree(new_cfg); in otx2_qos_leaf_to_inner() [all …]
|
| /drivers/net/ethernet/natsemi/ |
| A D | ns83820.c | 602 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()
|
| /drivers/gpu/drm/bridge/ |
| A D | nwl-dsi.c | 848 union phy_configure_opts new_cfg; in nwl_dsi_bridge_mode_set() local 852 ret = nwl_dsi_get_dphy_params(dsi, adjusted_mode, &new_cfg); in nwl_dsi_bridge_mode_set() 859 memcpy(&dsi->phy_cfg, &new_cfg, sizeof(new_cfg)); in nwl_dsi_bridge_mode_set()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e.h | 1292 struct i40e_dcbx_config *new_cfg); 1297 struct i40e_dcbx_config *new_cfg); 1298 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg);
|
| A D | i40e_main.c | 6875 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config() 6884 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config() 6960 new_cfg->etscfg.tcbwtable[i]; in i40e_hw_dcb_config() 7033 false, new_cfg->pfc.pfcenable, in i40e_hw_dcb_config() 7050 *old_cfg = *new_cfg; in i40e_hw_dcb_config() 9349 if (memcmp(&new_cfg->etscfg, in i40e_dcb_need_reconfig() 9351 sizeof(new_cfg->etscfg))) { in i40e_dcb_need_reconfig() 9372 if (memcmp(&new_cfg->pfc, in i40e_dcb_need_reconfig() 9374 sizeof(new_cfg->pfc))) { in i40e_dcb_need_reconfig() 9380 if (memcmp(&new_cfg->app, in i40e_dcb_need_reconfig() [all …]
|
| A D | i40e_dcb_nl.c | 995 struct i40e_dcbx_config *new_cfg) in i40e_dcbnl_flush_apps() argument 1007 if (!i40e_dcbnl_find_app(new_cfg, &app)) in i40e_dcbnl_flush_apps()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ethtool.c | 3229 u32 new_cfg, fec = fecparam->fec; in bnxt_set_fecparam() local 3239 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE | in bnxt_set_fecparam() 3252 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_ENABLE; in bnxt_set_fecparam() 3254 new_cfg = bnxt_ethtool_forced_fec_to_fw(link_info, fec); in bnxt_set_fecparam() 3261 req->flags = cpu_to_le32(new_cfg | PORT_PHY_CFG_REQ_FLAGS_RESET_PHY); in bnxt_set_fecparam()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_main.c | 10371 static bool hclge_need_update_vlan_filter(const struct hclge_vlan_info *new_cfg, in hclge_need_update_vlan_filter() argument 10374 if (new_cfg->vlan_tag != old_cfg->vlan_tag) in hclge_need_update_vlan_filter() 10377 if (new_cfg->vlan_tag == 0 && (new_cfg->qos == 0 || old_cfg->qos == 0)) in hclge_need_update_vlan_filter()
|