Home
last modified time | relevance | path

Searched refs:lmac_bmap (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_rvu_if.c83 if (BIT_ULL(req->lmac_id) & mcs->hw->lmac_bmap) in rvu_mbox_handler_mcs_set_lmac_mode()
397 mcs->hw->lmac_bmap = req->lmac_bmap; in rvu_mbox_handler_mcs_set_active_lmac()
412 if (mcs->hw->lmac_cnt <= req->port_id || !(mcs->hw->lmac_bmap & BIT_ULL(req->port_id))) in rvu_mbox_handler_mcs_port_cfg_set()
430 if (mcs->hw->lmac_cnt <= req->port_id || !(mcs->hw->lmac_bmap & BIT_ULL(req->port_id))) in rvu_mbox_handler_mcs_port_cfg_get()
852 unsigned long lmac_bmap; in rvu_mcs_set_lmac_bmap() local
860 set_bit(port, &lmac_bmap); in rvu_mcs_set_lmac_bmap()
862 mcs->hw->lmac_bmap = lmac_bmap; in rvu_mcs_set_lmac_bmap()
Drvu_cgx.c126 unsigned long lmac_bmap; in rvu_map_cgx_lmac_pf() local
161 lmac_bmap = cgx_get_lmac_bmap(rvu_cgx_pdata(cgx, rvu)); 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()
300 unsigned long lmac_bmap; in cgx_lmac_event_handler_init() local
321 lmac_bmap = cgx_get_lmac_bmap(cgxd); in cgx_lmac_event_handler_init()
322 for_each_set_bit(lmac, &lmac_bmap, rvu->hw->lmac_per_cgx) { in cgx_lmac_event_handler_init()
399 unsigned long lmac_bmap; in rvu_cgx_exit() local
407 lmac_bmap = cgx_get_lmac_bmap(cgxd); in rvu_cgx_exit()
408 for_each_set_bit(lmac, &lmac_bmap, rvu->hw->lmac_per_cgx) in rvu_cgx_exit()
Dcgx.c86 return test_bit(lmac_id, &cgx->lmac_bmap); in is_lmac_valid()
96 for_each_set_bit(tmp, &cgx->lmac_bmap, cgx->max_lmac_per_mac) { in get_sequence_id_of_lmac()
1407 first_lmac = find_first_bit(&cgx->lmac_bmap, cgx->max_lmac_per_mac); in cgx_get_fwdata_base()
1496 int first_lmac = find_first_bit(&cgx->lmac_bmap, cgx->max_lmac_per_mac); in cgx_fwi_read_version()
1534 for_each_set_bit(i, &cgx->lmac_bmap, cgx->max_lmac_per_mac) { in cgx_lmac_linkup_work()
1616 return cgx->lmac_bmap; in cgx_get_lmac_bmap()
1688 set_bit(lmac->lmac_id, &cgx->lmac_bmap); in cgx_lmac_init()
1719 for_each_set_bit(i, &cgx->lmac_bmap, cgx->max_lmac_per_mac) { in cgx_lmac_exit()
Dlmac_common.h151 unsigned long lmac_bmap; /* bitmap of enabled lmacs */ member
Dmcs.h130 unsigned long lmac_bmap; /* bitmap of enabled mcs lmac */ member
Drvu_debugfs.c236 for_each_set_bit(lmac, &mcs->hw->lmac_bmap, mcs->hw->lmac_cnt) { in rvu_dbg_mcs_port_stats_display()
2596 unsigned long lmac_bmap; in rvu_dbg_cgx_init() local
2615 lmac_bmap = cgx_get_lmac_bmap(cgx); in rvu_dbg_cgx_init()
2621 for_each_set_bit(lmac_id, &lmac_bmap, rvu->hw->lmac_per_cgx) { in rvu_dbg_cgx_init()
Dmbox.h1947 u32 lmac_bmap; /* bitmap of active lmac per mcs block */ member
Drvu_nix.c4363 unsigned long lmac_bmap; in nix_link_config() local
4403 lmac_bmap = cgx_get_lmac_bmap(rvu_cgx_pdata(cgx, rvu)); in nix_link_config()
4404 for_each_set_bit(iter, &lmac_bmap, rvu->hw->lmac_per_cgx) { in nix_link_config()