Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dgp_timer_defs.h24 #define HIVE_GP_TIMER_VALUE_REG_IDX(timer, timers) (HIVE_GP_TIMER_ENABLE_REG_IDX(time… argument
25 …efine HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer, timers) (HIVE_GP_TIMER_VALUE_REG_IDX(timers argument
26 …e HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timer, timers) (HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer… argument
27 …HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(irq, timers) (HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(time… argument
28 …IVE_GP_TIMER_IRQ_TIMER_SELECT_REG_IDX(irq, timers, irqs) (HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(… argument
29 …e HIVE_GP_TIMER_IRQ_ENABLE_REG_IDX(irq, timers, irqs) (HIVE_GP_TIMER_IRQ_TIMER_SELECT_REG_ID… argument
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.
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
/kernel/linux/linux-5.10/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()
181 timers.tmr_irq = irq_of_parse_and_map(node, 0); in kona_timer_init()
184 timers.tmr_regs = of_iomap(node, 0); in kona_timer_init()
186 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()
Dingenic-timer.c47 struct ingenic_tcu_timer timers[]; member
70 return container_of(timer, struct ingenic_tcu, timers[timer->cpu]); in to_ingenic_tcu()
144 struct ingenic_tcu_timer *timer = &tcu->timers[cpu]; in ingenic_tcu_setup_cevt()
289 tcu = kzalloc(struct_size(tcu, timers, num_possible_cpus()), in ingenic_tcu_init()
317 timer = &tcu->timers[cpu]; in ingenic_tcu_init()
379 clk_disable(tcu->timers[cpu].clk); in ingenic_tcu_suspend()
391 ret = clk_enable(tcu->timers[cpu].clk); in ingenic_tcu_resume()
404 clk_disable(tcu->timers[cpu - 1].clk); in ingenic_tcu_resume()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ddra7-ipu-dsp-common.dtsi25 ti,timers = <&timer3>;
26 ti,watchdog-timers = <&timer4>, <&timer9>;
31 ti,timers = <&timer11>;
32 ti,watchdog-timers = <&timer7>, <&timer8>;
37 ti,timers = <&timer5>;
38 ti,watchdog-timers = <&timer10>;
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 …]
Ddra74-ipu-dsp-common.dtsi16 ti,timers = <&timer6>;
17 ti,watchdog-timers = <&timer13>;
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/remoteproc/
Domap_remoteproc.c110 struct omap_rproc_timer *timers; member
276 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_watchdog_isr() local
282 if (timers[i].irq > 0 && irq == timers[i].irq) { in omap_rproc_watchdog_isr()
283 wd_timer = &timers[i]; in omap_rproc_watchdog_isr()
320 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_enable_timers() local
372 timers[i].irq = -1; in omap_rproc_enable_timers()
373 timers[i].timer_ops = timer_ops; in omap_rproc_enable_timers()
374 ret = omap_rproc_request_timer(dev, np, &timers[i]); in omap_rproc_enable_timers()
383 timers[i].irq = omap_rproc_get_timer_irq(&timers[i]); in omap_rproc_enable_timers()
384 if (timers[i].irq < 0) { in omap_rproc_enable_timers()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/
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>;
/kernel/linux/linux-5.10/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 title
15 timers-howto
/kernel/linux/linux-5.10/include/kvm/
Darm_arch_timer.h54 struct arch_timer_context timers[NR_KVM_TIMERS]; member
91 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)])
92 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER])
93 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER])
95 #define arch_timer_ctx_index(ctx) ((ctx) - vcpu_timer((ctx)->vcpu)->timers)
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-5.10/drivers/leds/
Dleds-netxbig.c428 struct netxbig_led_timer *timers; in netxbig_leds_get_of_pdata() local
469 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
471 if (!timers) { in netxbig_leds_get_of_pdata()
479 &timers[i].mode); in netxbig_leds_get_of_pdata()
480 if (timers[i].mode >= NETXBIG_LED_MODE_NUM) { in netxbig_leds_get_of_pdata()
486 timers[i].delay_on = tmp; in netxbig_leds_get_of_pdata()
489 timers[i].delay_off = tmp; in netxbig_leds_get_of_pdata()
491 pdata->timer = timers; in netxbig_leds_get_of_pdata()
/kernel/linux/linux-5.10/kernel/time/
DMakefile7 obj-y += posix-timers.o posix-cpu-timers.o posix-clock.o itimer.o

12345678