Lines Matching refs:nix_const
287 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()
440 u64 nix_const = rvu_read64(rvu, blkaddr, NIX_AF_CONST); in __rvu_nix_set_channels() local
447 cgx_chans = nix_const & 0xFFULL; in __rvu_nix_set_channels()
448 lbk_chans = (nix_const >> 16) & 0xFFULL; in __rvu_nix_set_channels()
450 cpt_chans = (nix_const >> 32) & 0xFFFULL; in __rvu_nix_set_channels()