Home
last modified time | relevance | path

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

/openbmc/linux/drivers/atm/
H A Didt77105.c62 static u16 get_counter(struct atm_dev *dev, int counter) in get_counter() function
95 stats->symbol_errors += get_counter(dev, IDT77105_CTRSEL_SEC); in idt77105_stats_timer_func()
96 stats->tx_cells += get_counter(dev, IDT77105_CTRSEL_TCC); in idt77105_stats_timer_func()
97 stats->rx_cells += get_counter(dev, IDT77105_CTRSEL_RCC); in idt77105_stats_timer_func()
98 stats->rx_hec_errors += get_counter(dev, IDT77105_CTRSEL_RHEC); in idt77105_stats_timer_func()
/openbmc/qemu/hw/misc/
H A Dmos6522.c152 static unsigned int get_counter(MOS6522State *s, MOS6522Timer *ti) in get_counter() function
340 val = get_counter(s, &s->timers[0]) & 0xff; in mos6522_read()
345 val = get_counter(s, &s->timers[0]) >> 8; in mos6522_read()
356 val = get_counter(s, &s->timers[1]) & 0xff; in mos6522_read()
361 val = get_counter(s, &s->timers[1]) >> 8; in mos6522_read()
507 uint16_t t1counter = get_counter(s, &s->timers[0]); in qmp_x_query_via_foreach()
508 uint16_t t2counter = get_counter(s, &s->timers[1]); in qmp_x_query_via_foreach()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_mad.c1267 static u64 get_counter(struct qib_ibport *ibp, struct qib_pportdata *ppd, in get_counter() function
1300 delta = get_counter(&ppd->ibport_data, ppd, in xmit_wait_get_value_delta()
1310 get_counter(ibp, ppd, IB_PMA_PORT_XMIT_DATA); in cache_hw_sample_counters()
1312 get_counter(ibp, ppd, IB_PMA_PORT_RCV_DATA); in cache_hw_sample_counters()
1314 get_counter(ibp, ppd, IB_PMA_PORT_XMIT_PKTS); in cache_hw_sample_counters()
1316 get_counter(ibp, ppd, IB_PMA_PORT_RCV_PKTS); in cache_hw_sample_counters()
1318 get_counter(ibp, ppd, IB_PMA_PORT_XMIT_WAIT); in cache_hw_sample_counters()