Home
last modified time | relevance | path

Searched refs:lmac_idx (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c649 int lmac_idx, bool enable) in bgx_lmac_internal_loopback() argument
659 lmac = &bgx->lmac[lmac_idx]; in bgx_lmac_internal_loopback()
661 cfg = bgx_reg_read(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL); in bgx_lmac_internal_loopback()
666 bgx_reg_write(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL, cfg); in bgx_lmac_internal_loopback()
668 cfg = bgx_reg_read(bgx, lmac_idx, BGX_SPUX_CONTROL1); in bgx_lmac_internal_loopback()
673 bgx_reg_write(bgx, lmac_idx, BGX_SPUX_CONTROL1, cfg); in bgx_lmac_internal_loopback()
Dthunder_bgx.h222 int lmac_idx, bool enable);
Dnic_main.c762 int bgx_idx, lmac_idx; in nic_config_loopback() local
768 lmac_idx = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); in nic_config_loopback()
770 bgx_lmac_internal_loopback(nic->node, bgx_idx, lmac_idx, lbk->enable); in nic_config_loopback()