Home
last modified time | relevance | path

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

12345678910

/linux-6.15/drivers/staging/media/atomisp/pci/
H A Dgp_timer_defs.h15 #define HIVE_GP_TIMER_VALUE_REG_IDX(timer, timers) (HIVE_GP_TIMER_ENABLE_REG_IDX(time… argument
16 …efine HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer, timers) (HIVE_GP_TIMER_VALUE_REG_IDX(timers argument
17 …e HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timer, timers) (HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer… argument
18 …HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(irq, timers) (HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(time… argument
19 …IVE_GP_TIMER_IRQ_TIMER_SELECT_REG_IDX(irq, timers, irqs) (HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(… argument
20 …e HIVE_GP_TIMER_IRQ_ENABLE_REG_IDX(irq, timers, irqs) (HIVE_GP_TIMER_IRQ_TIMER_SELECT_REG_ID… argument
/linux-6.15/arch/powerpc/sysdev/
H 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-6.15/fs/bcachefs/
H A Dclock.c32 for (size_t i = 0; i < clock->timers.nr; i++) in bch2_io_timer_add()
33 if (clock->timers.data[i] == timer) in bch2_io_timer_add()
45 for (size_t i = 0; i < clock->timers.nr; i++) in bch2_io_timer_del()
46 if (clock->timers.data[i] == timer) { in bch2_io_timer_del()
133 if (clock->timers.nr && in get_expired_timer()
135 ret = *min_heap_peek(&clock->timers); in get_expired_timer()
162 for (unsigned i = 0; i < clock->timers.nr; i++) in bch2_io_timers_to_text()
164 clock->timers.data[i]->fn, in bch2_io_timers_to_text()
165 clock->timers.data[i]->fn2, in bch2_io_timers_to_text()
166 clock->timers.data[i]->expire); in bch2_io_timers_to_text()
[all …]
/linux-6.15/drivers/clocksource/
H 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 …]
H 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()
H 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-6.15/arch/arm/boot/dts/ti/omap/
H 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-6.15/drivers/remoteproc/
H A Domap_remoteproc.c281 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_watchdog_isr() local
287 if (timers[i].irq > 0 && irq == timers[i].irq) { in omap_rproc_watchdog_isr()
325 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_enable_timers() local
377 timers[i].irq = -1; in omap_rproc_enable_timers()
388 timers[i].irq = omap_rproc_get_timer_irq(&timers[i]); in omap_rproc_enable_timers()
405 timers[i].irq = -1; in omap_rproc_enable_timers()
437 timers[i].odt = NULL; in omap_rproc_enable_timers()
439 timers[i].irq = -1; in omap_rproc_enable_timers()
461 struct omap_rproc_timer *timers = oproc->timers; in omap_rproc_disable_timers() local
475 timers[i].irq = -1; in omap_rproc_disable_timers()
[all …]
/linux-6.15/Documentation/sound/
H 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-6.15/arch/arm/boot/dts/st/
H 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 …]
H 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-6.15/include/kvm/
H A Darm_arch_timer.h88 struct arch_timer_context timers[NR_KVM_TIMERS]; member
124 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)])
125 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER])
126 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER])
127 #define vcpu_hvtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HVTIMER])
128 #define vcpu_hptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HPTIMER])
130 #define arch_timer_ctx_index(ctx) ((ctx) - vcpu_timer((ctx)->vcpu)->timers)
/linux-6.15/Documentation/timers/
H 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 …]
H 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-6.15/Documentation/devicetree/bindings/pwm/
H 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";
H 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";
H A Dti,omap-dmtimer-pwm.yaml25 ti,timers:
49 - ti,timers
57 ti,timers = <&timer9>;
/linux-6.15/Documentation/devicetree/bindings/remoteproc/
H 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-6.15/Documentation/devicetree/bindings/mips/brcm/
H 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-6.15/Documentation/devicetree/bindings/mfd/
H 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
25 - st,stm32-timers
26 - st,stm32mp25-timers
166 compatible = "st,stm32-timers";
/linux-6.15/Documentation/devicetree/bindings/timer/
H 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
59 samsung,local-timers:
64 List of indices of local timers usable from this processor.
80 For MCT block that uses a per-processor interrupt for local timers, such
82 interrupt might be specified, meaning that all local timers use the same
104 samsung,local-timers: false
164 // In this example, the IP contains two local timers, using separate
205 // In this example, the IP contains four local timers, but using
225 // In this example, the IP contains four local timers, but using
/linux-6.15/Documentation/devicetree/bindings/powerpc/fsl/
H 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-6.15/arch/x86/platform/intel-mid/
H 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-6.15/tools/testing/selftests/bpf/progs/
H 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-6.15/drivers/leds/
H A Dleds-netxbig.c427 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()

12345678910