Home
last modified time | relevance | path

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

/Linux-v4.19/arch/hexagon/include/asm/
Dtimex.h30 static inline int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
32 *timer_val = (unsigned long) __vmgettime(); in read_current_timer()
/Linux-v4.19/arch/riscv/include/asm/
Dtimex.h54 static inline int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
56 *timer_val = get_cycles(); in read_current_timer()
/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_wr.c1277 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in csio_closest_timer()
1278 delta = time - s->timer_val[i]; in csio_closest_timer()
1495 sge->timer_val[0] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1497 sge->timer_val[1] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1499 sge->timer_val[2] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1501 sge->timer_val[3] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1503 sge->timer_val[4] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1505 sge->timer_val[5] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1572 sge->timer_val[0] = CSIO_SGE_TIMER_VAL_0; in csio_wr_set_sge()
1573 sge->timer_val[1] = CSIO_SGE_TIMER_VAL_1; in csio_wr_set_sge()
[all …]
Dcsio_wr.h433 uint16_t timer_val[CSIO_SGE_NTIMERS]; member
/Linux-v4.19/arch/arm/lib/
Ddelay.c42 int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
47 *timer_val = delay_timer->read_current_timer(); in read_current_timer()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_tx.c101 u32 timer_val = dev->beacon_int << 4; in mt76x2_resync_beacon_timer() local
123 timer_val -= 1; in mt76x2_resync_beacon_timer()
126 MT_BEACON_TIME_CFG_INTVAL, timer_val); in mt76x2_resync_beacon_timer()
/Linux-v4.19/arch/x86/lib/
Ddelay.c150 int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
153 *timer_val = rdtsc(); in read_current_timer()
/Linux-v4.19/arch/xtensa/platforms/iss/
Dnetwork.c80 unsigned int timer_val; member
360 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_timer()
392 lp->timer_val = ISS_NET_TIMER_VALUE; in iss_net_open()
393 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_open()
/Linux-v4.19/include/linux/
Dtimex.h157 int read_current_timer(unsigned long *timer_val);
/Linux-v4.19/drivers/watchdog/
Df71808e_wdt.c157 u8 timer_val; /* content for the wd_time register */ member
242 watchdog.timer_val = DIV_ROUND_UP(timeout, 60); in watchdog_set_timeout()
245 watchdog.timer_val = timeout; in watchdog_set_timeout()
309 watchdog.timer_val); in watchdog_keepalive()
/Linux-v4.19/arch/sparc/kernel/
Dtime_64.c894 int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
896 *timer_val = get_tick(); in read_current_timer()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c970 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in closest_timer()
971 int delta = us - s->timer_val[i]; in closest_timer()
1007 ? adapter->sge.timer_val[timer_idx] in qtimer_val()
2626 s->timer_val[0] = core_ticks_to_us(adapter, in adap_init0()
2628 s->timer_val[1] = core_ticks_to_us(adapter, in adap_init0()
2630 s->timer_val[2] = core_ticks_to_us(adapter, in adap_init0()
2632 s->timer_val[3] = core_ticks_to_us(adapter, in adap_init0()
2634 s->timer_val[4] = core_ticks_to_us(adapter, in adap_init0()
2636 s->timer_val[5] = core_ticks_to_us(adapter, in adap_init0()
Dadapter.h309 u16 timer_val[SGE_NTIMERS]; /* interrupt holdoff timer array */ member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c4043 s->timer_val[0] = core_ticks_to_us(adap, in t4_sge_init_soft()
4045 s->timer_val[1] = core_ticks_to_us(adap, in t4_sge_init_soft()
4047 s->timer_val[2] = core_ticks_to_us(adap, in t4_sge_init_soft()
4049 s->timer_val[3] = core_ticks_to_us(adap, in t4_sge_init_soft()
4051 s->timer_val[4] = core_ticks_to_us(adap, in t4_sge_init_soft()
4053 s->timer_val[5] = core_ticks_to_us(adap, in t4_sge_init_soft()
Dcxgb4.h800 u16 timer_val[SGE_NTIMERS]; member
1352 return idx < SGE_NTIMERS ? adap->sge.timer_val[idx] : 0; in qtimer_val()
Dcxgb4_main.c982 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in closest_timer()
983 delta = time - s->timer_val[i]; in closest_timer()