Home
last modified time | relevance | path

Searched refs:get_counter (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/atm/
Didt77105.c61 static u16 get_counter(struct atm_dev *dev, int counter) in get_counter() function
94 stats->symbol_errors += get_counter(dev, IDT77105_CTRSEL_SEC); in idt77105_stats_timer_func()
95 stats->tx_cells += get_counter(dev, IDT77105_CTRSEL_TCC); in idt77105_stats_timer_func()
96 stats->rx_cells += get_counter(dev, IDT77105_CTRSEL_RCC); in idt77105_stats_timer_func()
97 stats->rx_hec_errors += get_counter(dev, IDT77105_CTRSEL_RHEC); in idt77105_stats_timer_func()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_mad.c1240 static u64 get_counter(struct qib_ibport *ibp, struct qib_pportdata *ppd, in get_counter() function
1273 delta = get_counter(&ppd->ibport_data, ppd, in xmit_wait_get_value_delta()
1283 get_counter(ibp, ppd, IB_PMA_PORT_XMIT_DATA); in cache_hw_sample_counters()
1285 get_counter(ibp, ppd, IB_PMA_PORT_RCV_DATA); in cache_hw_sample_counters()
1287 get_counter(ibp, ppd, IB_PMA_PORT_XMIT_PKTS); in cache_hw_sample_counters()
1289 get_counter(ibp, ppd, IB_PMA_PORT_RCV_PKTS); in cache_hw_sample_counters()
1291 get_counter(ibp, ppd, IB_PMA_PORT_XMIT_WAIT); in cache_hw_sample_counters()
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_mad.c925 static u64 get_counter(struct ipath_ibdev *dev, in get_counter() function
984 get_counter(dev, crp, dev->pma_counter_select[i])); in recv_pma_get_portsamplesresult()
1011 get_counter(dev, crp, dev->pma_counter_select[i])); in recv_pma_get_portsamplesresult_ext()