Home
last modified time | relevance | path

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

/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c655 int lmac_idx, bool enable) in bgx_lmac_internal_loopback() argument
665 lmac = &bgx->lmac[lmac_idx]; in bgx_lmac_internal_loopback()
667 cfg = bgx_reg_read(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL); in bgx_lmac_internal_loopback()
672 bgx_reg_write(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL, cfg); in bgx_lmac_internal_loopback()
674 cfg = bgx_reg_read(bgx, lmac_idx, BGX_SPUX_CONTROL1); in bgx_lmac_internal_loopback()
679 bgx_reg_write(bgx, lmac_idx, BGX_SPUX_CONTROL1, cfg); in bgx_lmac_internal_loopback()
Dthunder_bgx.h231 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()
/drivers/net/wireless/ath/ath11k/
Dhal.c953 u32 lmac_idx; in ath11k_hal_srng_setup() local
1003 lmac_idx = ring_id - HAL_SRNG_RING_ID_LMAC1_ID_START; in ath11k_hal_srng_setup()
1005 lmac_idx); in ath11k_hal_srng_setup()
1036 lmac_idx = ring_id - HAL_SRNG_RING_ID_LMAC1_ID_START; in ath11k_hal_srng_setup()
1038 lmac_idx); in ath11k_hal_srng_setup()