Searched refs:MAX_BGX_PER_CN88XX (Results 1 – 4 of 4) sorted by relevance
156 bgx->bgx_id += nic_get_node_id(bgx->reg_base) * MAX_BGX_PER_CN88XX; in thunder_bgx_attach()270 for (i = 0; i < MAX_BGX_PER_CN88XX; i++) { in bgx_get_map()271 if (bgx_vnic[(node * MAX_BGX_PER_CN88XX) + i]) in bgx_get_map()284 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_count()299 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_link_state()312 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_mac()323 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_set_lmac_mac()451 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_rx_stats()465 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_tx_stats()495 bgx_idx += node * MAX_BGX_PER_CN88XX; in bgx_add_dmac_addr()[all …]
32 #define MAX_BGX_PER_CN88XX 2 macro40 #define MAX_LMAC (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX)
88 #define NIC_MAX_BGX MAX_BGX_PER_CN88XX
578 for (lmac = 0; lmac < (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX); lmac++) { in nic_set_tx_pkt_pad()