Home
last modified time | relevance | path

Searched defs:timer (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/linux-6.6.21/drivers/clocksource/
Dtimer-ti-dm.c167 static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg) in dmtimer_read()
192 static inline void dmtimer_write(struct dmtimer *timer, u32 reg, u32 val) in dmtimer_write()
207 static inline void __omap_dm_timer_init_regs(struct dmtimer *timer) in __omap_dm_timer_init_regs()
242 static inline void __omap_dm_timer_enable_posted(struct dmtimer *timer) in __omap_dm_timer_enable_posted()
258 static inline void __omap_dm_timer_stop(struct dmtimer *timer) in __omap_dm_timer_stop()
281 static inline void __omap_dm_timer_int_enable(struct dmtimer *timer, in __omap_dm_timer_int_enable()
289 __omap_dm_timer_read_counter(struct dmtimer *timer) in __omap_dm_timer_read_counter()
294 static inline void __omap_dm_timer_write_status(struct dmtimer *timer, in __omap_dm_timer_write_status()
300 static void omap_timer_restore_context(struct dmtimer *timer) in omap_timer_restore_context()
313 static void omap_timer_save_context(struct dmtimer *timer) in omap_timer_save_context()
[all …]
Dtimer-microchip-pit64b.c70 struct mchp_pit64b_timer timer; member
84 struct mchp_pit64b_timer timer; member
119 static inline void mchp_pit64b_reset(struct mchp_pit64b_timer *timer, in mchp_pit64b_reset()
135 static void mchp_pit64b_suspend(struct mchp_pit64b_timer *timer) in mchp_pit64b_suspend()
143 static void mchp_pit64b_resume(struct mchp_pit64b_timer *timer) in mchp_pit64b_resume()
152 struct mchp_pit64b_timer *timer = clksrc_to_mchp_pit64b_timer(cs); in mchp_pit64b_clksrc_suspend() local
159 struct mchp_pit64b_timer *timer = clksrc_to_mchp_pit64b_timer(cs); in mchp_pit64b_clksrc_resume() local
182 struct mchp_pit64b_timer *timer = clkevt_to_mchp_pit64b_timer(cedev); in mchp_pit64b_clkevt_shutdown() local
192 struct mchp_pit64b_timer *timer = clkevt_to_mchp_pit64b_timer(cedev); in mchp_pit64b_clkevt_set_periodic() local
205 struct mchp_pit64b_timer *timer = clkevt_to_mchp_pit64b_timer(cedev); in mchp_pit64b_clkevt_set_oneshot() local
[all …]
Dtimer-rockchip.c44 struct rk_timer timer; member
55 static inline void rk_timer_disable(struct rk_timer *timer) in rk_timer_disable()
60 static inline void rk_timer_enable(struct rk_timer *timer, u32 flags) in rk_timer_enable()
66 struct rk_timer *timer) in rk_timer_update_counter()
72 static void rk_timer_interrupt_clear(struct rk_timer *timer) in rk_timer_interrupt_clear()
80 struct rk_timer *timer = rk_timer(ce); in rk_timer_set_next_event() local
91 struct rk_timer *timer = rk_timer(ce); in rk_timer_shutdown() local
99 struct rk_timer *timer = rk_timer(ce); in rk_timer_set_periodic() local
110 struct rk_timer *timer = rk_timer(ce); in rk_timer_interrupt() local
128 rk_timer_probe(struct rk_timer *timer, struct device_node *np) in rk_timer_probe()
[all …]
Ddw_apb_timer.c49 static inline u32 apbt_readl(struct dw_apb_timer *timer, unsigned long offs) in apbt_readl()
54 static inline void apbt_writel(struct dw_apb_timer *timer, u32 val, in apbt_writel()
60 static inline u32 apbt_readl_relaxed(struct dw_apb_timer *timer, unsigned long offs) in apbt_readl_relaxed()
65 static inline void apbt_writel_relaxed(struct dw_apb_timer *timer, u32 val, in apbt_writel_relaxed()
71 static void apbt_disable_int(struct dw_apb_timer *timer) in apbt_disable_int()
90 static void apbt_eoi(struct dw_apb_timer *timer) in apbt_eoi()
112 static void apbt_enable_int(struct dw_apb_timer *timer) in apbt_enable_int()
Dtimer-cadence-ttc.c110 static void ttc_set_interval(struct ttc_timer *timer, in ttc_set_interval()
142 struct ttc_timer *timer = &ttce->ttc; in ttc_clock_event_interrupt() local
159 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read() local
182 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event() local
196 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown() local
208 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic() local
218 struct ttc_timer *timer = &ttce->ttc; in ttc_resume() local
478 struct device_node *timer = pdev->dev.of_node; in ttc_timer_probe() local
/linux-6.6.21/include/linux/
Dhrtimer.h137 struct hrtimer timer; member
242 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires()
248 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
254 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns()
260 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
266 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
272 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
278 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
283 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) in hrtimer_get_softexpires()
288 static inline s64 hrtimer_get_expires_tv64(const struct hrtimer *timer) in hrtimer_get_expires_tv64()
[all …]
Dtimer.h101 static inline void init_timer_on_stack_key(struct timer_list *timer, in init_timer_on_stack_key()
141 #define timer_setup(timer, callback, flags) \ argument
144 #define timer_setup_on_stack(timer, callback, flags) \ argument
150 static inline void destroy_timer_on_stack(struct timer_list *timer) { } in destroy_timer_on_stack()
166 static inline int timer_pending(const struct timer_list * timer) in timer_pending()
198 static inline int del_timer_sync(struct timer_list *timer) in del_timer_sync()
211 static inline int del_timer(struct timer_list *timer) in del_timer()
/linux-6.6.21/drivers/rtc/
Drtc-brcmstb-waketimer.c49 static inline bool brcmstb_waketmr_is_pending(struct brcmstb_waketmr *timer) in brcmstb_waketmr_is_pending()
57 static inline void brcmstb_waketmr_clear_alarm(struct brcmstb_waketmr *timer) in brcmstb_waketmr_clear_alarm()
75 static void brcmstb_waketmr_set_alarm(struct brcmstb_waketmr *timer, in brcmstb_waketmr_set_alarm()
98 struct brcmstb_waketmr *timer = data; in brcmstb_waketmr_irq() local
107 struct brcmstb_waketmr *timer = data; in brcmstb_alarm_irq() local
135 static void wktmr_read(struct brcmstb_waketmr *timer, in wktmr_read()
148 static int brcmstb_waketmr_prepare_suspend(struct brcmstb_waketmr *timer) in brcmstb_waketmr_prepare_suspend()
176 struct brcmstb_waketmr *timer; in brcmstb_waketmr_reboot() local
190 struct brcmstb_waketmr *timer = dev_get_drvdata(dev); in brcmstb_waketmr_gettime() local
203 struct brcmstb_waketmr *timer = dev_get_drvdata(dev); in brcmstb_waketmr_settime() local
[all …]
/linux-6.6.21/arch/s390/kernel/
Dvtime.c38 u64 timer; in get_vtimer() local
46 u64 timer; in set_vtimer() local
127 u64 timer, clock, user, guest, system, hardirq, softirq; in do_account_vtime() local
224 u64 timer = S390_lowcore.last_update_timer; in vtime_delta() local
270 static void list_add_sorted(struct vtimer_list *timer, struct list_head *head) in list_add_sorted()
288 struct vtimer_list *timer, *tmp; in virt_timer_expire() local
325 void init_virt_timer(struct vtimer_list *timer) in init_virt_timer()
332 static inline int vtimer_pending(struct vtimer_list *timer) in vtimer_pending()
337 static void internal_add_vtimer(struct vtimer_list *timer) in internal_add_vtimer()
356 static void __add_vtimer(struct vtimer_list *timer, int periodic) in __add_vtimer()
[all …]
/linux-6.6.21/kernel/time/
Dtimer.c501 static inline unsigned int timer_get_idx(struct timer_list *timer) in timer_get_idx()
506 static inline void timer_set_idx(struct timer_list *timer, unsigned int idx) in timer_set_idx()
572 trigger_dyntick_cpu(struct timer_base *base, struct timer_list *timer) in trigger_dyntick_cpu()
601 static void enqueue_timer(struct timer_base *base, struct timer_list *timer, in enqueue_timer()
628 static void internal_add_timer(struct timer_base *base, struct timer_list *timer) in internal_add_timer()
662 struct timer_list *timer = addr; in timer_debug_hint() local
678 struct timer_list *timer = addr; in timer_is_static_object() local
690 struct timer_list *timer = addr; in timer_fixup_init() local
715 struct timer_list *timer = addr; in timer_fixup_activate() local
736 struct timer_list *timer = addr; in timer_fixup_free() local
[all …]
Dhrtimer.c165 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
194 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target()
226 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
283 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
360 struct hrtimer *timer = addr; in hrtimer_fixup_init() local
394 struct hrtimer *timer = addr; in hrtimer_fixup_free() local
414 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
419 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
425 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
433 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack()
[all …]
/linux-6.6.21/sound/isa/gus/
Dgus_timer.c17 static int snd_gf1_timer1_start(struct snd_timer * timer) in snd_gf1_timer1_start()
35 static int snd_gf1_timer1_stop(struct snd_timer * timer) in snd_gf1_timer1_stop()
53 static int snd_gf1_timer2_start(struct snd_timer * timer) in snd_gf1_timer2_start()
71 static int snd_gf1_timer2_stop(struct snd_timer * timer) in snd_gf1_timer2_stop()
91 struct snd_timer *timer = gus->gf1.timer1; in snd_gf1_interrupt_timer1() local
100 struct snd_timer *timer = gus->gf1.timer2; in snd_gf1_interrupt_timer2() local
129 static void snd_gf1_timer1_free(struct snd_timer *timer) in snd_gf1_timer1_free()
135 static void snd_gf1_timer2_free(struct snd_timer *timer) in snd_gf1_timer2_free()
143 struct snd_timer *timer; in snd_gf1_timers_init() local
/linux-6.6.21/arch/nios2/kernel/
Dtime.c42 struct nios2_timer timer; member
47 struct nios2_timer timer; member
63 static u16 timer_readw(struct nios2_timer *timer, u32 offs) in timer_readw()
68 static void timer_writew(struct nios2_timer *timer, u16 val, u32 offs) in timer_writew()
73 static inline unsigned long read_timersnapshot(struct nios2_timer *timer) in read_timersnapshot()
117 static void nios2_timer_start(struct nios2_timer *timer) in nios2_timer_start()
126 static void nios2_timer_stop(struct nios2_timer *timer) in nios2_timer_stop()
135 static void nios2_timer_config(struct nios2_timer *timer, unsigned long period, in nios2_timer_config()
174 struct nios2_timer *timer = &nios2_ced->timer; in nios2_timer_shutdown() local
184 struct nios2_timer *timer = &nios2_ced->timer; in nios2_timer_set_periodic() local
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/include/aarch64/
Darch_timer.h34 static inline uint64_t timer_get_cntct(enum arch_timer timer) in timer_get_cntct()
51 static inline void timer_set_cval(enum arch_timer timer, uint64_t cval) in timer_set_cval()
67 static inline uint64_t timer_get_cval(enum arch_timer timer) in timer_get_cval()
82 static inline void timer_set_tval(enum arch_timer timer, uint32_t tval) in timer_set_tval()
98 static inline void timer_set_ctl(enum arch_timer timer, uint32_t ctl) in timer_set_ctl()
114 static inline uint32_t timer_get_ctl(enum arch_timer timer) in timer_get_ctl()
129 static inline void timer_set_next_cval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_cval_ms()
137 static inline void timer_set_next_tval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_tval_ms()
/linux-6.6.21/sound/core/seq/oss/
Dseq_oss_timer.c116 calc_alsa_tempo(struct seq_oss_timer *timer) in calc_alsa_tempo()
147 snd_seq_oss_timer_start(struct seq_oss_timer *timer) in snd_seq_oss_timer_start()
172 snd_seq_oss_timer_stop(struct seq_oss_timer *timer) in snd_seq_oss_timer_stop()
186 snd_seq_oss_timer_continue(struct seq_oss_timer *timer) in snd_seq_oss_timer_continue()
200 snd_seq_oss_timer_tempo(struct seq_oss_timer *timer, int value) in snd_seq_oss_timer_tempo()
218 snd_seq_oss_timer_ioctl(struct seq_oss_timer *timer, unsigned int cmd, int __user *arg) in snd_seq_oss_timer_ioctl()
/linux-6.6.21/sound/pci/emu10k1/
Dtimer.c14 static int snd_emu10k1_timer_start(struct snd_timer *timer) in snd_emu10k1_timer_start()
28 static int snd_emu10k1_timer_stop(struct snd_timer *timer) in snd_emu10k1_timer_stop()
37 static unsigned long snd_emu10k1_timer_c_resolution(struct snd_timer *timer) in snd_emu10k1_timer_c_resolution()
48 static int snd_emu10k1_timer_precise_resolution(struct snd_timer *timer, in snd_emu10k1_timer_precise_resolution()
72 struct snd_timer *timer = NULL; in snd_emu10k1_timer() local
/linux-6.6.21/drivers/net/wireguard/
Dtimers.c31 struct timer_list *timer, in mod_peer_timer()
41 static void wg_expired_retransmit_handshake(struct timer_list *timer) in wg_expired_retransmit_handshake()
79 static void wg_expired_send_keepalive(struct timer_list *timer) in wg_expired_send_keepalive()
91 static void wg_expired_new_handshake(struct timer_list *timer) in wg_expired_new_handshake()
105 static void wg_expired_zero_key_material(struct timer_list *timer) in wg_expired_zero_key_material()
135 static void wg_expired_send_persistent_keepalive(struct timer_list *timer) in wg_expired_send_persistent_keepalive()
/linux-6.6.21/sound/core/
Dtimer.c176 struct snd_timer *timer; in snd_timer_find() local
246 struct snd_timer *timer; in snd_timer_check_slave() local
293 struct snd_timer *timer; in snd_timer_open() local
392 struct snd_timer *timer = timeri->timer; in snd_timer_close_locked() local
471 static unsigned long snd_timer_hw_resolution(struct snd_timer *timer) in snd_timer_hw_resolution()
481 struct snd_timer * timer; in snd_timer_resolution() local
499 struct snd_timer *timer = ti->timer; in snd_timer_notify1() local
533 struct snd_timer *timer; in snd_timer_start1() local
619 struct snd_timer *timer; in snd_timer_stop1() local
748 static void snd_timer_reschedule(struct snd_timer * timer, unsigned long ticks_left) in snd_timer_reschedule()
[all …]
Dpcm_timer.c52 static unsigned long snd_pcm_timer_resolution(struct snd_timer * timer) in snd_pcm_timer_resolution()
60 static int snd_pcm_timer_start(struct snd_timer * timer) in snd_pcm_timer_start()
69 static int snd_pcm_timer_stop(struct snd_timer * timer) in snd_pcm_timer_stop()
92 static void snd_pcm_timer_free(struct snd_timer *timer) in snd_pcm_timer_free()
101 struct snd_timer *timer; in snd_pcm_timer_init() local
/linux-6.6.21/arch/mips/include/asm/mach-rc32434/
Dtimer.h43 struct timer { struct
44 struct timer_counter tim[TIMER_COUNT]; argument
45 u32 rcount; /* use RCOUNT_ */
46 u32 rcompare; /* use RCOMPARE_ */
47 u32 rtc; /* use RTC_ */
/linux-6.6.21/arch/arm64/kvm/
Darch_timer.c333 struct arch_timer_cpu *timer; in kvm_bg_timer_expire() local
500 struct arch_timer_cpu *timer = vcpu_timer(ctx->vcpu); in timer_save_state() local
574 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_blocking() local
599 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_unblocking() local
606 struct arch_timer_cpu *timer = vcpu_timer(ctx->vcpu); in timer_restore_state() local
829 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_vcpu_load() local
880 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_vcpu_put() local
930 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_sync_user() local
941 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_vcpu_reset() local
1016 struct arch_timer_cpu *timer = vcpu_timer(vcpu); in kvm_timer_vcpu_init() local
[all …]
/linux-6.6.21/arch/arm/mach-omap1/
Dtime.c76 omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(nr); in omap_mpu_timer_read() local
82 omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(nr); in omap_mpu_set_autoreset() local
89 omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(nr); in omap_mpu_remove_autoreset() local
97 omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(nr); in omap_mpu_timer_start() local
112 omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(nr); in omap_mpu_timer_stop() local
186 omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(1); in omap_init_clocksource() local
/linux-6.6.21/drivers/misc/
Dcs5535-mfgpt.c44 int cs5535_mfgpt_toggle_event(struct cs5535_mfgpt_timer *timer, int cmp, in cs5535_mfgpt_toggle_event()
96 int cs5535_mfgpt_set_irq(struct cs5535_mfgpt_timer *timer, int cmp, int *irq, in cs5535_mfgpt_set_irq()
148 struct cs5535_mfgpt_timer *timer = NULL; in cs5535_mfgpt_alloc_timer() local
211 void cs5535_mfgpt_free_timer(struct cs5535_mfgpt_timer *timer) in cs5535_mfgpt_free_timer()
228 uint16_t cs5535_mfgpt_read(struct cs5535_mfgpt_timer *timer, uint16_t reg) in cs5535_mfgpt_read()
234 void cs5535_mfgpt_write(struct cs5535_mfgpt_timer *timer, uint16_t reg, in cs5535_mfgpt_write()
289 struct cs5535_mfgpt_timer timer = { .chip = mfgpt }; in scan_timers() local
/linux-6.6.21/sound/drivers/opl3/
Dopl3_lib.c143 static int snd_opl3_timer1_start(struct snd_timer * timer) in snd_opl3_timer1_start()
161 static int snd_opl3_timer1_stop(struct snd_timer * timer) in snd_opl3_timer1_stop()
180 static int snd_opl3_timer2_start(struct snd_timer * timer) in snd_opl3_timer2_start()
198 static int snd_opl3_timer2_stop(struct snd_timer * timer) in snd_opl3_timer2_stop()
237 struct snd_timer *timer = NULL; in snd_opl3_timer1_init() local
258 struct snd_timer *timer = NULL; in snd_opl3_timer2_init() local
285 struct snd_timer *timer; in snd_opl3_interrupt() local
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Dgp_timer_defs.h23 #define HIVE_GP_TIMER_ENABLE_REG_IDX(timer) (HIVE_GP_TIMER_OVERALL_ENABLE_REG_I… argument
24 #define HIVE_GP_TIMER_VALUE_REG_IDX(timer, timers) (HIVE_GP_TIMER_ENABLE_REG_IDX(time… argument
25 #define HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer, timers) (HIVE_GP_TIMER_VALUE_REG_IDX(timer… argument
26 #define HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timer, timers) (HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(… argument

12345678910>>...26