Home
last modified time | relevance | path

Searched refs:timer_val (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/mips/atheros/
H A Dar71xx_wdog.c61 uint64_t timer_val; in ar71xx_wdog_watchdog_fn() local
72 timer_val = (uint64_t)(1ULL << cmd) * ar71xx_ahb_freq() / in ar71xx_wdog_watchdog_fn()
78 if (timer_val > 0xffffffff) in ar71xx_wdog_watchdog_fn()
79 timer_val = 0xffffffff; in ar71xx_wdog_watchdog_fn()
82 __func__, (uintmax_t) timer_val); in ar71xx_wdog_watchdog_fn()
95 ATH_WRITE_REG(AR71XX_RST_WDOG_TIMER, timer_val); in ar71xx_wdog_watchdog_fn()
/f-stack/freebsd/mips/atheros/ar531x/
H A Dar5315_wdog.c59 uint64_t timer_val; in ar5315_wdog_watchdog_fn() local
65 timer_val = (uint64_t)(1ULL << cmd) * ar531x_ahb_freq() / in ar5315_wdog_watchdog_fn()
68 …device_printf(sc->dev, "ar5315_wdog_watchdog_fn: programming timer: %jx\n", (uintmax_t) timer_val); in ar5315_wdog_watchdog_fn()
78 (timer_val & 0xffffffff)); in ar5315_wdog_watchdog_fn()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dsge.c2417 s->timer_val[0] = core_ticks_to_us(adap, in t4_sge_init_soft()
2419 s->timer_val[1] = core_ticks_to_us(adap, in t4_sge_init_soft()
2421 s->timer_val[2] = core_ticks_to_us(adap, in t4_sge_init_soft()
2423 s->timer_val[3] = core_ticks_to_us(adap, in t4_sge_init_soft()
2425 s->timer_val[4] = core_ticks_to_us(adap, in t4_sge_init_soft()
2427 s->timer_val[5] = core_ticks_to_us(adap, in t4_sge_init_soft()
2642 s->timer_val[0] = core_ticks_to_us(adap, in t4vf_sge_init()
2644 s->timer_val[1] = core_ticks_to_us(adap, in t4vf_sge_init()
2646 s->timer_val[2] = core_ticks_to_us(adap, in t4vf_sge_init()
2648 s->timer_val[3] = core_ticks_to_us(adap, in t4vf_sge_init()
[all …]
H A Dcxgbe_main.c287 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in closest_timer()
288 delta = time - s->timer_val[i]; in closest_timer()
329 unsigned int timer_val; in cxgb4_set_rspq_intr_params() local
350 timer_val = (us == 0) ? X_TIMERREG_RESTART_COUNTER : in cxgb4_set_rspq_intr_params()
356 q->intr_params = V_QINTR_TIMER_IDX(timer_val) | in cxgb4_set_rspq_intr_params()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dadapter.h292 u16 timer_val[SGE_NTIMERS]; member