Lines Matching refs:counter_select
1206 p->counter_select[0] = ibp->pma_counter_select[0]; in pma_get_portsamplescontrol()
1207 p->counter_select[1] = ibp->pma_counter_select[1]; in pma_get_portsamplescontrol()
1208 p->counter_select[2] = ibp->pma_counter_select[2]; in pma_get_portsamplescontrol()
1209 p->counter_select[3] = ibp->pma_counter_select[3]; in pma_get_portsamplescontrol()
1210 p->counter_select[4] = ibp->pma_counter_select[4]; in pma_get_portsamplescontrol()
1248 ibp->pma_counter_select[0] = p->counter_select[0]; in pma_set_portsamplescontrol()
1249 ibp->pma_counter_select[1] = p->counter_select[1]; in pma_set_portsamplescontrol()
1250 ibp->pma_counter_select[2] = p->counter_select[2]; in pma_set_portsamplescontrol()
1251 ibp->pma_counter_select[3] = p->counter_select[3]; in pma_set_portsamplescontrol()
1252 ibp->pma_counter_select[4] = p->counter_select[4]; in pma_set_portsamplescontrol()
1717 if (p->counter_select & IB_PMA_SEL_SYMBOL_ERROR) in pma_set_portcounters()
1720 if (p->counter_select & IB_PMA_SEL_LINK_ERROR_RECOVERY) in pma_set_portcounters()
1724 if (p->counter_select & IB_PMA_SEL_LINK_DOWNED) in pma_set_portcounters()
1727 if (p->counter_select & IB_PMA_SEL_PORT_RCV_ERRORS) in pma_set_portcounters()
1730 if (p->counter_select & IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS) in pma_set_portcounters()
1734 if (p->counter_select & IB_PMA_SEL_PORT_XMIT_DISCARDS) in pma_set_portcounters()
1737 if (p->counter_select & IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS) in pma_set_portcounters()
1741 if (p->counter_select & IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS) in pma_set_portcounters()
1745 if (p->counter_select & IB_PMA_SEL_PORT_VL15_DROPPED) { in pma_set_portcounters()
1750 if (p->counter_select & IB_PMA_SEL_PORT_XMIT_DATA) in pma_set_portcounters()
1753 if (p->counter_select & IB_PMA_SEL_PORT_RCV_DATA) in pma_set_portcounters()
1756 if (p->counter_select & IB_PMA_SEL_PORT_XMIT_PACKETS) in pma_set_portcounters()
1759 if (p->counter_select & IB_PMA_SEL_PORT_RCV_PACKETS) in pma_set_portcounters()
1772 u32 counter_select = (be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24) & 0xFF; in pma_set_portcounters_cong() local
1780 if (counter_select & IB_PMA_SEL_CONG_XMIT) { in pma_set_portcounters_cong()
1787 if (counter_select & IB_PMA_SEL_CONG_PORT_DATA) { in pma_set_portcounters_cong()
1793 if (counter_select & IB_PMA_SEL_CONG_ALL) { in pma_set_portcounters_cong()
1828 if (p->counter_select & IB_PMA_SELX_PORT_XMIT_DATA) in pma_set_portcounters_ext()
1831 if (p->counter_select & IB_PMA_SELX_PORT_RCV_DATA) in pma_set_portcounters_ext()
1834 if (p->counter_select & IB_PMA_SELX_PORT_XMIT_PACKETS) in pma_set_portcounters_ext()
1837 if (p->counter_select & IB_PMA_SELX_PORT_RCV_PACKETS) in pma_set_portcounters_ext()
1842 if (p->counter_select & IB_PMA_SELX_PORT_UNI_XMIT_PACKETS) in pma_set_portcounters_ext()
1845 if (p->counter_select & IB_PMA_SELX_PORT_UNI_RCV_PACKETS) in pma_set_portcounters_ext()
1848 if (p->counter_select & IB_PMA_SELX_PORT_MULTI_XMIT_PACKETS) in pma_set_portcounters_ext()
1851 if (p->counter_select & IB_PMA_SELX_PORT_MULTI_RCV_PACKETS) in pma_set_portcounters_ext()