Home
last modified time | relevance | path

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

123456789

/linux/drivers/staging/media/atomisp/pci/
A 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
/linux/arch/powerpc/sysdev/
A Dfsl_gtm.c72 struct gtm_timer timers[4]; member
96 if (!gtm->timers[i].requested) { 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()
342 timers[0].gtcfr = &regs->gtcfr1; in gtm_set_shortcuts()
343 timers[0].gtmdr = &regs->gtmdr1; in gtm_set_shortcuts()
410 gtm->timers[i].irq = irq; in fsl_gtm_init()
[all …]
/linux/drivers/clocksource/
A Dbcm_kona_timer.c32 static struct kona_bcm_timers timers; variable
108 ret = kona_timer_get_counter(timers.tmr_regs, &msw, &lsw); in kona_timer_set_next_event()
113 writel(lsw + clc, timers.tmr_regs + KONA_GPTIMER_STCM0_OFFSET); in kona_timer_set_next_event()
116 reg = readl(timers.tmr_regs + KONA_GPTIMER_STCS_OFFSET); in kona_timer_set_next_event()
118 writel(reg, timers.tmr_regs + KONA_GPTIMER_STCS_OFFSET); in kona_timer_set_next_event()
125 kona_timer_disable_and_clear(timers.tmr_regs); in kona_timer_shutdown()
148 kona_timer_disable_and_clear(timers.tmr_regs); in kona_timer_interrupt()
171 timers.tmr_irq = irq_of_parse_and_map(node, 0); in kona_timer_init()
174 timers.tmr_regs = of_iomap(node, 0); in kona_timer_init()
176 kona_timer_disable_and_clear(timers.tmr_regs); in kona_timer_init()
[all …]
A 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()
A Dingenic-timer.c46 struct ingenic_tcu_timer timers[]; member
69 return container_of(timer, struct ingenic_tcu, timers[timer->cpu]); in to_ingenic_tcu()
143 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()
380 clk_disable(tcu->timers[cpu].clk); in ingenic_tcu_suspend()
392 ret = clk_enable(tcu->timers[cpu].clk); in ingenic_tcu_resume()
405 clk_disable(tcu->timers[cpu - 1].clk); in ingenic_tcu_resume()
/linux/fs/bcachefs/
A Dclock.c40 for (size_t i = 0; i < clock->timers.nr; i++) in bch2_io_timer_add()
41 if (clock->timers.data[i] == timer) in bch2_io_timer_add()
58 for (size_t i = 0; i < clock->timers.nr; i++) in bch2_io_timer_del()
59 if (clock->timers.data[i] == timer) { in bch2_io_timer_del()
150 if (clock->timers.nr && in get_expired_timer()
152 ret = *min_heap_peek(&clock->timers); in get_expired_timer()
179 for (unsigned i = 0; i < clock->timers.nr; i++) in bch2_io_timers_to_text()
181 clock->timers.data[i]->fn, in bch2_io_timers_to_text()
182 clock->timers.data[i]->fn2, in bch2_io_timers_to_text()
183 clock->timers.data[i]->expire); in bch2_io_timers_to_text()
[all …]
/linux/arch/arm/boot/dts/ti/omap/
A 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>;
/linux/drivers/remoteproc/
A Domap_remoteproc.c277 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_watchdog_isr() local
283 if (timers[i].irq > 0 && irq == timers[i].irq) { in omap_rproc_watchdog_isr()
321 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_enable_timers() local
373 timers[i].irq = -1; in omap_rproc_enable_timers()
384 timers[i].irq = omap_rproc_get_timer_irq(&timers[i]); in omap_rproc_enable_timers()
401 timers[i].irq = -1; in omap_rproc_enable_timers()
433 timers[i].odt = NULL; in omap_rproc_enable_timers()
435 timers[i].irq = -1; in omap_rproc_enable_timers()
457 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_disable_timers() local
471 timers[i].irq = -1; in omap_rproc_disable_timers()
[all …]
/linux/include/kvm/
A Darm_arch_timer.h88 struct arch_timer_context timers[NR_KVM_TIMERS]; member
123 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)])
124 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER])
125 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER])
126 #define vcpu_hvtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HVTIMER])
127 #define vcpu_hptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HPTIMER])
129 #define arch_timer_ctx_index(ctx) ((ctx) - vcpu_timer((ctx)->vcpu)->timers)
/linux/Documentation/sound/
A Dutimers.rst4 Userspace-driven timers
12 This document describes the userspace-driven timers: virtual ALSA timers
14 IOCTL calls. Such timers could be useful when synchronizing audio
15 stream with timer sources which we don't have ALSA timers exported for
21 Enabling userspace-driven timers
24 The userspace-driven timers could be enabled in the kernel using the
28 Userspace-driven timers API
51 applications. There could be up to 128 userspace-driven timers in the
96 Userspace-driven timers and snd-aloop
107 timers could be used to achieve this.
[all …]
/linux/arch/arm/boot/dts/st/
A Dstm32f746.dtsi78 timers2: timers@40000000 {
100 timers3: timers@40000400 {
122 timers4: timers@40000800 {
144 timers5: timers@40000c00 {
166 timers6: timers@40001000 {
182 timers7: timers@40001400 {
198 timers12: timers@40001800 {
220 timers13: timers@40001c00 {
234 timers14: timers@40002000 {
415 timers1: timers@40010000 {
[all …]
A Dstm32f429.dtsi96 timers2: timers@40000000 {
118 timers3: timers@40000400 {
140 timers4: timers@40000800 {
162 timers5: timers@40000c00 {
184 timers6: timers@40001000 {
200 timers7: timers@40001400 {
216 timers12: timers@40001800 {
238 timers13: timers@40001c00 {
252 timers14: timers@40002000 {
436 timers1: timers@40010000 {
[all …]
/linux/Documentation/timers/
A 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
20 mess. The timers.c code is very "tightly coded" around jiffies and
27 high-res timers.
38 the required readjusting of absolute CLOCK_REALTIME timers at
41 timers.
97 queued timers, without having to walk the rbtree.
107 CLOCK_REALTIME timers along with complex locking. In case of
114 of posix-timers simpler in general.
[all …]
A 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
/linux/Documentation/devicetree/bindings/pwm/
A Dpwm-samsung.yaml7 title: Samsung SoC PWM timers
15 and clock event timers, as well as to drive SoC outputs with PWM signal. Each
49 - "timers" - PWM base clock used to generate PWM signals,
58 - const: timers
60 - const: timers
63 - const: timers
66 - const: timers
126 clock-names = "timers";
A Dsnps,dw-apb-timers-pwm2.yaml5 $id: http://devicetree.org/schemas/pwm/snps,dw-apb-timers-pwm2.yaml#
8 title: Synopsys DW-APB timers PWM controller
14 This describes the DesignWare APB timers module when used in the PWM
28 const: snps,dw-apb-timers-pwm2
62 compatible = "snps,dw-apb-timers-pwm2";
A Dti,omap-dmtimer-pwm.yaml25 ti,timers:
49 - ti,timers
57 ti,timers = <&timer9>;
/linux/Documentation/devicetree/bindings/remoteproc/
A Dti,omap-remoteproc.yaml37 'timers', 'watchdog-timers' etc.
142 ti,timers:
152 to reserve specific timers to be dedicated to the
158 timers used in the firmware image.
160 ti,watchdog-timers:
171 timers used in the firmware image.
248 ti,timers = <&timer5>;
249 ti,watchdog-timers = <&timer6>;
285 ti,timers = <&timer3>, <&timer4>;
325 ti,timers = <&timer5>;
[all …]
/linux/Documentation/devicetree/bindings/mips/brcm/
A 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/Documentation/devicetree/bindings/timer/
A Dsamsung,exynos4210-mct.yaml14 global timer and CPU local timers. The global timer is a 64-bit free running
16 four preset counter values. The CPU local timers are 32-bit free running
56 samsung,local-timers:
61 List of indices of local timers usable from this processor.
77 For MCT block that uses a per-processor interrupt for local timers, such
79 interrupt might be specified, meaning that all local timers use the same
101 samsung,local-timers: false
158 // In this example, the IP contains two local timers, using separate
199 // In this example, the IP contains four local timers, but using
219 // In this example, the IP contains four local timers, but using
/linux/Documentation/devicetree/bindings/powerpc/fsl/
A 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/Documentation/devicetree/bindings/mfd/
A Dst,stm32-timers.yaml4 $id: http://devicetree.org/schemas/mfd/st,stm32-timers.yaml#
11 - advanced-control timers consist of a 16-bit auto-reload counter driven
14 - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter
16 - basic timers consist of a 16-bit auto-reload counter driven by a
24 const: st,stm32-timers
156 compatible = "st,stm32-timers";
/linux/arch/x86/platform/intel-mid/
A Dintel-mid.c54 x86_init.timers.setup_percpu_clockev = setup_boot_APIC_clock; in intel_mid_time_init()
98 x86_init.timers.timer_init = intel_mid_time_init; in x86_intel_mid_early_setup()
99 x86_init.timers.setup_percpu_clockev = x86_init_noop; in x86_intel_mid_early_setup()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_helper_restricted.c19 } timers SEC(".maps");
38 timer = bpf_map_lookup_elem(&timers, &key); in timer_work()
40 bpf_timer_init(&timer->t, &timers, CLOCK_MONOTONIC); in timer_work()
/linux/drivers/leds/
A Dleds-netxbig.c427 struct netxbig_led_timer *timers; in netxbig_leds_get_of_pdata() local
468 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
470 if (!timers) { in netxbig_leds_get_of_pdata()
478 &timers[i].mode); in netxbig_leds_get_of_pdata()
479 if (timers[i].mode >= NETXBIG_LED_MODE_NUM) { in netxbig_leds_get_of_pdata()
485 timers[i].delay_on = tmp; in netxbig_leds_get_of_pdata()
488 timers[i].delay_off = tmp; in netxbig_leds_get_of_pdata()
490 pdata->timer = timers; in netxbig_leds_get_of_pdata()

Completed in 34 milliseconds

123456789