Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cn10k.c287 u64 nix_const, nix_const1; in rvu_set_channels_base() local
294 nix_const = rvu_read64(rvu, blkaddr, NIX_AF_CONST); in rvu_set_channels_base()
297 hw->cgx = (nix_const >> 12) & 0xFULL; in rvu_set_channels_base()
298 hw->lmac_per_cgx = (nix_const >> 8) & 0xFULL; in rvu_set_channels_base()
300 hw->lbk_links = (nix_const >> 24) & 0xFULL; in rvu_set_channels_base()
301 hw->cpt_links = (nix_const >> 44) & 0xFULL; in rvu_set_channels_base()
309 if (!(nix_const & BIT_ULL(60))) in rvu_set_channels_base()
322 nr_lbk_chans = (nix_const >> 16) & 0xFFULL; in rvu_set_channels_base()
324 nr_cgx_chans = nix_const & 0xFFULL; in rvu_set_channels_base()
325 nr_cpt_chans = (nix_const >> 32) & 0xFFFULL; in rvu_set_channels_base()
[all …]
Drvu.h663 u64 nix_const = rvu_read64(rvu, BLKADDR_NIX0, NIX_AF_CONST); in rvu_nix_chan_cgx() local
664 u16 cgx_chans = nix_const & 0xFFULL; in rvu_nix_chan_cgx()
677 u64 nix_const = rvu_read64(rvu, BLKADDR_NIX0, NIX_AF_CONST); in rvu_nix_chan_lbk() local
678 u16 lbk_chans = (nix_const >> 16) & 0xFFULL; in rvu_nix_chan_lbk()