Searched refs:curr_cfg (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_lib.c | 353 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local 359 curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_pf_dcb_cfg() 380 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg() 389 old_cfg = kmemdup(curr_cfg, sizeof(*old_cfg), GFP_KERNEL); in ice_pf_dcb_cfg() 421 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg() 422 memcpy(&curr_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg() 423 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg() 433 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 4358 if (IS_PF(bp) && SHMEM2_HAS(bp, curr_cfg)) in bnx2x_change_mac_addr() 4359 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_change_mac_addr() 4910 if (IS_PF(bp) && SHMEM2_HAS(bp, curr_cfg)) in bnx2x_change_mtu() 4911 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_change_mtu()
|
H A D | bnx2x_ethtool.c | 1176 if (SHMEM2_HAS(bp, curr_cfg)) in bnx2x_set_wol() 1177 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_set_wol()
|
H A D | bnx2x_hsi.h | 2365 enum curr_cfg_method_e curr_cfg; /* 0x1dc */ member
|