Lines Matching refs:bgx_idx
161 int bgx_idx, lmac; in nic_mbx_send_ready() local
170 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vf]); in nic_mbx_send_ready()
173 mac = bgx_get_lmac_mac(nic->node, bgx_idx, lmac); in nic_mbx_send_ready()
233 int bgx_idx, lmac; in nic_get_bgx_stats() local
236 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
244 mbx.bgx_stats.stats = bgx_get_rx_stats(nic->node, bgx_idx, in nic_get_bgx_stats()
247 mbx.bgx_stats.stats = bgx_get_tx_stats(nic->node, bgx_idx, in nic_get_bgx_stats()
762 int bgx_idx, lmac_idx; in nic_config_loopback() local
767 bgx_idx = NIC_GET_BGX_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()
889 u8 lmac, bgx_idx; in nic_config_timestamp() local
895 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vf]); in nic_config_timestamp()
898 pkind_idx = lmac + bgx_idx * MAX_LMAC_PER_BGX; in nic_config_timestamp()
909 bgx_config_timestamping(nic->node, bgx_idx, lmac, true); in nic_config_timestamp()
915 bgx_config_timestamping(nic->node, bgx_idx, lmac, false); in nic_config_timestamp()