Home
last modified time | relevance | path

Searched refs:timers (Results 1 - 25 of 147) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Dgp_timer_defs.h24 #define HIVE_GP_TIMER_VALUE_REG_IDX(timer, timers) (HIVE_GP_TIMER_ENABLE_REG_IDX(timers) + timer)
25 #define HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer, timers) (HIVE_GP_TIMER_VALUE_REG_IDX(timers, timers) + timer)
26 #define HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timer, timers) (HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timers, timers) + timer)
27 #define HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(irq, timers) (HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timers, timer
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Dgp_timer_defs.h24 #define HIVE_GP_TIMER_VALUE_REG_IDX(timer, timers) (HIVE_GP_TIMER_ENABLE_REG_IDX(timers) + timer)
25 #define HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer, timers) (HIVE_GP_TIMER_VALUE_REG_IDX(timers, timers) + timer)
26 #define HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timer, timers) (HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timers, timers) + timer)
27 #define HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(irq, timers) (HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timers, timer
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A 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()
206 * Properly reset timers: stop, reset, set up prescalers, reference in gtm_set_ref_timer16()
305 int num = tmr - &gtm->timers[ in gtm_stop_timer16()
332 gtm_set_shortcuts(struct device_node *np, struct gtm_timer *timers, struct gtm_timers_regs __iomem *regs) gtm_set_shortcuts() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A 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()
206 * Properly reset timers: stop, reset, set up prescalers, reference in gtm_set_ref_timer16()
305 int num = tmr - &gtm->timers[ in gtm_stop_timer16()
332 gtm_set_shortcuts(struct device_node *np, struct gtm_timer *timers, struct gtm_timers_regs __iomem *regs) gtm_set_shortcuts() argument
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dbcm_kona_timer.c42 static struct kona_bcm_timers timers; variable
47 * We use the peripheral timers for system tick, the cpu global timer for
110 * timer-interrupt->set_next_event. CPU local timers, when in kona_timer_set_next_event()
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 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()
44 pr_crit("%s: no matching timers found\n", __func__); in timer_probe()
H A 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()
340 pr_crit("%s: Unable to start CPU timers: %d\n", __func__, ret); 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-6.6/drivers/clocksource/
H A Dbcm_kona_timer.c32 static struct kona_bcm_timers timers; variable
37 * We use the peripheral timers for system tick, the cpu global timer for
100 * timer-interrupt->set_next_event. CPU local timers, when in kona_timer_set_next_event()
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 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()
44 pr_crit("%s: no matching timers found\n", __func__); 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()
340 pr_crit("%s: Unable to start CPU timers: %d\n", __func__, ret); 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()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Domap_remoteproc.c92 * @num_wd_timers: number of rproc watchdog timers
93 * @timers: timer(s) info used by rproc
110 struct omap_rproc_timer *timers; member
262 * timers associated with a rproc (like IPUs which have 2 watchdog timers,
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[ in omap_rproc_watchdog_isr()
320 struct omap_rproc_timer *timers = oproc->timers; omap_rproc_enable_timers() local
456 struct omap_rproc_timer *timers = oproc->timers; omap_rproc_disable_timers() local
[all...]
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Domap_remoteproc.c93 * @num_wd_timers: number of rproc watchdog timers
94 * @timers: timer(s) info used by rproc
111 struct omap_rproc_timer *timers; member
263 * timers associated with a rproc (like IPUs which have 2 watchdog timers,
277 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()
284 wd_timer = &timers[ in omap_rproc_watchdog_isr()
321 struct omap_rproc_timer *timers = oproc->timers; omap_rproc_enable_timers() local
457 struct omap_rproc_timer *timers = oproc->timers; omap_rproc_disable_timers() local
[all...]
/kernel/linux/linux-5.10/arch/m68k/coldfire/
H A 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-6.6/include/kvm/
H 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)
/kernel/linux/linux-5.10/include/kvm/
H A 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/arch/x86/platform/intel-mid/
H A 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-6.6/arch/x86/platform/intel-mid/
H A Dintel-mid.c52 x86_init.timers.setup_percpu_clockev = setup_boot_APIC_clock; in intel_mid_time_init()
97 x86_init.timers.timer_init = intel_mid_time_init; in x86_intel_mid_early_setup()
98 x86_init.timers.setup_percpu_clockev = x86_init_noop; in x86_intel_mid_early_setup()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-netxbig.c428 struct netxbig_led_timer *timers; in netxbig_leds_get_of_pdata() local
461 ret = of_property_count_u32_elems(np, "timers"); in netxbig_leds_get_of_pdata()
469 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
471 if (!timers) { in netxbig_leds_get_of_pdata()
478 of_property_read_u32_index(np, "timers", 3 * i, 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()
484 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
486 timers[ in netxbig_leds_get_of_pdata()
[all...]
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-netxbig.c428 struct netxbig_led_timer *timers; in netxbig_leds_get_of_pdata() local
461 ret = of_property_count_u32_elems(np, "timers"); in netxbig_leds_get_of_pdata()
469 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
471 if (!timers) { in netxbig_leds_get_of_pdata()
478 of_property_read_u32_index(np, "timers", 3 * i, 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()
484 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
486 timers[ in netxbig_leds_get_of_pdata()
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dsm_sideeffect.c283 if (!mod_timer(&asoc->timers[timeout_type], jiffies + (HZ/20))) in sctp_generate_timeout_event()
311 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T1_COOKIE]); in sctp_generate_t1_cookie_event()
319 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T1_INIT]); in sctp_generate_t1_init_event()
327 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN]); in sctp_generate_t2_shutdown_event()
335 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T4_RTO]); in sctp_generate_t4_rto_event()
344 timers[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD]); in sctp_generate_t5_shutdown_guard_event()
354 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]); in sctp_generate_autoclose_event()
482 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_SACK]); in sctp_generate_sack_event()
682 /* Helper function to break out starting up of heartbeat timers. */
701 /* Stop all heartbeat timers in sctp_cmd_hb_timers_stop()
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dsm_sideeffect.c283 if (!mod_timer(&asoc->timers[timeout_type], jiffies + (HZ/20))) in sctp_generate_timeout_event()
311 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T1_COOKIE]); in sctp_generate_t1_cookie_event()
319 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T1_INIT]); in sctp_generate_t1_init_event()
327 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN]); in sctp_generate_t2_shutdown_event()
335 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T4_RTO]); in sctp_generate_t4_rto_event()
344 timers[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD]); in sctp_generate_t5_shutdown_guard_event()
354 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]); in sctp_generate_autoclose_event()
514 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_SACK]); in sctp_generate_sack_event()
714 /* Helper function to break out starting up of heartbeat timers. */
733 /* Stop all heartbeat timers in sctp_cmd_hb_timers_stop()
[all...]
/kernel/linux/linux-5.10/arch/m68k/68000/
H A DMakefile13 obj-y += entry.o ints.o timers.o
/kernel/linux/linux-5.10/drivers/misc/
H A Dcs5535-mfgpt.c24 MODULE_PARM_DESC(mfgptfix, "Try to reset the MFGPT timers during init; "
27 "2 = perform a soft reset by unconfiguring all timers); "
62 * XXX: According to the docs, we cannot reset timers above in cs5535_mfgpt_toggle_event()
155 /* only allocate timers from the working domain if requested */ in cs5535_mfgpt_alloc_timer()
173 /* set timer_nr to -1 if no timers available */ in cs5535_mfgpt_alloc_timer()
242 * This is a sledgehammer that resets all MFGPT timers. This is required by
245 * whether or not this secret MSR can be used to release individual timers.
253 /* The following undocumented bit resets the MFGPT timers */ in reset_all_timers()
259 * This is another sledgehammer to reset all MFGPT timers.
282 * cases, firmware that uses AMD's VSA code will claim all timers durin
291 int timers = 0; scan_timers() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/
H A Dcs5535-mfgpt.c24 MODULE_PARM_DESC(mfgptfix, "Try to reset the MFGPT timers during init; "
27 "2 = perform a soft reset by unconfiguring all timers); "
62 * XXX: According to the docs, we cannot reset timers above in cs5535_mfgpt_toggle_event()
155 /* only allocate timers from the working domain if requested */ in cs5535_mfgpt_alloc_timer()
173 /* set timer_nr to -1 if no timers available */ in cs5535_mfgpt_alloc_timer()
242 * This is a sledgehammer that resets all MFGPT timers. This is required by
245 * whether or not this secret MSR can be used to release individual timers.
253 /* The following undocumented bit resets the MFGPT timers */ in reset_all_timers()
259 * This is another sledgehammer to reset all MFGPT timers.
282 * cases, firmware that uses AMD's VSA code will claim all timers durin
291 int timers = 0; scan_timers() local
[all...]

Completed in 13 milliseconds

123456