Searched refs:rvu_cgx_pdata (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 53 cgxd = rvu_cgx_pdata(cgx_id, rvu); in is_mac_feature_supported() 84 void *rvu_cgx_pdata(u8 cgx_id, struct rvu *rvu) in rvu_cgx_pdata() function 99 cgxd = rvu_cgx_pdata(first_enabled_cgx, rvu); in rvu_first_cgx_pdata() 159 if (!rvu_cgx_pdata(cgx, rvu)) in rvu_map_cgx_lmac_pf() 161 lmac_bmap = cgx_get_lmac_bmap(rvu_cgx_pdata(cgx, rvu)); in rvu_map_cgx_lmac_pf() 165 lmac = cgx_get_lmacid(rvu_cgx_pdata(cgx, rvu), in rvu_map_cgx_lmac_pf() 193 err = cgx_get_link_info(rvu_cgx_pdata(cgx_id, rvu), lmac_id, in rvu_cgx_send_link_info() 326 cgxd = rvu_cgx_pdata(cgx, rvu); in cgx_lmac_event_handler_init() 381 cgxd = rvu_cgx_pdata(cgx, rvu); in rvu_cgx_init() 407 cgxd = rvu_cgx_pdata(cgx, rvu); in cgx_start_linkup() [all …]
|
H A D | rvu_nix.c | 339 cgx_set_pkind(rvu_cgx_pdata(cgx_id, rvu), lmac_id, pkind); in nix_interface_init() 2268 restore_tx_en = !rvu_cgx_config_tx(rvu_cgx_pdata(cgx_id, rvu), in nix_smq_flush() 2339 rvu_cgx_config_tx(rvu_cgx_pdata(cgx_id, rvu), lmac_id, false); in nix_smq_flush() 4338 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in nix_link_config() 4345 lmac_bmap = cgx_get_lmac_bmap(rvu_cgx_pdata(cgx, rvu)); in nix_link_config() 4398 if (!rvu_cgx_pdata(idx, rvu) || in nix_calibrate_x2p() 4842 cgxd = rvu_cgx_pdata(cgx_id, rvu); in rvu_nix_lf_teardown()
|
H A D | mcs_rvu_if.c | 863 if (!is_lmac_valid(rvu_cgx_pdata(cgx, rvu), lmac)) in rvu_mcs_set_lmac_bmap()
|
H A D | rvu.h | 806 void *rvu_cgx_pdata(u8 cgx_id, struct rvu *rvu);
|
H A D | rvu_npc.c | 3366 rc = cgx_set_pkind(rvu_cgx_pdata(cgx_id, rvu), lmac_id, in rvu_npc_set_parse_mode()
|
H A D | rvu_debugfs.c | 2610 cgx = rvu_cgx_pdata(i, rvu); in rvu_dbg_cgx_init()
|