Searched refs:MAX_BGX_PER_CN88XX (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.h13 #define MAX_BGX_PER_CN88XX 2 macro
21 #define MAX_LMAC (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX)
H A Dthunder_bgx.c127 for (i = 0; i < MAX_BGX_PER_CN88XX; i++) { bgx_get_map()
128 if (bgx_vnic[(node * MAX_BGX_PER_CN88XX) + i]) bgx_get_map()
141 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_lmac_count()
156 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_lmac_link_state()
169 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_lmac_mac()
180 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_set_lmac_mac()
191 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_lmac_rx_tx_enable()
315 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_rx_stats()
329 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_tx_stats()
357 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_lmac_internal_loopback()
1060 bgx->bgx_id += nic_get_node_id(pdev) * MAX_BGX_PER_CN88XX; bgx_probe()
H A Dnic.h60 #define NIC_MAX_BGX MAX_BGX_PER_CN88XX
H A Dnic_main.c263 for (lmac = 0; lmac < (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX); lmac++) { nic_set_tx_pkt_pad()

Completed in 158 milliseconds