Home
last modified time | relevance | path

Searched refs:timers (Results 1 – 25 of 174) sorted by relevance

1234567

/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_gtm.c76 struct gtm_timer timers[4]; member
99 for (i = 0; i < ARRAY_SIZE(gtm->timers); i++) { in gtm_get_timer16()
100 if (!gtm->timers[i].requested) { in gtm_get_timer16()
101 gtm->timers[i].requested = true; in gtm_get_timer16()
103 return &gtm->timers[i]; in gtm_get_timer16()
136 if (gtm->timers[timer].requested) in gtm_get_specific_timer16()
139 ret = &gtm->timers[timer]; in gtm_get_specific_timer16()
173 int num = tmr - &gtm->timers[0]; in gtm_set_ref_timer16()
309 int num = tmr - &gtm->timers[0]; in gtm_stop_timer16()
337 struct gtm_timer *timers, in gtm_set_shortcuts() argument
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/timer/
Dmediatek,mtk-timer.txt4 Mediatek SoCs have two different timers on different platforms,
12 * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
13 * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
14 * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
15 * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
16 * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
17 * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
18 * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
19 * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
20 * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST)
Dandestech,atcpit100-timer.txt6 This timer is a set of compact multi-function timers, which can be
7 used as pulse width modulators (PWM) as well as simple timers.
12 Two 16-bit timers
13 Four 8-bit timers
Dti,davinci-timer.txt5 timer, dual general-purpose 32-bit timers. When configured as dual 32-bit
6 timers, each half can operate in conjunction (chain mode) or independently
12 Also see ../watchdog/davinci-wdt.txt for timers that are configurable as
13 watchdog timers.
Dsamsung,exynos4210-mct.txt4 global timer and CPU local timers. The global timer is a 64-bit free running
6 four preset counter values. The CPU local timers are 32-bit free running
34 For MCT block that uses a per-processor interrupt for local timers, such
36 interrupt might be specified, meaning that all local timers use the same
39 Example 1: In this example, the IP contains two local timers, using separate
73 Example 3: In this example, the IP contains four local timers, but using
Dspreadtrum,sprd-timer.txt1 Spreadtrum timers
3 The Spreadtrum SC9860 platform provides 3 general-purpose timers.
4 These timers can support 32bit or 64bit counter, as well as supporting
/Linux-v4.19/drivers/clocksource/
Dbcm_kona_timer.c42 static struct kona_bcm_timers timers; variable
118 ret = kona_timer_get_counter(timers.tmr_regs, &msw, &lsw); in kona_timer_set_next_event()
123 writel(lsw + clc, timers.tmr_regs + KONA_GPTIMER_STCM0_OFFSET); in kona_timer_set_next_event()
126 reg = readl(timers.tmr_regs + KONA_GPTIMER_STCS_OFFSET); in kona_timer_set_next_event()
128 writel(reg, timers.tmr_regs + KONA_GPTIMER_STCS_OFFSET); in kona_timer_set_next_event()
135 kona_timer_disable_and_clear(timers.tmr_regs); in kona_timer_shutdown()
158 kona_timer_disable_and_clear(timers.tmr_regs); in kona_timer_interrupt()
187 timers.tmr_irq = irq_of_parse_and_map(node, 0); in kona_timer_init()
190 timers.tmr_regs = of_iomap(node, 0); in kona_timer_init()
192 kona_timer_disable_and_clear(timers.tmr_regs); in kona_timer_init()
[all …]
Dtimer-probe.c32 unsigned timers = 0; in timer_probe() local
47 timers++; in timer_probe()
50 timers += acpi_probe_device_table(timer); in timer_probe()
52 if (!timers) in timer_probe()
/Linux-v4.19/arch/arm/mach-davinci/
Dtime.c94 static struct timer_s timers[]; variable
119 soc_info->timer_info->timers; in timer32_config()
120 int event_timer = ID_TO_TIMER(timers[TID_CLOCKEVENT].id); in timer32_config()
171 static struct timer_s timers[] = { variable
194 struct davinci_timer_instance *dtip = soc_info->timer_info->timers; in timer_init()
228 for (i=0; i< ARRAY_SIZE(timers); i++) { in timer_init()
229 struct timer_s *t = &timers[i]; in timer_init()
265 struct timer_s *t = &timers[TID_CLOCKSOURCE]; in read_cycles()
282 return timer32_read(&timers[TID_CLOCKSOURCE]); in davinci_read_sched_clock()
291 struct timer_s *t = &timers[TID_CLOCKEVENT]; in davinci_set_next_event()
[all …]
/Linux-v4.19/arch/m68k/coldfire/
DMakefile19 obj-$(CONFIG_M5206) += m5206.o timers.o intc.o reset.o
20 obj-$(CONFIG_M5206e) += m5206.o timers.o intc.o reset.o
23 obj-$(CONFIG_M5249) += m5249.o timers.o intc.o intc-5249.o reset.o
24 obj-$(CONFIG_M525x) += m525x.o timers.o intc.o intc-525x.o reset.o
26 obj-$(CONFIG_M5272) += m5272.o intc-5272.o timers.o
28 obj-$(CONFIG_M5307) += m5307.o timers.o intc.o reset.o
29 obj-$(CONFIG_M53xx) += m53xx.o timers.o intc-simr.o reset.o
30 obj-$(CONFIG_M5407) += m5407.o timers.o intc.o reset.o
/Linux-v4.19/Documentation/devicetree/bindings/pwm/
Dpwm-samsung.txt1 * Samsung PWM timers
4 and clock event timers, as well as to drive SoC outputs with PWM signal. Each
12 samsung,s3c2410-pwm - for 16-bit timers present on S3C24xx SoCs
13 samsung,s3c6400-pwm - for 32-bit timers present on S3C64xx SoCs
14 samsung,s5p6440-pwm - for 32-bit timers present on S5P64x0 SoCs
15 samsung,s5pc100-pwm - for 32-bit timers present on S5PC100, S5PV210,
17 samsung,exynos4210-pwm - for 32-bit timers present on Exynos4210,
23 - "timers" - PWM base clock used to generate PWM signals,
48 clock-names = "timers";
Dpwm-omap-dmtimer.txt1 * OMAP PWM for dual-mode timers
5 - ti,timers: phandle to PWM capable OMAP timer. See timer/ti,timer.txt for info
6 about these timers.
11 - ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
20 ti,timers = <&timer9>;
Dpwm-stm32.txt4 See ../mfd/stm32-timers.txt for details about the parent node.
21 timers@40010000 {
24 compatible = "st,stm32-timers";
/Linux-v4.19/arch/arm/boot/dts/
Dstm32f746.dtsi84 timers2: timers@40000000 {
87 compatible = "st,stm32-timers";
113 timers3: timers@40000400 {
116 compatible = "st,stm32-timers";
142 timers4: timers@40000800 {
145 compatible = "st,stm32-timers";
170 timers5: timers@40000c00 {
173 compatible = "st,stm32-timers";
199 timers6: timers@40001000 {
202 compatible = "st,stm32-timers";
[all …]
Dstm32f429.dtsi89 timers2: timers@40000000 {
92 compatible = "st,stm32-timers";
118 timers3: timers@40000400 {
121 compatible = "st,stm32-timers";
147 timers4: timers@40000800 {
150 compatible = "st,stm32-timers";
175 timers5: timers@40000c00 {
178 compatible = "st,stm32-timers";
204 timers6: timers@40001000 {
207 compatible = "st,stm32-timers";
[all …]
/Linux-v4.19/arch/x86/platform/intel-mid/
Dintel-mid.c94 x86_init.timers.setup_percpu_clockev = intel_mid_setup_bp_timer; in intel_mid_time_init()
101 x86_init.timers.setup_percpu_clockev = setup_boot_APIC_clock; in intel_mid_time_init()
106 x86_init.timers.setup_percpu_clockev = apbt_time_init; in intel_mid_time_init()
164 x86_init.timers.timer_init = intel_mid_time_init; in x86_intel_mid_early_setup()
165 x86_init.timers.setup_percpu_clockev = x86_init_noop; in x86_intel_mid_early_setup()
166 x86_init.timers.wallclock_init = intel_mid_rtc_init; in x86_intel_mid_early_setup()
/Linux-v4.19/Documentation/timers/
Dhrtimers.txt2 hrtimers - subsystem for high-resolution kernel timers
5 This patch introduces a new subsystem for high-resolution kernel timers.
8 (kernel/timers.c), why do we need two timer subsystems? After a lot of
18 - the forced handling of low-resolution and high-resolution timers in
20 mess. The timers.c code is very "tightly coded" around jiffies and
27 high-res timers.
30 necessitate a more complex handling of high resolution timers, which
34 degrading other portions of the timers.c code in an unacceptable way.
38 the required readjusting of absolute CLOCK_REALTIME timers at
41 timers.
[all …]
D00-INDEX4 - High resolution timers and dynamic ticks design notes
8 - subsystem for high-resolution kernel timers
13 timers-howto.txt
Dhpet.txt10 also called "timers", which can be misleading since usually timers are
17 mode where the first two comparators block interrupts from 8254 timers
28 file:samples/timers/hpet_example.c
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Dstm32-timers.txt4 - advanced-control timers consist of a 16-bit auto-reload counter driven by a programmable
6 - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter driven by a
8 - basic timers consist of a 16-bit auto-reload counter driven by a programmable prescaler.
11 - compatible: must be "st,stm32-timers"
33 timers@40010000 {
36 compatible = "st,stm32-timers";
/Linux-v4.19/Documentation/devicetree/bindings/mips/brcm/
Dsoc.txt148 timers that can be used.
153 "brcm,bcm7425-timers"
154 "brcm,bcm7429-timers"
155 "brcm,bcm7435-timers" and
156 "brcm,brcmstb-timers"
157 - reg : the timers register range
162 timers: timer@4067c0 {
163 compatible = "brcm,bcm7425-timers", "brcm,brcmstb-timers";
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic-timer.txt1 * Freescale MPIC timers
12 all timers within the group can be used.
16 interrupts that correspond to available timers shall be present.
24 /* Another AMP partition is using timers 0 and 1 */
/Linux-v4.19/Documentation/devicetree/bindings/iio/timer/
Dstm32-timer-trigger.txt4 See ../mfd/stm32-timers.txt for details about the parent node.
13 timers@40010000 {
16 compatible = "st,stm32-timers";
/Linux-v4.19/drivers/leds/
Dleds-netxbig.c389 struct netxbig_led_timer *timers; in netxbig_leds_get_of_pdata() local
418 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
420 if (!timers) in netxbig_leds_get_of_pdata()
426 &timers[i].mode); in netxbig_leds_get_of_pdata()
427 if (timers[i].mode >= NETXBIG_LED_MODE_NUM) in netxbig_leds_get_of_pdata()
431 timers[i].delay_on = tmp; in netxbig_leds_get_of_pdata()
434 timers[i].delay_off = tmp; in netxbig_leds_get_of_pdata()
436 pdata->timer = timers; in netxbig_leds_get_of_pdata()
/Linux-v4.19/kernel/time/
DMakefile7 obj-y += posix-timers.o posix-cpu-timers.o posix-clock.o itimer.o

1234567