Searched refs:GET_STAT_COM (Results 1 – 2 of 2) sorted by relevance
3465 #define GET_STAT_COM(name) t4_read_reg64(adap, A_MPS_STAT_##name##_L) in t4_get_port_stats() macro3519 p->rx_ovflow0 = (bgmap & 1) ? GET_STAT_COM(RX_BG_0_MAC_DROP_FRAME) : 0; in t4_get_port_stats()3520 p->rx_ovflow1 = (bgmap & 2) ? GET_STAT_COM(RX_BG_1_MAC_DROP_FRAME) : 0; in t4_get_port_stats()3521 p->rx_ovflow2 = (bgmap & 4) ? GET_STAT_COM(RX_BG_2_MAC_DROP_FRAME) : 0; in t4_get_port_stats()3522 p->rx_ovflow3 = (bgmap & 8) ? GET_STAT_COM(RX_BG_3_MAC_DROP_FRAME) : 0; in t4_get_port_stats()3523 p->rx_trunc0 = (bgmap & 1) ? GET_STAT_COM(RX_BG_0_MAC_TRUNC_FRAME) : 0; in t4_get_port_stats()3524 p->rx_trunc1 = (bgmap & 2) ? GET_STAT_COM(RX_BG_1_MAC_TRUNC_FRAME) : 0; in t4_get_port_stats()3525 p->rx_trunc2 = (bgmap & 4) ? GET_STAT_COM(RX_BG_2_MAC_TRUNC_FRAME) : 0; in t4_get_port_stats()3526 p->rx_trunc3 = (bgmap & 8) ? GET_STAT_COM(RX_BG_3_MAC_TRUNC_FRAME) : 0; in t4_get_port_stats()3529 #undef GET_STAT_COM in t4_get_port_stats()[all …]
3204 #define GET_STAT_COM(name) t4_read_reg64(pi->adapter, \ in update_port_info_kstats() macro3216 GET_STAT_COM(RX_BG_0_MAC_DROP_FRAME) : 0); in update_port_info_kstats()3218 GET_STAT_COM(RX_BG_1_MAC_DROP_FRAME) : 0); in update_port_info_kstats()3220 GET_STAT_COM(RX_BG_2_MAC_DROP_FRAME) : 0); in update_port_info_kstats()3222 GET_STAT_COM(RX_BG_3_MAC_DROP_FRAME) : 0); in update_port_info_kstats()3224 GET_STAT_COM(RX_BG_0_MAC_TRUNC_FRAME) : 0); in update_port_info_kstats()3226 GET_STAT_COM(RX_BG_1_MAC_TRUNC_FRAME) : 0); in update_port_info_kstats()3228 GET_STAT_COM(RX_BG_2_MAC_TRUNC_FRAME) : 0); in update_port_info_kstats()3230 GET_STAT_COM(RX_BG_3_MAC_TRUNC_FRAME) : 0); in update_port_info_kstats()