Home
last modified time | relevance | path

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

/Linux-v5.10/arch/hexagon/include/asm/
Dtimex.h17 static inline int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
19 *timer_val = (unsigned long) __vmgettime(); in read_current_timer()
/Linux-v5.10/drivers/scsi/csiostor/
Dcsio_wr.c1279 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in csio_closest_timer()
1280 delta = time - s->timer_val[i]; in csio_closest_timer()
1493 sge->timer_val[0] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1495 sge->timer_val[1] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1497 sge->timer_val[2] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1499 sge->timer_val[3] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1501 sge->timer_val[4] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1503 sge->timer_val[5] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1570 sge->timer_val[0] = CSIO_SGE_TIMER_VAL_0; in csio_wr_set_sge()
1571 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-v5.10/arch/riscv/include/asm/
Dtimex.h85 static inline int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
87 *timer_val = get_cycles(); in read_current_timer()
/Linux-v5.10/arch/arm/lib/
Ddelay.c30 int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
35 *timer_val = delay_timer->read_current_timer(); in read_current_timer()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_beacon.c105 u32 timer_val = dev->mt76.beacon_int << 4; in mt76x02_resync_beacon_timer() local
122 timer_val -= 1; in mt76x02_resync_beacon_timer()
125 MT_BEACON_TIME_CFG_INTVAL, timer_val); in mt76x02_resync_beacon_timer()
/Linux-v5.10/arch/x86/lib/
Ddelay.c192 int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
195 *timer_val = rdtsc(); in read_current_timer()
/Linux-v5.10/drivers/nvmem/
Dqfprom.c88 u32 timer_val; member
118 writel(old->timer_val, priv->qfpconf + QFPROM_BLOW_TIMER_OFFSET); in qfprom_disable_fuse_blowing()
158 old->timer_val = readl(priv->qfpconf + QFPROM_BLOW_TIMER_OFFSET); in qfprom_enable_fuse_blowing()
/Linux-v5.10/arch/xtensa/platforms/iss/
Dnetwork.c75 unsigned int timer_val; member
355 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_timer()
387 lp->timer_val = ISS_NET_TIMER_VALUE; in iss_net_open()
388 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_open()
/Linux-v5.10/include/linux/
Dtimex.h159 int read_current_timer(unsigned long *timer_val);
/Linux-v5.10/drivers/watchdog/
Df71808e_wdt.c148 u8 timer_val; /* content for the wd_time register */ member
233 watchdog.timer_val = DIV_ROUND_UP(timeout, 60); in watchdog_set_timeout()
236 watchdog.timer_val = timeout; in watchdog_set_timeout()
300 watchdog.timer_val); in watchdog_keepalive()
/Linux-v5.10/arch/sparc/kernel/
Dtime_64.c895 int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
897 *timer_val = get_tick(); in read_current_timer()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1023 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in closest_timer()
1024 int delta = us - s->timer_val[i]; in closest_timer()
1060 ? adapter->sge.timer_val[timer_idx] in qtimer_val()
2589 s->timer_val[0] = core_ticks_to_us(adapter, in adap_init0()
2591 s->timer_val[1] = core_ticks_to_us(adapter, in adap_init0()
2593 s->timer_val[2] = core_ticks_to_us(adapter, in adap_init0()
2595 s->timer_val[3] = core_ticks_to_us(adapter, in adap_init0()
2597 s->timer_val[4] = core_ticks_to_us(adapter, in adap_init0()
2599 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-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c5102 s->timer_val[0] = core_ticks_to_us(adap, in t4_sge_init_soft()
5104 s->timer_val[1] = core_ticks_to_us(adap, in t4_sge_init_soft()
5106 s->timer_val[2] = core_ticks_to_us(adap, in t4_sge_init_soft()
5108 s->timer_val[3] = core_ticks_to_us(adap, in t4_sge_init_soft()
5110 s->timer_val[4] = core_ticks_to_us(adap, in t4_sge_init_soft()
5112 s->timer_val[5] = core_ticks_to_us(adap, in t4_sge_init_soft()
Dcxgb4.h992 u16 timer_val[SGE_NTIMERS]; member
1605 return idx < SGE_NTIMERS ? adap->sge.timer_val[idx] : 0; in qtimer_val()
Dcxgb4_main.c1204 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in closest_timer()
1205 delta = time - s->timer_val[i]; in closest_timer()