Home
last modified time | relevance | path

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

/linux-6.1.9/arch/hexagon/include/asm/
Dtimex.h17 static inline int read_current_timer(unsigned long *timer_val) in read_current_timer() argument
19 *timer_val = __vmgettime(); in read_current_timer()
/linux-6.1.9/drivers/scsi/csiostor/
Dcsio_wr.c1280 for (i = 0; i < ARRAY_SIZE(s->timer_val); i++) { in csio_closest_timer()
1281 delta = time - s->timer_val[i]; in csio_closest_timer()
1494 sge->timer_val[0] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1496 sge->timer_val[1] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1498 sge->timer_val[2] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1500 sge->timer_val[3] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1502 sge->timer_val[4] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1504 sge->timer_val[5] = (uint16_t)csio_core_ticks_to_us(hw, in csio_wr_get_sge()
1571 sge->timer_val[0] = CSIO_SGE_TIMER_VAL_0; in csio_wr_set_sge()
1572 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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_beacon.c109 u32 timer_val = dev->mt76.beacon_int << 4; in mt76x02_resync_beacon_timer() local
126 timer_val -= 1; in mt76x02_resync_beacon_timer()
129 MT_BEACON_TIME_CFG_INTVAL, timer_val); in mt76x02_resync_beacon_timer()
/linux-6.1.9/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-6.1.9/drivers/watchdog/
Df71808e_wdt.c141 u8 timer_val; /* content for the wd_time register */ member
218 wd->timer_val = DIV_ROUND_UP(timeout, 60); in fintek_wdt_set_timeout()
220 timeout = wd->timer_val * 60; in fintek_wdt_set_timeout()
222 wd->timer_val = timeout; in fintek_wdt_set_timeout()
280 wd->timer_val); in fintek_wdt_keepalive()
/linux-6.1.9/arch/xtensa/platforms/iss/
Dnetwork.c76 unsigned int timer_val; member
344 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_timer()
367 lp->timer_val = ISS_NET_TIMER_VALUE; in iss_net_open()
368 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_open()
/linux-6.1.9/drivers/nvmem/
Dqfprom.c93 u32 timer_val; member
144 writel(old->timer_val, priv->qfpconf + QFPROM_BLOW_TIMER_OFFSET); in qfprom_disable_fuse_blowing()
227 old->timer_val = readl(priv->qfpconf + QFPROM_BLOW_TIMER_OFFSET); in qfprom_enable_fuse_blowing()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dadf_gen4_hw_data.c116 u64 timer_val = ADF_SSM_WDT_DEFAULT_VALUE; in adf_gen4_set_ssm_wdtimer() local
125 adf_gen4_unpack_ssm_wdtimer(timer_val, &ssm_wdt_high, &ssm_wdt_low); in adf_gen4_set_ssm_wdtimer()
Dadf_gen2_hw_data.c256 u32 timer_val = ADF_SSM_WDT_DEFAULT_VALUE; in adf_gen2_set_ssm_wdtimer() local
263 ADF_CSR_WR(pmisc_addr, ADF_SSMWDT(i), timer_val); in adf_gen2_set_ssm_wdtimer()
/linux-6.1.9/include/linux/
Dtimex.h167 int read_current_timer(unsigned long *timer_val);
/linux-6.1.9/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()
2597 s->timer_val[0] = core_ticks_to_us(adapter, in adap_init0()
2599 s->timer_val[1] = core_ticks_to_us(adapter, in adap_init0()
2601 s->timer_val[2] = core_ticks_to_us(adapter, in adap_init0()
2603 s->timer_val[3] = core_ticks_to_us(adapter, in adap_init0()
2605 s->timer_val[4] = core_ticks_to_us(adapter, in adap_init0()
2607 s->timer_val[5] = core_ticks_to_us(adapter, in adap_init0()
Dadapter.h310 u16 timer_val[SGE_NTIMERS]; /* interrupt holdoff timer array */ member
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c5145 s->timer_val[0] = core_ticks_to_us(adap, in t4_sge_init_soft()
5147 s->timer_val[1] = core_ticks_to_us(adap, in t4_sge_init_soft()
5149 s->timer_val[2] = core_ticks_to_us(adap, in t4_sge_init_soft()
5151 s->timer_val[3] = core_ticks_to_us(adap, in t4_sge_init_soft()
5153 s->timer_val[4] = core_ticks_to_us(adap, in t4_sge_init_soft()
5155 s->timer_val[5] = core_ticks_to_us(adap, in t4_sge_init_soft()
Dcxgb4.h990 u16 timer_val[SGE_NTIMERS]; member
1603 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()