Searched refs:timer (Results 51 - 75 of 1548) sorted by relevance

1234567891011>>

/linux-master/include/trace/events/
H A Drtc.h161 TP_PROTO(struct rtc_timer *timer),
163 TP_ARGS(timer),
166 __field(struct rtc_timer *, timer)
172 __entry->timer = timer;
173 __entry->expires = timer->node.expires;
174 __entry->period = timer->period;
177 TP_printk("RTC timer:(%p) expires:%lld period:%lld",
178 __entry->timer, __entry->expires, __entry->period
184 TP_PROTO(struct rtc_timer *timer),
[all...]
/linux-master/arch/riscv/kvm/
H A Dvcpu_timer.c13 #include <clocksource/timer-riscv.h>
46 struct kvm_vcpu *vcpu = container_of(t, struct kvm_vcpu, arch.timer);
47 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer;
85 struct kvm_vcpu_timer *t = &vcpu->arch.timer;
86 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer;
104 struct kvm_vcpu_timer *t = &vcpu->arch.timer;
113 struct kvm_vcpu *vcpu = container_of(t, struct kvm_vcpu, arch.timer);
114 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer;
130 struct kvm_vcpu_timer *t = &vcpu->arch.timer;
131 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer;
[all...]
/linux-master/kernel/time/
H A Dposix-cpu-timers.c13 #include <trace/events/timer.h>
22 static void posix_cpu_timer_rearm(struct k_itimer *timer);
34 * Called after updating RLIMIT_CPU to run cpu timer and update
67 * If the encoded PID is 0, then the timer is targeted at current
113 static inline struct task_struct *cpu_timer_task_rcu(struct k_itimer *timer) argument
115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock));
122 static u64 bump_cpu_timer(struct k_itimer *timer, u64 now) argument
124 u64 delta, incr, expires = timer->it.cpu.node.expires;
127 if (!timer
416 timer_base(struct k_itimer *timer, struct task_struct *tsk) argument
433 trigger_base_recalc_expires(struct k_itimer *timer, struct task_struct *tsk) argument
451 disarm_timer(struct k_itimer *timer, struct task_struct *p) argument
471 posix_cpu_timer_del(struct k_itimer *timer) argument
556 arm_timer(struct k_itimer *timer, struct task_struct *p) argument
583 cpu_timer_fire(struct k_itimer *timer) argument
623 posix_cpu_timer_set(struct k_itimer *timer, int timer_flags, struct itimerspec64 *new, struct itimerspec64 *old) argument
788 posix_cpu_timer_get(struct k_itimer *timer, struct itimerspec64 *itp) argument
1047 posix_cpu_timer_rearm(struct k_itimer *timer) argument
1329 struct k_itimer *timer, *next; local
1505 struct k_itimer timer; local
1642 process_cpu_timer_create(struct k_itimer *timer) argument
1662 thread_cpu_timer_create(struct k_itimer *timer) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dasync_stack_depth.c8 struct bpf_timer timer; member in struct:hmap_elem
19 static int timer_cb(void *map, int *key, struct bpf_timer *timer) argument
26 static int bad_timer_cb(void *map, int *key, struct bpf_timer *timer) argument
44 return bpf_timer_set_callback(&elem->timer, timer_cb) + buf[0];
58 return bpf_timer_set_callback(&elem->timer, bad_timer_cb) + buf[0];
H A Dtimer_mim_reject.c12 struct bpf_timer timer; member in struct:hmap_elem
68 bpf_timer_init(&val->timer, inner_map2, CLOCK_MONOTONIC);
69 if (bpf_timer_set_callback(&val->timer, timer_cb))
71 if (bpf_timer_start(&val->timer, 0, 0))
/linux-master/arch/xtensa/kernel/
H A Dtime.c78 * There is no way to disable the timer interrupt at the device level,
85 struct ccount_timer *timer = local
88 if (timer->irq_enabled) {
90 timer->irq_enabled = 0;
97 struct ccount_timer *timer = local
100 if (!timer->irq_enabled) {
102 timer->irq_enabled = 1;
129 struct ccount_timer *timer = &per_cpu(ccount_timer, cpu); local
130 struct clock_event_device *clockevent = &timer->evt;
132 timer
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dvmx_exception_with_invalid_guest_state.c48 struct itimerval timer; local
50 timer.it_value.tv_sec = 0;
51 timer.it_value.tv_usec = 200;
52 timer.it_interval = timer.it_value;
53 TEST_ASSERT_EQ(setitimer(ITIMER_REAL, &timer, NULL), 0);
96 * otherwise rearm the timer and keep doing so until the timer fires
134 * guest state and a timer firing every 200us, and attempt to enter the
/linux-master/drivers/s390/cio/
H A Deadm_sch.h7 #include <linux/timer.h>
16 struct timer_list timer; member in struct:eadm_private
/linux-master/drivers/pcmcia/
H A Dbcm63xx_pcmcia.h6 #include <linux/timer.h>
49 /* timer used for socket status polling */
50 struct timer_list timer; member in struct:bcm63xx_pcmcia_socket
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.h11 #include <linux/timer.h>
34 struct timer_list timer; member in struct:timed_fence
/linux-master/include/linux/
H A Dif_eql.h22 #include <linux/timer.h>
48 struct timer_list timer; member in struct:equalizer
H A Dcs5535.h211 extern uint16_t cs5535_mfgpt_read(struct cs5535_mfgpt_timer *timer,
213 extern void cs5535_mfgpt_write(struct cs5535_mfgpt_timer *timer, uint16_t reg,
216 extern int cs5535_mfgpt_toggle_event(struct cs5535_mfgpt_timer *timer, int cmp,
218 extern int cs5535_mfgpt_set_irq(struct cs5535_mfgpt_timer *timer, int cmp,
220 extern struct cs5535_mfgpt_timer *cs5535_mfgpt_alloc_timer(int timer,
222 extern void cs5535_mfgpt_free_timer(struct cs5535_mfgpt_timer *timer);
224 static inline int cs5535_mfgpt_setup_irq(struct cs5535_mfgpt_timer *timer, argument
227 return cs5535_mfgpt_set_irq(timer, cmp, irq, 1);
230 static inline int cs5535_mfgpt_release_irq(struct cs5535_mfgpt_timer *timer, argument
233 return cs5535_mfgpt_set_irq(timer, cm
[all...]
/linux-master/arch/arm/mach-footbridge/
H A DMakefile14 obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o
15 obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o
/linux-master/arch/arm/mach-omap1/
H A Dmtd-xip.h32 volatile xip_omap_mpu_timer_regs_t* timer = xip_omap_mpu_timer_base(nr); local
33 return timer->read_tim;
49 * the system timer tick period. This should put the CPU into idle mode
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_atomic.c106 struct msm_pending_timer *timer = container_of(work, local
109 msm_atomic_async_commit(timer->kms, timer->crtc_idx);
112 int msm_atomic_init_pending_timer(struct msm_pending_timer *timer, argument
115 timer->kms = kms;
116 timer->crtc_idx = crtc_idx;
118 timer->worker = kthread_create_worker(0, "atomic-worker-%d", crtc_idx);
119 if (IS_ERR(timer->worker)) {
120 int ret = PTR_ERR(timer->worker);
121 timer
133 msm_atomic_destroy_pending_timer(struct msm_pending_timer *timer) argument
239 struct msm_pending_timer *timer = local
[all...]
/linux-master/sound/drivers/opl3/
H A Dopl3_lib.c78 * The detection algorithm plays with the timer built in the FM chip and
100 /* Unmask and start timer 1 */
143 static int snd_opl3_timer1_start(struct snd_timer * timer) argument
150 opl3 = snd_timer_chip(timer);
152 ticks = timer->sticks;
155 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 256 - ticks); /* timer 1 count */
156 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* enable timer 1 IRQ */
161 static int snd_opl3_timer1_stop(struct snd_timer * timer) argument
167 opl3 = snd_timer_chip(timer);
171 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* disable timer #
180 snd_opl3_timer2_start(struct snd_timer * timer) argument
198 snd_opl3_timer2_stop(struct snd_timer * timer) argument
237 struct snd_timer *timer = NULL; local
258 struct snd_timer *timer = NULL; local
285 struct snd_timer *timer; local
[all...]
/linux-master/arch/sh/include/asm/
H A Dpush-switch.h5 #include <linux/timer.h>
13 /* debounce timer */
/linux-master/include/linux/sunrpc/
H A Dtypes.h13 #include <linux/timer.h>
/linux-master/arch/mips/sgi-ip30/
H A DMakefile6 obj-y := ip30-irq.o ip30-power.o ip30-setup.o ip30-timer.o ip30-xtalk.o
/linux-master/arch/x86/lib/
H A Dkaslr.c36 u16 status, timer; local
42 timer = inb(I8254_PORT_COUNTER0);
43 timer |= inb(I8254_PORT_COUNTER0) << 8;
46 return timer;
/linux-master/drivers/block/aoe/
H A Daoemain.c4 * Module initialization routines, discover timer
18 static struct timer_list timer; variable in typeref:struct:timer_list
31 del_timer_sync(&timer);
73 timer_setup(&timer, discover_timer, 0);
74 discover_timer(&timer);
/linux-master/arch/arm/mach-ep93xx/
H A DMakefile5 obj-y := core.o clock.o timer-ep93xx.o
/linux-master/fs/bcachefs/
H A Dclock.c16 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) argument
23 timer->expire)) {
25 timer->fn(timer);
30 if (clock->timers.data[i] == timer)
33 BUG_ON(!heap_add(&clock->timers, timer, io_timer_cmp, NULL));
38 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) argument
45 if (clock->timers.data[i] == timer) {
60 static void io_clock_wait_fn(struct io_timer *timer) argument
62 struct io_clock_wait *wait = container_of(timer,
69 io_clock_cpu_timeout(struct timer_list *timer) argument
148 struct io_timer *timer; local
[all...]
/linux-master/arch/arm64/kvm/
H A Darch_timer.c46 struct arch_timer_context *timer,
50 struct arch_timer_context *timer,
166 WARN(offset, "timer %ld\n", arch_timer_ctx_index(ctxt));
231 * We may see a timer interrupt after vcpu_put() has been called which
232 * sets the CPU's vcpu pointer to NULL, because even though the timer
315 WARN(ctx->loaded, "timer %d loaded\n", i);
332 struct arch_timer_cpu *timer; local
336 timer = container_of(hrt, struct arch_timer_cpu, bg_timer);
337 vcpu = container_of(timer, struct kvm_vcpu, arch.timer_cpu);
340 * Check that the timer ha
499 struct arch_timer_cpu *timer = vcpu_timer(ctx->vcpu); local
573 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
598 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
605 struct arch_timer_cpu *timer = vcpu_timer(ctx->vcpu); local
828 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
879 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
929 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
940 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
1013 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
1050 struct arch_timer_context *timer; local
1091 read_timer_ctl(struct arch_timer_context *timer) argument
1132 kvm_arm_timer_read(struct kvm_vcpu *vcpu, struct arch_timer_context *timer, enum kvm_arch_timer_regs treg) argument
1171 struct arch_timer_context *timer; local
1192 kvm_arm_timer_write(struct kvm_vcpu *vcpu, struct arch_timer_context *timer, enum kvm_arch_timer_regs treg, u64 val) argument
1224 struct arch_timer_context *timer; local
1447 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
1508 struct arch_timer_cpu *timer = vcpu_timer(vcpu); local
1614 struct arch_timer_context *timer; local
[all...]
/linux-master/drivers/clocksource/
H A Dtimer-keystone.c17 #define TIMER_NAME "timer-keystone"
37 * struct keystone_timer: holds timer's data
38 * @base: timer memory base address
40 * @event_dev: event device based on timer
46 } timer; variable in typeref:struct:keystone_timer
50 return readl_relaxed(timer.base + rg);
55 writel_relaxed(val, timer.base + rg);
70 * keystone_timer_config: configures timer to work in oneshot/periodic modes.
85 /* disable timer */
87 /* here we have to be sure the timer ha
[all...]

Completed in 185 milliseconds

1234567891011>>