Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c657 int lmac_idx, bool enable) in bgx_lmac_internal_loopback() argument
667 lmac = &bgx->lmac[lmac_idx]; in bgx_lmac_internal_loopback()
669 cfg = bgx_reg_read(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL); in bgx_lmac_internal_loopback()
674 bgx_reg_write(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL, cfg); in bgx_lmac_internal_loopback()
676 cfg = bgx_reg_read(bgx, lmac_idx, BGX_SPUX_CONTROL1); in bgx_lmac_internal_loopback()
681 bgx_reg_write(bgx, lmac_idx, BGX_SPUX_CONTROL1, cfg); in bgx_lmac_internal_loopback()
Dthunder_bgx.h229 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()
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dhal.c980 u32 lmac_idx; in ath11k_hal_srng_setup() local
1030 lmac_idx = ring_id - HAL_SRNG_RING_ID_LMAC1_ID_START; in ath11k_hal_srng_setup()
1032 lmac_idx); in ath11k_hal_srng_setup()
1063 lmac_idx = ring_id - HAL_SRNG_RING_ID_LMAC1_ID_START; in ath11k_hal_srng_setup()
1065 lmac_idx); in ath11k_hal_srng_setup()