Home
last modified time | relevance | path

Searched refs:tick (Results 1 – 77 of 77) sorted by relevance

/linux-4.1.27/sound/core/seq/
Dseq_timer.h43 struct snd_seq_timer_tick tick; /* current tick */ member
68 static inline void snd_seq_timer_update_tick(struct snd_seq_timer_tick *tick, in snd_seq_timer_update_tick() argument
71 if (tick->resolution > 0) { in snd_seq_timer_update_tick()
72 tick->fraction += resolution; in snd_seq_timer_update_tick()
73 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); in snd_seq_timer_update_tick()
74 tick->fraction %= tick->resolution; in snd_seq_timer_update_tick()
Dseq_prioq.c106 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp()
123 if (a->time.tick > b->time.tick) in compare_timestamp_rel()
125 else if (a->time.tick == b->time.tick) in compare_timestamp_rel()
277 if (cell->event.time.tick) in prioq_match()
362 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
370 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
Dseq_timer.c39 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution()
45 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; in snd_seq_timer_set_tick_resolution()
46 tmr->tick.resolution += s; in snd_seq_timer_set_tick_resolution()
48 if (tmr->tick.resolution <= 0) in snd_seq_timer_set_tick_resolution()
49 tmr->tick.resolution = 1; in snd_seq_timer_set_tick_resolution()
50 snd_seq_timer_update_tick(&tmr->tick, 0); in snd_seq_timer_set_tick_resolution()
120 tmr->tick.cur_tick = 0; in seq_timer_reset()
121 tmr->tick.fraction = 0; in seq_timer_reset()
165 snd_seq_timer_update_tick(&tmr->tick, resolution); in snd_seq_timer_interrupt()
228 tmr->tick.cur_tick = position; in snd_seq_timer_set_position_tick()
[all …]
Dseq_queue.c275 if (snd_seq_compare_tick_time(&q->timer->tick.cur_tick, in snd_seq_check_queue()
276 &cell->event.time.tick)) { in snd_seq_check_queue()
328 cell->event.time.tick += q->timer->tick.cur_tick; in snd_seq_enqueue_event()
664 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event()
707 if (snd_seq_timer_set_position_tick(q->timer, ev->data.queue.param.time.tick) == 0) { in snd_seq_queue_process_event()
787 snd_iprintf(buffer, "current tick : %d\n", tmr->tick.cur_tick); in snd_seq_info_queues_read()
Dseq_clientmgr.c582 event->time.tick = snd_seq_timer_get_cur_tick(q->timer); in update_timestamp_of_queue()
884 ev->time.tick += ev->data.note.duration; in snd_seq_dispatch_event()
1682 status.tick = snd_seq_timer_get_cur_tick(tmr); in snd_seq_ioctl_get_queue_status()
/linux-4.1.27/kernel/time/
DMakefile5 obj-$(CONFIG_GENERIC_CLOCKEVENTS) += clockevents.o tick-common.o
7 obj-y += tick-broadcast.o
8 obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
11 obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
DKconfig58 # only related to the tick functionality. Oneshot clockevent devices
69 prompt "Timer tick handling"
75 This option keeps the tick running periodically at a constant
105 Adaptively try to shutdown the tick whenever possible, even when
136 At least one CPU must keep the scheduling-clock tick running for
139 running non-idle tasks. Because the underlying adaptive-tick
143 handling the scheduling-clock tick, whether or not all CPUs
146 tick to be disabled when all CPUs are idle. Note that scalable
Dntp.c609 tick_usec = txc->tick; in process_adjtimex_modes()
638 (txc->tick < 900000/USER_HZ || in ntp_validate_timex()
639 txc->tick > 1100000/USER_HZ)) in ntp_validate_timex()
703 txc->tick = tick_usec; in __do_adjtimex()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dcmd.c173 unsigned int tick; in carl9170_collect_tally() local
181 tick = le32_to_cpu(tally.tick); in carl9170_collect_tally()
182 if (tick) { in carl9170_collect_tally()
183 ar->tally.active += le32_to_cpu(tally.active) / tick; in carl9170_collect_tally()
184 ar->tally.cca += le32_to_cpu(tally.cca) / tick; in carl9170_collect_tally()
185 ar->tally.tx_time += le32_to_cpu(tally.tx_time) / tick; in carl9170_collect_tally()
Dfwcmd.h304 __le32 tick; member
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/
Dsirfsoc_wdt.txt4 - compatible: "sirf,prima2-tick"
5 - reg: Address range of tick timer/WDT register set
11 compatible = "sirf,prima2-tick";
/linux-4.1.27/arch/mips/mti-sead3/
Dsead3-time.c25 unsigned int tick = 0; in estimate_cpu_frequency() local
41 while (tick < 100) { in estimate_cpu_frequency()
46 tick++; in estimate_cpu_frequency()
/linux-4.1.27/drivers/memory/tegra/
Dmc.c67 unsigned long long tick; in tegra_mc_setup_latency_allowance() local
72 tick = mc->tick * clk_get_rate(mc->clk); in tegra_mc_setup_latency_allowance()
73 do_div(tick, NSEC_PER_SEC); in tegra_mc_setup_latency_allowance()
77 value |= MC_EMEM_ARB_CFG_CYCLES_PER_UPDATE(tick); in tegra_mc_setup_latency_allowance()
230 mc->tick = 30; in tegra_mc_probe()
/linux-4.1.27/Documentation/timers/
Dhighres.txt97 System-level global event devices are used for the Linux periodic tick. Per-CPU
103 - system global periodic tick (jiffies update)
128 utilize the high resolution and dynamic tick functionalities without any change
132 adding the dynamic tick specific calls to the idle routine (a total of 3 lines
182 Once a system has switched to high resolution mode, the periodic tick is
186 The periodic tick functionality is provided by an per-cpu hrtimer. The callback
189 based periodic tick is designed to be extended with dynamic tick functionality.
191 timer and periodic events (jiffies tick, profiling, process accounting) on UP
196 separated from the tick bound timer softirq to allow accurate delivery of high
207 Dynamic ticks are the logical consequence of the hrtimer based periodic tick
[all …]
DNO_HZ.txt123 adaptive-tick CPUs: At least one non-adaptive-tick CPU must remain
125 calls like gettimeofday() returns accurate values on adaptive-tick CPUs.
149 Just as with dyntick-idle mode, the benefits of adaptive-tick mode do
161 3. POSIX CPU timers prevent CPUs from entering adaptive-tick mode.
167 all of them over time. Adaptive-tick mode may prevent this
170 entering adaptive-tick mode.
172 5. Scheduler statistics for adaptive-tick CPUs may be computed
173 slightly differently than those for non-adaptive-tick CPUs.
187 enter either dyntick-idle mode or adaptive-tick mode, the most
191 to enter dyntick-idle mode or adaptive-tick mode anyway. In this case,
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec_bulk.c499 unsigned long tick = 0; in sptlrpc_enc_pool_get_pages() local
521 if (tick == 0) in sptlrpc_enc_pool_get_pages()
522 tick = cfs_time_current(); in sptlrpc_enc_pool_get_pages()
565 if (unlikely(tick != 0)) { in sptlrpc_enc_pool_get_pages()
566 tick = cfs_time_current() - tick; in sptlrpc_enc_pool_get_pages()
567 if (tick > page_pools.epp_st_max_wait) in sptlrpc_enc_pool_get_pages()
568 page_pools.epp_st_max_wait = tick; in sptlrpc_enc_pool_get_pages()
/linux-4.1.27/drivers/md/
Ddm-cache-policy-internal.h86 if (p->tick) in policy_tick()
87 return p->tick(p); in policy_tick()
Ddm-cache-policy-mq.c453 unsigned tick; member
1009 unsigned long flags, tick; in copy_tick() local
1012 tick = mq->tick_protected; in copy_tick()
1013 if (tick != mq->tick) { in copy_tick()
1017 mq->tick = tick; in copy_tick()
1360 mq->policy.tick = mq_tick; in init_policy_functions()
1389 mq->tick = 0; in mq_create()
Ddm-cache-policy.h203 void (*tick)(struct dm_cache_policy *p); member
Ddm-cache-policy-cleaner.c402 p->policy.tick = NULL; in init_policy_functions()
Ddm-cache-target.c294 bool tick:1; member
701 pb->tick = false; in init_per_bio_data()
742 pb->tick = true; in check_if_tick_bio_needed()
2742 if (pb->tick) { in cache_end_io()
/linux-4.1.27/arch/sparc/include/asm/
Dhibernate.h15 unsigned long tick; member
Dhypervisor.h1221 unsigned long tick; /* Tick */ member
/linux-4.1.27/arch/sparc/power/
Dhibernate_asm.S28 rdpr %tick, %g2
112 wrpr %g2, %tick
/linux-4.1.27/arch/cris/kernel/
Dtime.c37 #define TICK_SIZE tick
/linux-4.1.27/arch/sparc/kernel/
Dasm-offsets.c35 OFFSET(SC_REG_TICK, saved_context, tick); in sparc64_foo()
Dhead_32.S292 wr %g3, 0x0, %psr ! tick tock, tick tock
/linux-4.1.27/drivers/sbus/char/
Dbbc_envctrl.c168 static void analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_ambient_temp() argument
201 } else if ((tick & (8 - 1)) == 0) { in analyze_ambient_temp()
223 static void analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_cpu_temp() argument
256 } else if ((tick & (8 - 1)) == 0) { in analyze_cpu_temp()
/linux-4.1.27/include/soc/tegra/
Dmc.h105 unsigned long tick; member
/linux-4.1.27/arch/arm/plat-omap/
DKconfig97 timer provides more intra-tick resolution than the 32KHz timer,
107 support for no tick during idle. The 32KHz timer provides less
108 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
/linux-4.1.27/include/uapi/linux/
Dtimex.h77 __kernel_long_t tick; /* (modified) usecs between clock ticks */ member
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dpicoxcell.txt18 event tick/NOHZ.
/linux-4.1.27/Documentation/devicetree/bindings/rtc/
Ds3c-rtc.txt14 is the rtc tick interrupt. The number of cells representing a interrupt
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/
Dtimex.h41 # error MTM tick timer interval value is overflow.
/linux-4.1.27/include/uapi/sound/
Dasequencer.h240 snd_seq_tick_time_t tick; member
491 snd_seq_tick_time_t tick; /* current tick */ member
/linux-4.1.27/drivers/cpuidle/
DKconfig21 bool "Ladder governor (for periodic timer tick)"
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dcirrus,clps711x-intc.txt23 11: TINT 64Hz tick
/linux-4.1.27/arch/mn10300/kernel/
Dmn10300-serial-low.S62 # - induces a scheduler tick timer interrupt when done, which we then subvert
109 # - induces a scheduler tick timer interrupt when done, which we then subvert
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c1253 long tick; /* (modified) usecs between clock ticks */ member
1276 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()
1286 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()
1287 offsetof(struct timex32, tick))) || in SYSCALL_DEFINE1()
/linux-4.1.27/include/rdma/
Dib_pma.h63 u8 tick; member
/linux-4.1.27/Documentation/networking/
Dproc_net_tcp.txt33 | | | | | | |---------> Predicted tick of soft clock
D3c509.txt135 Check /proc/interrupts for excessive interrupt counts. The timer tick
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_writeq.c111 ev.time.tick = time; in snd_seq_oss_writeq_sync()
Dseq_oss_ioctl.c66 tmpev.time.tick = 0; in snd_seq_oss_oob_user()
Dseq_oss_rw.c182 event.time.tick = snd_seq_oss_timer_cur_tick(dp->timer); in insert_queue()
Dseq_oss_midi.c596 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_synth_event()
611 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_midi_event()
/linux-4.1.27/sound/drivers/
Daloop.c171 unsigned long tick; in loopback_timer_start() local
182 tick = dpcm->period_size_frac - dpcm->irq_pos; in loopback_timer_start()
183 tick = (tick + dpcm->pcm_bps - 1) / dpcm->pcm_bps; in loopback_timer_start()
184 mod_timer(&dpcm->timer, jiffies + tick); in loopback_timer_start()
/linux-4.1.27/drivers/usb/host/
Dohci-q.c502 ed->tick = ohci_frame_no(ohci) + 1; in start_ed_unlink()
974 unsigned tick = ohci_frame_no(ohci); in finish_unlinks() local
987 tick_before(tick, ed->tick)) { in finish_unlinks()
Dohci.h69 u16 tick; member
/linux-4.1.27/sound/pci/ctxfi/
Dcthardware.h181 int (*set_timer_tick)(struct hw *hw, unsigned int tick);
/linux-4.1.27/drivers/staging/comedi/drivers/
Ds626.c1969 unsigned int chan, int tick) in s626_timer_load() argument
1990 s626_preload(dev, chan, tick); in s626_timer_load()
2015 int tick; in s626_ai_cmd() local
2047 tick = s626_ns_to_timer(&cmd->scan_begin_arg, cmd->flags); in s626_ai_cmd()
2050 s626_timer_load(dev, 5, tick); in s626_ai_cmd()
2068 tick = s626_ns_to_timer(&cmd->convert_arg, cmd->flags); in s626_ai_cmd()
2071 s626_timer_load(dev, 4, tick); in s626_ai_cmd()
/linux-4.1.27/kernel/
Dcompat.c49 __get_user(txc->tick, &utp->tick) || in compat_get_timex()
77 __put_user(txc->tick, &utp->tick) || in compat_put_timex()
/linux-4.1.27/Documentation/device-mapper/
Dcache-policies.txt21 for each tick. The core ticks by watching bios complete, and so
/linux-4.1.27/Documentation/scheduler/
Dsched-design-CFS.txt76 schedules (or a scheduler tick happens) the task's CPU usage is "accounted
193 This function is mostly called from time tick functions; it might lead to
Dsched-nice-design.txt10 units were driven by the HZ tick, so the smallest timeslice was 1/HZ.
Dsched-deadline.txt94 (technically, the runtime is decreased at every tick, or when the
/linux-4.1.27/arch/arm/boot/dts/
Datlas7.dtsi539 compatible = "sirf,atlas7-tick";
551 compatible = "sirf,atlas7-tick";
Datlas6.dtsi204 compatible = "sirf,prima2-tick";
Dprima2.dtsi210 compatible = "sirf,prima2-tick";
/linux-4.1.27/Documentation/thermal/
Dintel_powerclamp.txt94 The NOHZ schedule tick is disabled during idle time, but interrupts
95 are not masked. Tests show that the extra wakeups from scheduler tick
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt142 * a tick is charged to a task's system time. So, at the end we
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/
Dmvebu-devbus.txt98 <wr-high-ps> - <tick> ps.
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_mad.c860 p->tick = dev->dd->ipath_link_speed_active - 1; in recv_pma_get_portsamplescontrol()
862 p->tick = 250; /* 1 usec. */ in recv_pma_get_portsamplescontrol()
/linux-4.1.27/Documentation/cgroups/
Dcpusets.txt526 balance on tick, and at time of some schedule events.
542 while the load balance on tick searches all.
548 on the next tick. For some applications in special situation, waiting
549 1 tick may be too long.
/linux-4.1.27/Documentation/sysctl/
Dnet.txt227 aarp-tick-time
/linux-4.1.27/include/linux/
Dcompat.h113 compat_long_t tick; member
/linux-4.1.27/drivers/tty/
Dmoxa.c148 int tick; member
307 moxaLog.tick = jiffies; in moxa_ioctl()
Dmxser.c192 int tick; member
/linux-4.1.27/arch/cris/arch-v10/drivers/
DKconfig41 Number of timer ticks between flush of receive fifo (1 tick = 10ms).
/linux-4.1.27/init/
DKconfig340 # Kind of a stub config for the pure tick based cputime accounting
342 bool "Simple tick based cputime accounting"
345 This is the basic tick based cputime accounting that maintains
542 try to keep the timer tick on for RCU.
/linux-4.1.27/Documentation/virtual/kvm/
Dtimekeeping.txt497 number of buggy variants of lost tick compensation are distributed across
/linux-4.1.27/Documentation/
DIPMI.txt465 microseconds, that kipmid will spin before sleeping for a tick. This
Dkernel-parameters.txt643 [SPARC64] tick
2409 the specified list of CPUs whose tick will be stopped
3329 skew_tick= [KNL] Offset the periodic timer tick per cpu to mitigate
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_mad.c1198 p->tick = dd->f_get_ib_cfg(ppd, QIB_IB_CFG_PMA_TICKS); in pma_get_portsamplescontrol()
/linux-4.1.27/Documentation/scsi/
Dncr53c8xx.txt424 Due to the 1/100 second tick of the system clock, "ms_post" time may
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c5402 unsigned int tick; in fiber_autoneg() local
5418 tick = 0; in fiber_autoneg()
5419 while (++tick < 195000) { in fiber_autoneg()
/linux-4.1.27/
DMAINTAINERS4654 F: kernel/time/tick*.*