Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 1156) sorted by relevance

12345678910>>...47

/freebsd/sys/contrib/device-tree/Bindings/timer/
H A Drockchip,rk-timer.txt1 Rockchip rk timer
5 "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108
6 "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036
7 "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066
8 "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188
9 "rockchip,rk3228-timer", "rockchip,rk3288-timer": for Rockchip RK3228
10 "rockchip,rk3229-timer", "rockchip,rk3288-timer": for Rockchip RK3229
11 "rockchip,rk3288-timer": for Rockchip RK3288
12 "rockchip,rk3368-timer", "rockchip,rk3288-timer": for Rockchip RK3368
13 "rockchip,rk3399-timer": for Rockchip RK3399
[all …]
H A Dti,timer.txt5 OMAP44xx devices have timer instances that are 100%
8 So for OMAP44xx devices timer instances may use
11 ti,omap2420-timer (applicable to OMAP24xx devices)
12 ti,omap3430-timer (applicable to OMAP3xxx/44xx devices)
13 ti,omap4430-timer (applicable to OMAP44xx devices)
14 ti,omap5430-timer (applicable to OMAP543x devices)
15 ti,am335x-timer (applicable to AM335x devices)
16 ti,am335x-timer-1ms (applicable to AM335x devices)
18 - reg: Contains timer register address range (base address and
20 - interrupts: Contains the interrupt information for the timer. The
[all …]
H A Dmediatek,mtk-timer.txt9 The proper timer will be selected automatically by driver.
14 * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
15 * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
16 * "mediatek,mt6582-timer" for MT6582 compatible timers (GPT)
17 * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
18 * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
19 * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
20 * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
21 * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
22 * "mediatek,mt8516-timer" for MT8516 compatible timers (GPT)
[all …]
H A Dnuvoton,npcm7xx-timer.txt1 Nuvoton NPCM7xx timer
3 Nuvoton NPCM7xx have three timer modules, each timer module provides five 24-bit
4 timer counters.
7 - compatible : "nuvoton,npcm750-timer" for Poleg NPCM750, or
8 "nuvoton,wpcm450-timer" for Hermon WPCM450.
10 - interrupts : Contain the timer interrupt of timer 0.
11 - clocks : phandle of timer reference clock (usually a 25 MHz clock).
15 timer@f0008000 {
16 compatible = "nuvoton,npcm750-timer";
H A Dcirrus,clps711x-timer.txt4 - compatible: Shall contain "cirrus,ep7209-timer".
6 - interrupts: The interrupt number of the timer.
7 - clocks : phandle of timer reference clock.
9 Note: Each timer should have an alias correctly numbered in "aliases" node.
17 timer1: timer@80000300 {
18 compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
24 timer2: timer@80000340 {
25 compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
H A Dqcom,msm-timer.txt5 - compatible : Should at least contain "qcom,msm-timer". More specific
8 "qcom,kpss-timer" - krait subsystem
9 "qcom,scss-timer" - scorpion subsystem
11 - interrupts : Interrupts for the debug timer, the first general purpose
12 timer, and optionally a second general purpose timer, and
15 - reg : Specifies the base address of the timer registers.
23 - clock-frequency : The frequency of the debug timer and the general purpose
24 timer(s) in Hz in that order.
28 - cpu-offset : per-cpu offset used when the timer is accessed without the
34 timer@200a000 {
[all …]
H A Dlsi,zevio-timer.txt1 TI-NSPIRE timer
5 - compatible : should be "lsi,zevio-timer".
6 - reg : The physical base address and size of the timer (always first).
11 - interrupts : The interrupt number of the first timer.
13 (always after timer base address)
15 If any of the optional properties are not given, the timer is added as a
20 timer {
21 compatible = "lsi,zevio-timer";
29 timer {
30 compatible = "lsi,zevio-timer";
H A Dfaraday,fttmr010.txt1 Faraday Technology timer
3 This timer is a generic IP block from Faraday Technology, embedded in the
10 "cortina,gemini-timer", "faraday,fttmr010"
11 "moxa,moxart-timer", "faraday,fttmr010"
12 "aspeed,ast2400-timer"
13 "aspeed,ast2500-timer"
14 "aspeed,ast2600-timer"
17 - interrupts : Should contain the three timer interrupts usually with
23 - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
26 type is "cortina,gemini-timer"
[all …]
H A Dmarvell,armada-370-xp-timer.txt6 "marvell,armada-370-timer",
7 "marvell,armada-375-timer",
8 "marvell,armada-xp-timer".
10 then local timer interrupts
15 Clocks required for compatible = "marvell,armada-370-timer":
18 Clocks required for compatibles = "marvell,armada-xp-timer",
19 "marvell,armada-375-timer":
29 timer {
30 compatible = "marvell,armada-370-timer";
38 timer {
[all …]
H A Dnvidia,tegra30-timer.txt1 NVIDIA Tegra30 timer
3 The Tegra30 timer provides ten 29-bit timer channels, a single 32-bit free
9 - compatible : For Tegra30, must contain "nvidia,tegra30-timer". Otherwise,
10 must contain '"nvidia,<chip>-timer", "nvidia,tegra30-timer"' where
13 - interrupts : A list of 6 interrupts; one per each of timer channels 1
18 timer {
19 compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer";
H A Drenesas,16bit-timer.txt1 * Renesas H8/300 16bit timer
3 The 16bit timer is a 16bit timer/counter with configurable clock inputs and
8 - compatible: must contain "renesas,16bit-timer"
9 - reg: base address and length of the registers block for the timer module.
10 - interrupts: interrupt-specifier for the timer, IMIA
13 - renesas,channel: timer channel number.
17 timer16: timer@ffff68 {
18 compatible = "reneas,16bit-timer";
H A Darm,mps2-timer.txt1 ARM MPS2 timer
6 - compatible : Should be "arm,mps2-timer"
8 - interrupts : Reference to the timer interrupt
11 - clocks : The input clock of the timer
12 - clock-frequency : The rate in HZ in input of the ARM MPS2 timer
16 timer1: mps2-timer@40000000 {
17 compatible = "arm,mps2-timer";
23 timer2: mps2-timer@40001000 {
24 compatible = "arm,mps2-timer";
/freebsd/sys/dev/isci/
H A Disci_timer.c41 struct ISCI_TIMER *timer = (struct ISCI_TIMER *)arg; in isci_timer_timeout() local
43 isci_log_message(3, "TIMER", "timeout %p\n", timer); in isci_timer_timeout()
51 if (timer->is_started == TRUE) in isci_timer_timeout()
52 timer->callback(timer->cookie); in isci_timer_timeout()
75 scif_cb_timer_start(SCI_CONTROLLER_HANDLE_T controller, void *timer, in scif_cb_timer_start() argument
78 struct ISCI_TIMER *isci_timer = (struct ISCI_TIMER *)timer; in scif_cb_timer_start()
81 isci_log_message(3, "TIMER", "start %p %d\n", timer, milliseconds); in scif_cb_timer_start()
83 isci_timer_timeout, timer, 0); in scif_cb_timer_start()
96 scif_cb_timer_stop(SCI_CONTROLLER_HANDLE_T controller, void *timer) in scif_cb_timer_stop() argument
98 struct ISCI_TIMER *isci_timer = (struct ISCI_TIMER *)timer; in scif_cb_timer_stop()
[all …]
/freebsd/contrib/kyua/utils/signals/
H A Dtimer.cpp95 typedef std::set< signals::timer* > timers_set;
98 typedef std::vector< signals::timer* > timers_vector;
122 add_to_all_timers(signals::timer* timer) in add_to_all_timers() argument
124 timers_set& timers = _all_timers[timer->when()]; in add_to_all_timers()
125 INV(timers.find(timer) == timers.end()); in add_to_all_timers()
126 timers.insert(timer); in add_to_all_timers()
136 remove_from_all_timers(signals::timer* timer) in remove_from_all_timers() argument
141 timer->when()); in remove_from_all_timers()
144 INV(timers.find(timer) != timers.end()); in remove_from_all_timers()
145 timers.erase(timer); in remove_from_all_timers()
[all …]
H A Dtimer_test.cpp57 class delayed_inserter : public signals::timer {
80 signals::timer(delta), _destination(destination), _item(item) in delayed_inserter()
97 wait_timers(const std::vector< signals::timer* >& timers) in wait_timers()
102 for (std::vector< signals::timer* >::const_iterator in wait_timers()
104 const signals::timer* timer = *iter; in wait_timers() local
105 if (timer->fired()) in wait_timers()
127 signals::timer timer(datetime::delta(1, 0)); in ATF_TEST_CASE_BODY() local
128 ATF_REQUIRE(!timer.fired()); in ATF_TEST_CASE_BODY()
129 while (!timer.fired()) in ATF_TEST_CASE_BODY()
141 signals::timer timer(datetime::delta(0, 500000)); in ATF_TEST_CASE_BODY() local
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dtimer.h55 #define timer_setup(timer, func, flags) do { \ argument
57 (timer)->function_415 = (func); \
58 (timer)->data = (unsigned long)(timer); \
59 callout_init(&(timer)->callout, 1); \
62 #define setup_timer(timer, func, dat) do { \ argument
63 (timer)->function = (func); \
64 (timer)->data = (dat); \
65 callout_init(&(timer)->callout, 1); \
68 #define __setup_timer(timer, func, dat, flags) do { \ argument
70 setup_timer(timer, func, dat); \
[all …]
/freebsd/sys/amd64/vmm/io/
H A Dvhpet.c91 } timer[VHPET_NUM_TIMERS]; member
128 if ((vhpet->timer[n].cap_config & msi_enable) == msi_enable) in vhpet_timer_msi_enabled()
144 return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ROUTE) >> 9); in vhpet_timer_ioapic_pin()
190 return ((vhpet->timer[n].cap_config & HPET_TCNF_TYPE) != 0); in vhpet_periodic_timer()
197 return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ENB) != 0); in vhpet_timer_interrupt_enabled()
207 if ((vhpet->timer[n].cap_config & HPET_TCNF_INT_TYPE) == 0) in vhpet_timer_edge_trig()
231 lapic_intr_msi(vhpet->vm, vhpet->timer[n].msireg >> 32, in vhpet_timer_interrupt()
232 vhpet->timer[n].msireg & 0xffffffff); in vhpet_timer_interrupt()
255 KASSERT(vhpet->timer[n].comprate != 0, ("hpet t%d is not periodic", n)); in vhpet_adjust_compval()
257 compval = vhpet->timer[n].compval; in vhpet_adjust_compval()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Domap2.dtsi198 compatible = "ti,sysc-omap2-timer", "ti,sysc";
218 timer2: timer@0 {
219 compatible = "ti,omap2420-timer";
225 timer3: timer@48078000 {
226 compatible = "ti,omap2420-timer";
232 timer4: timer@4807a000 {
233 compatible = "ti,omap2420-timer";
239 timer5: timer@4807c000 {
240 compatible = "ti,omap2420-timer";
244 ti,timer-dsp;
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtest-changelist.c65 start_cpu_usage_timer(struct cpu_usage_timer *timer) in start_cpu_usage_timer() argument
70 timer->thread = GetCurrentThread(); in start_cpu_usage_timer()
71 r = GetThreadTimes(timer->thread, &createtime, &exittime, in start_cpu_usage_timer()
72 &timer->usertimeBegin, &timer->kerneltimeBegin); in start_cpu_usage_timer()
75 timer->ticksBegin = clock(); in start_cpu_usage_timer()
78 evutil_gettimeofday(&timer->timeBegin, NULL); in start_cpu_usage_timer()
104 get_cpu_usage(struct cpu_usage_timer *timer, double *secElapsedOut, in get_cpu_usage() argument
118 r = GetThreadTimes(timer->thread, &createtime, &exittime, in get_cpu_usage()
121 usertime_seconds = filetime_diff(&timer->usertimeBegin, &usertimeEnd); in get_cpu_usage()
122 kerneltime_seconds = filetime_diff(&timer->kerneltimeBegin, &kerneltimeEnd); in get_cpu_usage()
[all …]
/freebsd/contrib/libevent/test/
H A Dtest-changelist.c65 start_cpu_usage_timer(struct cpu_usage_timer *timer) in start_cpu_usage_timer() argument
70 timer->thread = GetCurrentThread(); in start_cpu_usage_timer()
71 r = GetThreadTimes(timer->thread, &createtime, &exittime, in start_cpu_usage_timer()
72 &timer->usertimeBegin, &timer->kerneltimeBegin); in start_cpu_usage_timer()
75 timer->ticksBegin = clock(); in start_cpu_usage_timer()
78 evutil_gettimeofday(&timer->timeBegin, NULL); in start_cpu_usage_timer()
104 get_cpu_usage(struct cpu_usage_timer *timer, double *secElapsedOut, in get_cpu_usage() argument
118 r = GetThreadTimes(timer->thread, &createtime, &exittime, in get_cpu_usage()
121 usertime_seconds = filetime_diff(&timer->usertimeBegin, &usertimeEnd); in get_cpu_usage()
122 kerneltime_seconds = filetime_diff(&timer->kerneltimeBegin, &kerneltimeEnd); in get_cpu_usage()
[all …]
/freebsd/contrib/ntp/scripts/deprecated/
H A Dfreq_adj.in16 chop($timer = `sysctl -n kern.timecounter.hardware 2> /dev/null`);
18 $timer =~ tr/\U/\L/;
20 if ($timer eq '') {
25 $timer = $1;
32 $opt_t = $timer if !defined($opt_t);
34 if ($timer ne '') { # $timer found...
36 if ($timer ne $opt_t) { # - - and they differ
37 warn "You specified a $opt_t timer but I detected a $timer timer.\n";
48 $timer = $opt_t; # - - so use it.
76 $sysctl = "machdep.".$timer."_freq";
[all …]
/freebsd/lib/librt/
H A Dtimer.c81 struct __timer *timer; in __timer_create() local
86 timer = malloc(sizeof(struct __timer)); in __timer_create()
87 if (timer == NULL) in __timer_create()
91 ret = __sys_ktimer_create(clockid, evp, &timer->oshandle); in __timer_create()
94 free(timer); in __timer_create()
98 timer->node = NULL; in __timer_create()
99 *timerid = timer; in __timer_create()
104 free(timer); in __timer_create()
111 free(timer); in __timer_create()
117 ret = __sys_ktimer_create(clockid, &ev, &timer->oshandle); in __timer_create()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/
H A Dmpic-timer.txt4 - compatible: "fsl,mpic-global-timer"
6 - reg : Contains two regions. The first is the main timer register bank
7 (GTCCRxx, GTBCRxx, GTVPRxx, GTDRxx). The second is the timer control
11 timer interrupts can be used. This property is optional; without this,
14 - interrupts: one interrupt per timer in the group, in order, starting
15 with timer zero. If timer-available-ranges is present, only the
20 timer0: timer@41100 {
21 compatible = "fsl,mpic-global-timer";
31 timer1: timer@42100 {
32 compatible = "fsl,mpic-global-timer";
/freebsd/sys/kern/
H A Dkern_clocksource.c75 if (timer->et_flags & ET_FLAGS_PERCPU) \
83 if (timer->et_flags & ET_FLAGS_PERCPU) \
89 static struct eventtimer *timer = NULL; variable
221 (timer->et_flags & ET_FLAGS_PERCPU)); in handleevents()
279 if ((timer->et_flags & ET_FLAGS_PERCPU) == 0) { in getnextevent()
384 if (timer->et_flags & ET_FLAGS_PERCPU)
402 et_start(timer, new, timerperiod);
411 et_start(timer, new - now, 0);
424 if (periodic && (timer->et_flags & ET_FLAGS_PERIODIC) == 0)
426 else if (!periodic && (timer->et_flags & ET_FLAGS_ONESHOT) == 0)
[all …]
/freebsd/lib/libc/isc/
H A Dev_timers.c64 evTimer * timer; member
244 ctx->cur->u.timer.this == del) { in evClearTimer()
276 evTimer *timer = id.opaque; in evConfigTimer() local
281 if (heap_element(ctx->timers, timer->index) != timer) in evConfigTimer()
285 timer->mode |= EV_TMR_RATE; in evConfigTimer()
287 timer->mode &= ~EV_TMR_RATE; in evConfigTimer()
303 evTimer *timer = id.opaque; in evResetTimer() local
307 if (heap_element(ctx->timers, timer->index) != timer) in evResetTimer()
327 old_due = timer->due; in evResetTimer()
329 timer->func = func; in evResetTimer()
[all …]

12345678910>>...47