Home
last modified time | relevance | path

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

12345678910>>...24

/linux/tools/testing/selftests/kvm/aarch64/
H A Darch_timer_edge_cases.c53 enum arch_timer timer; member
139 static void set_counter(enum arch_timer timer, uint64_t counter) in set_counter()
147 enum arch_timer timer; in guest_irq_handler() local
180 static void set_cval_irq(enum arch_timer timer, uint64_t cval_cycles, in set_cval_irq()
189 static void set_tval_irq(enum arch_timer timer, uint64_t tval_cycles, in set_tval_irq()
198 static void set_xval_irq(enum arch_timer timer, uint64_t xval, uint32_t ctl, in set_xval_irq()
293 static void sleep_poll(enum arch_timer timer, uint64_t usec) in sleep_poll()
298 static void sleep_sched_poll(enum arch_timer timer, uint64_t usec) in sleep_sched_poll()
303 static void sleep_migrate(enum arch_timer timer, uint64_t usec) in sleep_migrate()
308 static void sleep_in_userspace(enum arch_timer timer, uint64_t usec) in sleep_in_userspace()
[all …]
/linux/drivers/clocksource/
H A Dtimer-ti-dm.c166 static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg) in dmtimer_read()
191 static inline void dmtimer_write(struct dmtimer *timer, u32 reg, u32 val) in dmtimer_write()
206 static inline void __omap_dm_timer_init_regs(struct dmtimer *timer) in __omap_dm_timer_init_regs()
241 static inline void __omap_dm_timer_enable_posted(struct dmtimer *timer) in __omap_dm_timer_enable_posted()
257 static inline void __omap_dm_timer_stop(struct dmtimer *timer) in __omap_dm_timer_stop()
280 static inline void __omap_dm_timer_int_enable(struct dmtimer *timer, in __omap_dm_timer_int_enable()
288 __omap_dm_timer_read_counter(struct dmtimer *timer) in __omap_dm_timer_read_counter()
293 static inline void __omap_dm_timer_write_status(struct dmtimer *timer, in __omap_dm_timer_write_status()
299 static void omap_timer_restore_context(struct dmtimer *timer) in omap_timer_restore_context()
312 static void omap_timer_save_context(struct dmtimer *timer) in omap_timer_save_context()
[all …]
H A 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 …]
H A 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 …]
H A 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
160 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read() local
183 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event() local
200 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown() local
218 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic() local
228 struct ttc_timer *timer = &ttce->ttc; in ttc_resume() local
490 struct device_node *timer = pdev->dev.of_node; in ttc_timer_probe() local
/linux/drivers/rtc/
H A Drtc-brcmstb-waketimer.c48 static inline bool brcmstb_waketmr_is_pending(struct brcmstb_waketmr *timer) in brcmstb_waketmr_is_pending()
56 static inline void brcmstb_waketmr_clear_alarm(struct brcmstb_waketmr *timer) in brcmstb_waketmr_clear_alarm()
74 static void brcmstb_waketmr_set_alarm(struct brcmstb_waketmr *timer, in brcmstb_waketmr_set_alarm()
97 struct brcmstb_waketmr *timer = data; in brcmstb_waketmr_irq() local
106 struct brcmstb_waketmr *timer = data; in brcmstb_alarm_irq() local
134 static void wktmr_read(struct brcmstb_waketmr *timer, in wktmr_read()
147 static int brcmstb_waketmr_prepare_suspend(struct brcmstb_waketmr *timer) in brcmstb_waketmr_prepare_suspend()
175 struct brcmstb_waketmr *timer; in brcmstb_waketmr_reboot() local
189 struct brcmstb_waketmr *timer = dev_get_drvdata(dev); in brcmstb_waketmr_gettime() local
202 struct brcmstb_waketmr *timer = dev_get_drvdata(dev); in brcmstb_waketmr_settime() local
[all …]
/linux/arch/s390/kernel/
H A Dvtime.c39 u64 timer; in set_vtimer() local
120 u64 timer, clock, user, guest, system, hardirq, softirq; in do_account_vtime() local
222 u64 timer = lc->last_update_timer; in vtime_delta() local
268 static void list_add_sorted(struct vtimer_list *timer, struct list_head *head) in list_add_sorted()
286 struct vtimer_list *timer, *tmp; in virt_timer_expire() local
323 void init_virt_timer(struct vtimer_list *timer) in init_virt_timer()
330 static inline int vtimer_pending(struct vtimer_list *timer) in vtimer_pending()
335 static void internal_add_vtimer(struct vtimer_list *timer) in internal_add_vtimer()
354 static void __add_vtimer(struct vtimer_list *timer, int periodic) in __add_vtimer()
367 void add_virt_timer(struct vtimer_list *timer) in add_virt_timer()
[all …]
/linux/kernel/time/
H A Dtimer.c551 static inline unsigned int timer_get_idx(struct timer_list *timer) in timer_get_idx()
556 static inline void timer_set_idx(struct timer_list *timer, unsigned int idx) in timer_set_idx()
622 trigger_dyntick_cpu(struct timer_base *base, struct timer_list *timer) in trigger_dyntick_cpu()
654 static void enqueue_timer(struct timer_base *base, struct timer_list *timer, in enqueue_timer()
681 static void internal_add_timer(struct timer_base *base, struct timer_list *timer) in internal_add_timer()
715 struct timer_list *timer = addr; in timer_debug_hint() local
731 struct timer_list *timer = addr; in timer_is_static_object() local
743 struct timer_list *timer = addr; in timer_fixup_init() local
768 struct timer_list *timer = addr; in timer_fixup_activate() local
789 struct timer_list *timer = addr; in timer_fixup_free() local
[all …]
H A Dhrtimer.c166 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
195 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target()
227 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
284 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
361 struct hrtimer *timer = addr; in hrtimer_fixup_init() local
395 struct hrtimer *timer = addr; in hrtimer_fixup_free() local
415 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
420 static inline void debug_hrtimer_init_on_stack(struct hrtimer *timer) in debug_hrtimer_init_on_stack()
425 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
431 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
[all …]
/linux/tools/testing/selftests/kvm/include/aarch64/
H A 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, int32_t tval) in timer_set_tval()
98 static inline int32_t timer_get_tval(enum arch_timer timer) in timer_get_tval()
114 static inline void timer_set_ctl(enum arch_timer timer, uint32_t ctl) in timer_set_ctl()
130 static inline uint32_t timer_get_ctl(enum arch_timer timer) in timer_get_ctl()
145 static inline void timer_set_next_cval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_cval_ms()
153 static inline void timer_set_next_tval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_tval_ms()
/linux/sound/isa/gus/
H A 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/arch/nios2/kernel/
H A 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/sound/core/seq/oss/
H A 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/sound/pci/emu10k1/
H A 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/drivers/net/wireguard/
H A 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/sound/core/
H A Dtimer.c119 struct snd_timer *timer; member
188 struct snd_timer *timer; in snd_timer_find() local
256 struct snd_timer *timer; in snd_timer_check_slave() local
303 struct snd_timer *timer; in snd_timer_open() local
397 struct snd_timer *timer) in remove_slave_links()
421 struct snd_timer *timer = timeri->timer; in snd_timer_close_locked() local
483 static unsigned long snd_timer_hw_resolution(struct snd_timer *timer) in snd_timer_hw_resolution()
493 struct snd_timer * timer; in snd_timer_resolution() local
509 struct snd_timer *timer = ti->timer; in snd_timer_notify1() local
543 struct snd_timer *timer; in snd_timer_start1() local
[all …]
H A 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/include/linux/
H A Dtimer.h80 static inline void init_timer_on_stack_key(struct timer_list *timer, in init_timer_on_stack_key()
120 #define timer_setup(timer, callback, flags) \ argument
123 #define timer_setup_on_stack(timer, callback, flags) \ argument
129 static inline void destroy_timer_on_stack(struct timer_list *timer) { } in destroy_timer_on_stack()
145 static inline int timer_pending(const struct timer_list * timer) in timer_pending()
183 static inline int del_timer_sync(struct timer_list *timer) in del_timer_sync()
200 static inline int del_timer(struct timer_list *timer) in del_timer()
/linux/arch/mips/include/asm/mach-rc32434/
H A 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/arch/arm/mach-omap1/
H A 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/drivers/misc/
H A 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/tools/testing/selftests/bpf/progs/
H A Dtimer.c13 struct bpf_timer timer; member
73 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1()
301 static int timer_cb3(void *map, int *key, struct bpf_timer *timer) in timer_cb3()
321 struct bpf_timer *timer; in BPF_PROG2() local
338 static int timer_cb_pinned(void *map, int *key, struct bpf_timer *timer) in timer_cb_pinned()
353 struct bpf_timer *timer; in test_pinned_timer() local
396 static int race_timer_callback(void *race_array, int *race_key, struct bpf_timer *timer) in race_timer_callback()
405 struct bpf_timer *timer; in race() local
H A Dtimer_lockup.c35 struct bpf_timer *timer; in timer_cb1() local
47 struct bpf_timer *timer; in timer_cb2() local
60 struct bpf_timer *timer; in timer1_prog() local
76 struct bpf_timer *timer; in timer2_prog() local
/linux/sound/drivers/opl3/
H A 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/fs/bcachefs/
H A Dclock.c22 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_add()
41 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_del()
61 static void io_clock_wait_fn(struct io_timer *timer) in io_clock_wait_fn()
70 static void io_clock_cpu_timeout(struct timer_list *timer) in io_clock_cpu_timeout()
144 struct io_timer *timer; in __bch2_increment_clock() local

12345678910>>...24