| /linux/arch/powerpc/sysdev/ |
| H A D | fsl_gtm.c | 72 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 >m->timers[i]; in gtm_get_timer16() 132 if (gtm->timers[timer].requested) in gtm_get_specific_timer16() 135 ret = >m->timers[timer]; in gtm_get_specific_timer16() 169 int num = tmr - >m->timers[0]; in gtm_set_ref_timer16() 305 int num = tmr - >m->timers[0]; in gtm_stop_timer16() 333 struct gtm_timer *timers, in gtm_set_shortcuts() argument [all …]
|
| /linux/drivers/clocksource/ |
| H A D | bcm_kona_timer.c | 32 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 D | timer-probe.c | 21 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 D | ingenic-timer.c | 46 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/drivers/remoteproc/ |
| H A D | omap_remoteproc.c | 115 struct omap_rproc_timer *timers; member 281 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() 288 wd_timer = &timers[i]; 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() 378 timers[i].timer_ops = timer_ops; in omap_rproc_enable_timers() 379 ret = omap_rproc_request_timer(dev, np, &timers[i]); in omap_rproc_enable_timers() 388 timers[i].irq = omap_rproc_get_timer_irq(&timers[i]); in omap_rproc_enable_timers() 389 if (timers[i].irq < 0) { in omap_rproc_enable_timers() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | dra7-ipu-dsp-common.dtsi | 25 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>;
|
| H A D | dra74-ipu-dsp-common.dtsi | 16 ti,timers = <&timer6>; 17 ti,watchdog-timers = <&timer13>;
|
| H A D | omap5-uevm.dts | 225 ti,timers = <&timer5>; 226 ti,watchdog-timers = <&timer6>; 232 ti,timers = <&timer3>; 233 ti,watchdog-timers = <&timer9>, <&timer11>;
|
| H A D | motorola-mapphone-handset.dtsi | 42 ti,timers = <&timer8>; 52 ti,timers = <&timer9>; 194 /* Configure pwm clock source for timers 8 & 9 */
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32f746.dtsi | 79 timers2: timers@40000000 { 82 compatible = "st,stm32-timers"; 101 timers3: timers@40000400 { 104 compatible = "st,stm32-timers"; 123 timers4: timers@40000800 { 126 compatible = "st,stm32-timers"; 145 timers5: timers@40000c00 { 148 compatible = "st,stm32-timers"; 167 timers6: timers@40001000 { 170 compatible = "st,stm32-timers"; [all …]
|
| H A D | stm32f429.dtsi | 96 timers2: timers@40000000 { 99 compatible = "st,stm32-timers"; 118 timers3: timers@40000400 { 121 compatible = "st,stm32-timers"; 140 timers4: timers@40000800 { 143 compatible = "st,stm32-timers"; 162 timers5: timers@40000c00 { 165 compatible = "st,stm32-timers"; 184 timers6: timers@40001000 { 187 compatible = "st,stm32-timers"; [all …]
|
| H A D | stm32mp131.dtsi | 144 compatible = "st,stm32-timers"; 179 compatible = "st,stm32-timers"; 215 compatible = "st,stm32-timers"; 249 compatible = "st,stm32-timers"; 285 compatible = "st,stm32-timers"; 310 compatible = "st,stm32-timers"; 533 compatible = "st,stm32-timers"; 574 compatible = "st,stm32-timers"; 1254 compatible = "st,stm32-timers"; 1284 compatible = "st,stm32-timers"; [all …]
|
| /linux/Documentation/sound/ |
| H A D | utimers.rst | 4 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 99 Userspace-driven timers could be easily used with ``snd-aloop`` module [all …]
|
| /linux/Documentation/timers/ |
| H A D | hrtimers.rst | 2 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 …]
|
| H A D | hpet.rst | 12 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
|
| H A D | highres.rst | 2 High resolution timers and dynamic ticks design notes 34 the base implementation are covered in Documentation/timers/hrtimers.rst. See 38 timers are: 82 functionality like high resolution timers or dynamic ticks. 102 accounting, profiling, and high resolution timers. 134 enabling of high resolution timers and dynamic ticks is simply provided by 156 configured for high resolution timers can run on a system which lacks the 167 The time ordered insertion of timers provides all the infrastructure to decide 175 from the clock event distribution code and moves expired timers from the 202 timers. The execution of this softirq can still be delayed by other softirqs,
|
| /linux/include/kvm/ |
| H A D | arm_arch_timer.h | 89 struct arch_timer_context timers[NR_KVM_TIMERS]; member 122 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)]) 123 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER]) 124 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER]) 125 #define vcpu_hvtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HVTIMER]) 126 #define vcpu_hptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HPTIMER]) 129 #define timer_context_to_vcpu(ctx) container_of((ctx), struct kvm_vcpu, arch.timer_cpu.timers[(ctx)…
|
| /linux/Documentation/devicetree/bindings/mips/brcm/ |
| H A D | soc.txt | 148 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/powerpc/fsl/ |
| H A D | mpic-timer.txt | 1 * 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/arch/x86/platform/intel-mid/ |
| H A D | intel-mid.c | 54 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/ |
| H A D | test_helper_restricted.c | 19 } 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/kernel/time/ |
| H A D | Makefile | 13 obj-y += posix-timers.o posix-cpu-timers.o posix-clock.o itimer.o
|
| /linux/net/sctp/ |
| H A D | sm_sideeffect.c | 283 if (!mod_timer(&asoc->timers[timeout_type], jiffies + (HZ/20))) in sctp_generate_timeout_event() 312 timers[SCTP_EVENT_TIMEOUT_T1_COOKIE]); in sctp_generate_t1_cookie_event() 321 timers[SCTP_EVENT_TIMEOUT_T1_INIT]); in sctp_generate_t1_init_event() 330 timers[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN]); in sctp_generate_t2_shutdown_event() 338 timer_container_of(asoc, t, timers[SCTP_EVENT_TIMEOUT_T4_RTO]); in sctp_generate_t4_rto_event() 347 timers[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD]); in sctp_generate_t5_shutdown_guard_event() 358 timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]); in sctp_generate_autoclose_event() 520 timer_container_of(asoc, t, timers[SCTP_EVENT_TIMEOUT_SACK]); in sctp_generate_sack_event() 1533 timer = &asoc->timers[cmd->obj.to]; in sctp_cmd_interpreter() 1540 timer = &asoc->timers[cmd->obj.to]; in sctp_cmd_interpreter() [all …]
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-netxbig.txt | 9 - timers: Timer array. Each timer entry is represented by three integers: 32 timers = <NETXBIG_LED_TIMER1 500 500
|
| /linux/arch/m68k/68000/ |
| H A D | Makefile | 13 obj-y += entry.o ints.o timers.o m68328.o
|