Home
last modified time | relevance | path

Searched refs:lmac_per_cgx (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cn10k.c295 hw->lmac_per_cgx = (nix_const >> 8) & 0xFULL; in rvu_set_channels_base()
296 hw->cgx_links = hw->cgx * hw->lmac_per_cgx; in rvu_set_channels_base()
523 for (lmac = 0; lmac < hw->lmac_per_cgx; lmac++) { in rvu_rpm_set_channels()
Dmcs_rvu_if.c819 cgx = port / rvu->hw->lmac_per_cgx; in rvu_mcs_set_lmac_bmap()
820 lmac = port % rvu->hw->lmac_per_cgx; in rvu_mcs_set_lmac_bmap()
Drvu.h356 u8 lmac_per_cgx; member
618 (cgxid * hw->lmac_per_cgx + lmacid) * cgx_chans + chan; in rvu_nix_chan_cgx()
Drvu_nix.c324 rsp->tx_link = cgx_id * hw->lmac_per_cgx + lmac_id; in nix_interface_init()
533 bpid = (cgx_id * hw->lmac_per_cgx * lmac_chan_cnt) + in rvu_nix_get_bpid()
1804 return (cgx_id * hw->lmac_per_cgx) + lmac_id; in nix_get_tx_link()
3990 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs()
4108 slink = cgx * hw->lmac_per_cgx; in nix_link_config()