Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A 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()
225 newcfg |= NFP_PCIE_BAR_PCIE2CPP_MapType( in compute_bar()
240 newcfg |= NFP_PCIE_BAR_PCIE2CPP_MapType( in compute_bar()
256 newcfg |= offset >> bitsize; in compute_bar()
262 *bar_config = newcfg; in compute_bar()
275 writel(newcfg, nfp->iomem.csr + xbar); in nfp6000_bar_write()
283 bar->barcfg = newcfg; in nfp6000_bar_write()
293 u32 newcfg; in reconfigure_bar() local
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb_lib.c607 struct ice_dcbx_cfg *newcfg; in ice_dcb_init_cfg() local
612 newcfg = kmemdup(&pi->qos_cfg.local_dcbx_cfg, sizeof(*newcfg), in ice_dcb_init_cfg()
614 if (!newcfg) in ice_dcb_init_cfg()
617 memset(&pi->qos_cfg.local_dcbx_cfg, 0, sizeof(*newcfg)); in ice_dcb_init_cfg()
620 if (ice_pf_dcb_cfg(pf, newcfg, locked)) in ice_dcb_init_cfg()
623 kfree(newcfg); in ice_dcb_init_cfg()