Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_gtm.c72 struct gtm_timer timers[4]; member
95 for (i = 0; i < ARRAY_SIZE(gtm->timers); i++) { in gtm_get_timer16()
96 if (!gtm->timers[i].requested) { in gtm_get_timer16()
97 gtm->timers[i].requested = true; in gtm_get_timer16()
99 return &gtm->timers[i]; in gtm_get_timer16()
132 if (gtm->timers[timer].requested) in gtm_get_specific_timer16()
135 ret = &gtm->timers[timer]; in gtm_get_specific_timer16()
169 int num = tmr - &gtm->timers[0]; in gtm_set_ref_timer16()
305 int num = tmr - &gtm->timers[0]; in gtm_stop_timer16()
333 struct gtm_timer *timers, in gtm_set_shortcuts() argument
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/timer/
Dmediatek,mtk-timer.txt4 MediaTek SoCs have two different timers on different platforms,
13 * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
14 * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
15 * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
16 * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
17 * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
18 * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
19 * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
20 * "mediatek,mt8516-timer" for MT8516 compatible timers (GPT)
21 * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
[all …]
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-v5.4/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-v5.4/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.c21 unsigned timers = 0; in timer_probe() local
38 timers++; in timer_probe()
41 timers += acpi_probe_device_table(timer); in timer_probe()
43 if (!timers) in timer_probe()
/Linux-v5.4/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-v5.4/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>;
/Linux-v5.4/arch/arm/boot/dts/
Dstm32f746.dtsi86 timers2: timers@40000000 {
89 compatible = "st,stm32-timers";
116 timers3: timers@40000400 {
119 compatible = "st,stm32-timers";
146 timers4: timers@40000800 {
149 compatible = "st,stm32-timers";
175 timers5: timers@40000c00 {
178 compatible = "st,stm32-timers";
205 timers6: timers@40001000 {
208 compatible = "st,stm32-timers";
[all …]
Dstm32f429.dtsi104 timers2: timers@40000000 {
107 compatible = "st,stm32-timers";
134 timers3: timers@40000400 {
137 compatible = "st,stm32-timers";
164 timers4: timers@40000800 {
167 compatible = "st,stm32-timers";
193 timers5: timers@40000c00 {
196 compatible = "st,stm32-timers";
223 timers6: timers@40001000 {
226 compatible = "st,stm32-timers";
[all …]
/Linux-v5.4/arch/x86/platform/intel-mid/
Dintel-mid.c90 x86_init.timers.setup_percpu_clockev = intel_mid_setup_bp_timer; in intel_mid_time_init()
97 x86_init.timers.setup_percpu_clockev = setup_boot_APIC_clock; in intel_mid_time_init()
102 x86_init.timers.setup_percpu_clockev = apbt_time_init; in intel_mid_time_init()
160 x86_init.timers.timer_init = intel_mid_time_init; in x86_intel_mid_early_setup()
161 x86_init.timers.setup_percpu_clockev = x86_init_noop; in x86_intel_mid_early_setup()
162 x86_init.timers.wallclock_init = intel_mid_rtc_init; in x86_intel_mid_early_setup()
/Linux-v5.4/Documentation/timers/
Dhrtimers.rst2 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 …]
Dhpet.rst12 also called "timers", which can be misleading since usually timers are
19 mode where the first two comparators block interrupts from 8254 timers
30 file:samples/timers/hpet_example.c
Dindex.rst4 timers chapter
15 timers-howto
/Linux-v5.4/include/kvm/
Darm_arch_timer.h61 struct arch_timer_context timers[NR_KVM_TIMERS]; member
98 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)])
99 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER])
100 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER])
102 #define arch_timer_ctx_index(ctx) ((ctx) - vcpu_timer((ctx)->vcpu)->timers)
/Linux-v5.4/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"
34 timers@40010000 {
37 compatible = "st,stm32-timers";
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/Documentation/devicetree/bindings/counter/
Dstm32-timer-cnt.txt8 See ../mfd/stm32-timers.txt for details about the parent node.
18 timers@40010000 {
21 compatible = "st,stm32-timers";
/Linux-v5.4/drivers/leds/
Dleds-netxbig.c416 struct netxbig_led_timer *timers; in netxbig_leds_get_of_pdata() local
447 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
449 if (!timers) in netxbig_leds_get_of_pdata()
455 &timers[i].mode); in netxbig_leds_get_of_pdata()
456 if (timers[i].mode >= NETXBIG_LED_MODE_NUM) in netxbig_leds_get_of_pdata()
460 timers[i].delay_on = tmp; in netxbig_leds_get_of_pdata()
463 timers[i].delay_off = tmp; in netxbig_leds_get_of_pdata()
465 pdata->timer = timers; in netxbig_leds_get_of_pdata()

1234567