Home
last modified time | relevance | path

Searched refs:newcfg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c199 u32 newcfg; in compute_bar() local
206 newcfg = NFP_PCIE_BAR_PCIE2CPP_LengthSelect( in compute_bar()
210 newcfg = NFP_PCIE_BAR_PCIE2CPP_LengthSelect( in compute_bar()
214 newcfg = NFP_PCIE_BAR_PCIE2CPP_LengthSelect( in compute_bar()
225 newcfg |= NFP_PCIE_BAR_PCIE2CPP_MapType( in compute_bar()
227 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar()
228 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Action_BaseAddress(act); in compute_bar()
229 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Token_BaseAddress(tok); in compute_bar()
240 newcfg |= NFP_PCIE_BAR_PCIE2CPP_MapType( in compute_bar()
242 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c600 struct ice_dcbx_cfg *newcfg; in ice_dcb_init_cfg() local
605 newcfg = kmemdup(&pi->qos_cfg.local_dcbx_cfg, sizeof(*newcfg), in ice_dcb_init_cfg()
607 if (!newcfg) in ice_dcb_init_cfg()
610 memset(&pi->qos_cfg.local_dcbx_cfg, 0, sizeof(*newcfg)); in ice_dcb_init_cfg()
613 if (ice_pf_dcb_cfg(pf, newcfg, locked)) in ice_dcb_init_cfg()
616 kfree(newcfg); in ice_dcb_init_cfg()