Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c58 #define CGX_OFFSET(x) ((x) * rvu->hw->lmac_per_cgx)
76 rvu->cgx_cnt_max * rvu->hw->lmac_per_cgx); in cgxlmac_to_pf()
134 if (cgx_cnt_max > 0xF || rvu->hw->lmac_per_cgx > 0xF) in rvu_map_cgx_lmac_pf()
141 size = (cgx_cnt_max * rvu->hw->lmac_per_cgx + 1) * sizeof(u8); in rvu_map_cgx_lmac_pf()
152 cgx_cnt_max * rvu->hw->lmac_per_cgx * sizeof(u64), in rvu_map_cgx_lmac_pf()
162 for_each_set_bit(iter, &lmac_bmap, rvu->hw->lmac_per_cgx) { in rvu_map_cgx_lmac_pf()
247 rvu->cgx_cnt_max * rvu->hw->lmac_per_cgx); in cgx_notify_pfs()
322 for_each_set_bit(lmac, &lmac_bmap, rvu->hw->lmac_per_cgx) { in cgx_lmac_event_handler_init()
408 for_each_set_bit(lmac, &lmac_bmap, rvu->hw->lmac_per_cgx) in rvu_cgx_exit()
1131 if (rvu->hw->lmac_per_cgx == CGX_LMACS_USX) in rvu_mbox_handler_cgx_get_aux_link_info()
Drvu_cn10k.c298 hw->lmac_per_cgx = (nix_const >> 8) & 0xFULL; in rvu_set_channels_base()
299 hw->cgx_links = hw->cgx * hw->lmac_per_cgx; in rvu_set_channels_base()
526 for (lmac = 0; lmac < hw->lmac_per_cgx; lmac++) { in rvu_rpm_set_channels()
Dmcs_rvu_if.c63 port = (rpm_id * rvu->hw->lmac_per_cgx) + lmac_id; in rvu_mcs_ptp_cfg()
856 cgx = port / rvu->hw->lmac_per_cgx; in rvu_mcs_set_lmac_bmap()
857 lmac = port % rvu->hw->lmac_per_cgx; in rvu_mcs_set_lmac_bmap()
Drvu.h378 u8 lmac_per_cgx; member
671 (cgxid * hw->lmac_per_cgx + lmacid) * cgx_chans + chan; in rvu_nix_chan_cgx()
Drvu_nix.c336 rsp->tx_link = cgx_id * hw->lmac_per_cgx + lmac_id; in nix_interface_init()
545 bpid = (cgx_id * hw->lmac_per_cgx * lmac_chan_cnt) + in rvu_nix_get_bpid()
1883 return (cgx_id * hw->lmac_per_cgx) + lmac_id; in nix_get_tx_link()
4280 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs()
4400 slink = cgx * hw->lmac_per_cgx; in nix_link_config()
4404 for_each_set_bit(iter, &lmac_bmap, rvu->hw->lmac_per_cgx) { in nix_link_config()
Drvu_npc_hash.c1985 max_lmac_cnt = rvu->cgx_cnt_max * rvu->hw->lmac_per_cgx + in rvu_npc_exact_init()
Drvu_debugfs.c2621 for_each_set_bit(lmac_id, &lmac_bmap, rvu->hw->lmac_per_cgx) { in rvu_dbg_cgx_init()