Searched refs:ticks (Results 76 - 100 of 157) sorted by relevance

1234567

/linux-master/sound/core/
H A Dpcm_timer.c82 .ticks = 1,
/linux-master/sound/core/seq/
H A Dseq_timer.h25 int ppq; /* time resolution, ticks/quarter */
34 unsigned int ticks; member in struct:snd_seq_timer
35 unsigned long preferred_resolution; /* timer resolution, ticks/sec */
68 /* compare ticks */
/linux-master/include/linux/
H A Dkernel_stat.h131 extern void account_idle_ticks(unsigned long ticks);
H A Dvt_kern.h19 void kd_mksound(unsigned int hz, unsigned int ticks);
H A Dtimekeeping.h15 extern void legacy_timer_tick(unsigned long ticks);
/linux-master/kernel/time/
H A Dtick-sched.c59 unsigned long ticks = 1; local
108 ticks += ktime_divns(delta, incr);
111 incr * ticks);
118 jiffies_64 += ticks;
261 * when we go busy again does not account too many ticks.
1405 unsigned long ticks; local
1416 ticks = jiffies - ts->idle_jiffies;
1418 * We might be one off. Do not randomly account a huge number of ticks!
1420 if (ticks && ticks < LONG_MA
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h321 unsigned int ticks)
323 return (ticks * 1000) / adapter->params.vpd.cclk;
320 core_ticks_to_us(const struct adapter *adapter, unsigned int ticks) argument
/linux-master/include/linux/ssb/
H A Dssb_driver_extif.h177 extern u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks);
215 u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) argument
/linux-master/kernel/sched/
H A Dcputime.c250 * ticks are not redelivered later. Due to that, this function may on
377 int ticks)
379 u64 other, cputime = TICK_NSEC * ticks;
382 * When returning from idle, many ticks can get accounted at
383 * once, including some ticks of steal, irq, and softirq time.
384 * Subtract those ticks from the amount of time accounted to
386 * other time can exceed ticks occasionally.
412 static void irqtime_account_idle_ticks(int ticks) argument
414 irqtime_account_process_tick(current, 0, ticks);
417 static inline void irqtime_account_idle_ticks(int ticks) { } argument
376 irqtime_account_process_tick(struct task_struct *p, int user_tick, int ticks) argument
519 account_idle_ticks(unsigned long ticks) argument
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_est.c153 td = rcu_dereference(kd->ticks[row]);
161 td = rcu_dereference(kd->ticks[row]);
414 /* For small number of estimators prefer to use few ticks,
444 td = rcu_dereference_protected(kd->ticks[row], 1);
451 rcu_assign_pointer(kd->ticks[row], td);
544 td = rcu_dereference_protected(kd->ticks[row], 1);
552 RCU_INIT_POINTER(kd->ticks[row], NULL);
804 td = rcu_dereference_protected(kd->ticks[row], 1);
828 if (td != rcu_dereference_protected(kd->ticks[row], 1))
/linux-master/fs/xfs/
H A Dxfs_linux.h142 static inline void delay(long ticks) argument
144 schedule_timeout_uninterruptible(ticks);
/linux-master/drivers/scsi/bfa/
H A Dbfa_cs.h37 #define BFA_TRC_TS(_trcm) ((_trcm)->ticks++)
63 u32 ticks; member in struct:bfa_trc_mod_s
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326.c30 u32 ticks; member in struct:_cmac_instance
637 * and do a full update at major ticks, which can be every 30 minutes or more.
643 mac->instance->ticks >= MAJOR_UPDATE_TICKS) {
645 mac->instance->ticks = 0;
655 mac->instance->ticks++;
697 mac->instance->ticks = 0;
/linux-master/drivers/iio/adc/
H A Dat91_adc.c763 * Number of ticks needed to cover the startup time of the ADC
766 * Startup Time = (ticks + 1) * 8 / ADC Clock
784 unsigned int ticks; local
786 ticks = startup_time * adc_clk_khz / 1000;
788 if (ticks < startup_lookup[i])
791 ticks = i;
792 if (ticks == size)
794 ticks = size - 1;
796 return ticks;
998 unsigned int prsc, mstrclk, ticks, adc_cl local
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Defx.h171 unsigned int efx_ticks_to_usecs(struct efx_nic *efx, unsigned int ticks);
/linux-master/drivers/memory/
H A Domap-gpmc.c360 static unsigned int gpmc_clk_ticks_to_ns(unsigned int ticks, int cs, argument
363 return ticks * gpmc_get_clk_period(cs, cd) / 1000;
366 unsigned int gpmc_ticks_to_ns(unsigned int ticks) argument
368 return gpmc_clk_ticks_to_ns(ticks, /* any CS */ 0, GPMC_CD_FCLK);
371 static unsigned int gpmc_ticks_to_ps(unsigned int ticks) argument
373 return ticks * gpmc_get_fclk_period();
378 unsigned long ticks = gpmc_ps_to_ticks(time_ps); local
380 return ticks * gpmc_get_fclk_period();
430 * tick format: gpmc,name = <value> /&zwj;* x ns -- y ns; x ticks *&zwj;/
470 pr_info("gpmc,%s = <%u>; /* %u ns - %u ns; %i ticks
616 int ticks, mask, nr_bits; local
[all...]
/linux-master/drivers/clocksource/
H A Dtimer-mediatek.c62 * - Allow timeout ticks being updated.
93 static int mtk_syst_clkevt_next_event(unsigned long ticks, argument
102 * Write new timeout ticks. Timer shall start countdown
103 * after timeout ticks are updated.
105 writel(ticks, SYST_VAL_REG(to));
/linux-master/arch/powerpc/kernel/
H A Dwatchdog.c78 static u64 wd_panic_timeout_tb __read_mostly; /* timebase ticks until panic */
456 unsigned long ticks = tb_ticks_per_usec * wd_timer_period_ms * 1000; local
464 if (tb - per_cpu(wd_timer_tb, cpu) >= ticks) {
/linux-master/drivers/watchdog/
H A Dhpwdt.c30 #define TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000)
H A DiTCO_wdt.c134 * The iTCO v1 and v2's internal timer is stored as ticks which decrement
145 int ticks)
147 return p->iTCO_version == 3 ? ticks : (ticks * 6) / 10;
607 * Suspend-to-idle requires this, because it stops the ticks and timekeeping, so
144 ticks_to_seconds(struct iTCO_wdt_private *p, int ticks) argument
/linux-master/drivers/ata/
H A Dsata_fsl.c34 "INT coalescing timer threshold in AHB ticks");
292 unsigned int count, unsigned int ticks)
303 if (ticks > ICC_MAX_INT_TICKS_THRESHOLD)
304 ticks = ICC_MAX_INT_TICKS_THRESHOLD;
305 else if ((ICC_MIN_INT_TICKS_THRESHOLD == ticks) &&
307 ticks = ICC_SAFE_INT_TICKS;
310 iowrite32((count << 24 | ticks), hcr_base + ICC);
313 intr_coalescing_ticks = ticks;
316 dev_dbg(host->dev, "interrupt coalescing, count = 0x%x, ticks = %x\n",
291 fsl_sata_set_irq_coalescing(struct ata_host *host, unsigned int count, unsigned int ticks) argument
/linux-master/arch/alpha/kernel/
H A Dosf_sys.c1138 unsigned long ticks; local
1143 ticks = timespec64_to_jiffies(&tmp);
1145 ticks = schedule_timeout_interruptible(ticks);
1148 jiffies_to_timespec64(ticks, &tmp);
1172 long tick; /* (modified) usecs between clock ticks */
/linux-master/drivers/scsi/csiostor/
H A Dcsio_hw.h579 csio_core_ticks_to_us(struct csio_hw *hw, uint32_t ticks) argument
581 /* add Core Clock / 2 to round ticks to nearest uS */
582 return (ticks * 1000 + hw->vpd.cclk/2) / hw->vpd.cclk;
/linux-master/arch/mips/fw/cfe/
H A Dcfe_api.c282 xiocb.plist.xiocb_time.ticks = 0;
286 return xiocb.plist.xiocb_time.ticks;
/linux-master/drivers/mmc/host/
H A Dusdhi6rol0.c876 unsigned long ticks; local
879 ticks = host->rate / 1000 * mrq->cmd->busy_timeout;
881 ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) +
884 if (!ticks || ticks > 1 << 27)
887 else if (ticks < 1 << 13)
891 val = order_base_2(ticks) - 13;
893 dev_dbg(mmc_dev(host->mmc), "Set %s timeout %lu ticks @ %lu Hz\n",
894 mrq->data ? "data" : "cmd", ticks, host->rate);

Completed in 215 milliseconds

1234567