Home
last modified time | relevance | path

Searched refs:timer (Results 176 – 200 of 2732) sorted by relevance

12345678910>>...110

/openbmc/linux/drivers/usb/phy/
H A Dphy-fsl-usb.h346 struct fsl_otg_timer *timer; in otg_timer_initializer() local
348 timer = kmalloc(sizeof(struct fsl_otg_timer), GFP_KERNEL); in otg_timer_initializer()
349 if (!timer) in otg_timer_initializer()
351 timer->function = function; in otg_timer_initializer()
352 timer->expires = expires; in otg_timer_initializer()
353 timer->data = data; in otg_timer_initializer()
354 return timer; in otg_timer_initializer()
376 void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer);
377 void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
/openbmc/linux/drivers/auxdisplay/
H A Dline-display.c33 struct linedisp *linedisp = from_timer(linedisp, t, timer); in linedisp_scroll()
56 mod_timer(&linedisp->timer, jiffies + linedisp->scroll_rate); in linedisp_scroll()
77 del_timer_sync(&linedisp->timer); in linedisp_display()
107 linedisp_scroll(&linedisp->timer); in linedisp_display()
174 del_timer_sync(&linedisp->timer); in scroll_step_ms_store()
176 linedisp_scroll(&linedisp->timer); in scroll_step_ms_store()
225 timer_setup(&linedisp->timer, linedisp_scroll, 0); in linedisp_register()
241 del_timer_sync(&linedisp->timer); in linedisp_register()
255 del_timer_sync(&linedisp->timer); in linedisp_unregister()
/openbmc/linux/sound/core/seq/
H A Dseq_queue.c112 q->timer = snd_seq_timer_new(); in queue_new()
116 snd_seq_timer_delete(&q->timer); in queue_new()
133 snd_seq_timer_stop(q->timer); in queue_delete()
141 snd_seq_timer_delete(&q->timer); in queue_delete()
320 &q->timer->cur_time); in snd_seq_enqueue_event()
445 tmr = queue->timer; in snd_seq_queue_timer_open()
506 snd_seq_timer_defaults(queue->timer); in queue_use()
660 if (! snd_seq_timer_start(q->timer)) in snd_seq_queue_process_event()
670 snd_seq_timer_stop(q->timer); in snd_seq_queue_process_event()
691 if (snd_seq_timer_set_skew(q->timer, in snd_seq_queue_process_event()
[all …]
/openbmc/linux/arch/arm/mach-footbridge/
H A Ddc21285.c136 static void dc21285_enable_error(struct timer_list *timer) in dc21285_enable_error() argument
138 del_timer(timer); in dc21285_enable_error()
140 if (timer == &serr_timer) in dc21285_enable_error()
142 else if (timer == &perr_timer) in dc21285_enable_error()
181 struct timer_list *timer = dev_id; in dc21285_serr_irq() local
195 timer->expires = jiffies + HZ; in dc21285_serr_irq()
196 add_timer(timer); in dc21285_serr_irq()
225 struct timer_list *timer = dev_id; in dc21285_parity_irq() local
239 timer->expires = jiffies + HZ; in dc21285_parity_irq()
240 add_timer(timer); in dc21285_parity_irq()
/openbmc/openpower-vpd-parser/vpd-manager/
H A DgpioMonitor.cpp160 std::shared_ptr<boost::asio::steady_timer>& timer) in handleTimerExpiry() argument
177 timer->expires_at(std::chrono::steady_clock::now() + in handleTimerExpiry()
179 timer->async_wait(boost::bind(&GpioEventHandler::handleTimerExpiry, this, in handleTimerExpiry()
180 boost::asio::placeholders::error, timer)); in handleTimerExpiry()
190 auto timer = make_shared<boost::asio::steady_timer>( in doEventAndTimerSetup() local
193 timer->async_wait(boost::bind(&GpioEventHandler::handleTimerExpiry, this, in doEventAndTimerSetup()
194 boost::asio::placeholders::error, timer)); in doEventAndTimerSetup()
196 timers.push_back(timer); in doEventAndTimerSetup()
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap3.dtsi717 ti,timer-alwon;
768 ti,timer-dsp;
776 ti,timer-dsp;
784 ti,timer-dsp;
792 ti,timer-pwm;
793 ti,timer-dsp;
801 ti,timer-pwm;
809 ti,timer-pwm;
817 ti,timer-pwm;
845 ti,timer-alwon;
[all …]
/openbmc/qemu/hw/watchdog/
H A Dwdt_diag288.c27 VMSTATE_TIMER_PTR(timer, DIAG288State),
38 timer_del(diag288->timer); in wdt_diag288_reset()
77 timer_mod(diag288->timer, in wdt_diag288_handle_timer()
86 timer_del(diag288->timer); in wdt_diag288_handle_timer()
100 diag288->timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, diag288_timer_expired, in wdt_diag288_realize()
108 timer_free(diag288->timer); in wdt_diag288_unrealize()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_exception_with_invalid_guest_state.c48 struct itimerval timer; in set_timer() local
50 timer.it_value.tv_sec = 0; in set_timer()
51 timer.it_value.tv_usec = 200; in set_timer()
52 timer.it_interval = timer.it_value; in set_timer()
53 TEST_ASSERT_EQ(setitimer(ITIMER_REAL, &timer, NULL), 0); in set_timer()
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Dnxp,sysctr-timer.yaml4 $id: http://devicetree.org/schemas/timer/nxp,sysctr-timer.yaml#
17 compare frame inside can be used for timer purpose.
21 const: nxp,sysctr-timer
52 timer@306a0000 {
53 compatible = "nxp,sysctr-timer";
H A Dbrcm,bcm2835-system-timer.txt3 The System Timer peripheral provides four 32-bit timer channels and a
10 - compatible : should be "brcm,bcm2835-system-timer"
12 - interrupts : A list of 4 interrupt sinks; one per timer channel.
17 timer {
18 compatible = "brcm,bcm2835-system-timer";
H A Dsamsung,exynos4210-mct.yaml4 $id: http://devicetree.org/schemas/timer/samsung,exynos4210-mct.yaml#
14 global timer and CPU local timers. The global timer is a 64-bit free running
18 one CPU local timer instantiated in MCT for every CPU in the system.
64 Interrupts should be put in specific order. This is, the local timer
157 // interrupts, so two local timer interrupts have been specified,
158 // in addition to four global timer interrupts.
162 timer@10050000 {
182 timer@101c0000 {
203 timer@10050000 {
218 // a per-processor interrupt to handle them. All the local timer
[all …]
H A Dcdns,ttc.yaml4 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml#
22 A list of 3 interrupts; one per timer channel.
30 timer-width:
33 Bit width of the timer, necessary if not 16.
51 timer-width = <32>;
H A Dsocionext,milbeaut-timer.txt5 - compatible : should be "socionext,milbeaut-timer".
7 - interrupts : The interrupt of the first timer.
12 timer {
13 compatible = "socionext,milbeaut-timer";
H A Daltr,timer-1.0.txt5 - compatible : should be "altr,timer-1.0"
7 - interrupts : Should contain the timer interrupt number
12 timer {
13 compatible = "altr,timer-1.0";
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dbrcm,twd.yaml39 '^timer@[a-f0-9]+$':
40 $ref: /schemas/timer/brcm,bcmbca-timer.yaml
52 timer-mfd@ff800400 {
60 timer@0 {
61 compatible = "brcm,bcm63138-timer";
/openbmc/linux/block/
H A Dblk-stat.h28 struct timer_list timer; member
133 return timer_pending(&cb->timer); in blk_stat_is_active()
147 mod_timer(&cb->timer, jiffies + nsecs_to_jiffies(nsecs)); in blk_stat_activate_nsecs()
152 del_timer_sync(&cb->timer); in blk_stat_deactivate()
166 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); in blk_stat_activate_msecs()
/openbmc/linux/io_uring/
H A Dtimeout.c82 data->timer.function = io_timeout_fn; in io_timeout_complete()
97 if (hrtimer_try_to_cancel(&io->timer) != -1) { in io_kill_timeout()
228 if (hrtimer_try_to_cancel(&io->timer) != -1) { in __io_disarm_linked_timeout()
239 struct io_timeout_data, timer); in io_timeout_fn()
280 if (hrtimer_try_to_cancel(&io->timer) == -1) in io_timeout_extract()
330 struct io_timeout_data, timer); in io_link_timeout_fn()
394 if (hrtimer_try_to_cancel(&io->timer) == -1) in io_linked_timeout_update()
397 io->timer.function = io_link_timeout_fn; in io_linked_timeout_update()
418 data->timer.function = io_timeout_fn; in io_timeout_update()
616 data->timer.function = io_timeout_fn; in io_timeout()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Domap3.dtsi596 ti,timer-alwon;
625 ti,timer-dsp;
633 ti,timer-dsp;
641 ti,timer-dsp;
649 ti,timer-pwm;
650 ti,timer-dsp;
658 ti,timer-pwm;
666 ti,timer-pwm;
674 ti,timer-pwm;
682 ti,timer-alwon;
[all …]
/openbmc/linux/arch/arm/boot/dts/synaptics/
H A Dberlin2q.dtsi166 local-timer@ad0600 {
341 timer0: timer@2c00 {
345 clock-names = "timer";
349 timer1: timer@2c14 {
353 clock-names = "timer";
356 timer2: timer@2c28 {
364 timer3: timer@2c3c {
372 timer4: timer@2c50 {
380 timer5: timer@2c64 {
388 timer6: timer@2c78 {
[all …]
/openbmc/telemetry/src/
H A Ddiscrete_threshold.cpp55 auto& timer = details.timer; in sensorUpdated() local
59 timer.cancel(); in sensorUpdated()
73 auto& timer = details.timer; in startTimer() local
82 timer.expires_after(dwellTime); in startTimer()
83 timer.async_wait([this, &sensorName, &dwell, in startTimer()
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dmpa1600.dts34 tcb0: timer@fffa0000 {
35 timer@0 {
36 compatible = "atmel,tcb-timer";
40 timer@2 {
41 compatible = "atmel,tcb-timer";
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j7200-main.dtsi1008 ti,timer-pwm;
1020 ti,timer-pwm;
1032 ti,timer-pwm;
1044 ti,timer-pwm;
1056 ti,timer-pwm;
1068 ti,timer-pwm;
1080 ti,timer-pwm;
1092 ti,timer-pwm;
1104 ti,timer-pwm;
1116 ti,timer-pwm;
[all …]
/openbmc/linux/drivers/powercap/
H A Didle_inject.c84 struct hrtimer timer; member
124 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) in idle_inject_timer_fn() argument
128 container_of(timer, struct idle_inject_device, timer); in idle_inject_timer_fn()
136 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC)); in idle_inject_timer_fn()
234 hrtimer_start(&ii_dev->timer, in idle_inject_start()
262 hrtimer_cancel(&ii_dev->timer); in idle_inject_stop()
342 hrtimer_init(&ii_dev->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in idle_inject_register_full()
343 ii_dev->timer.function = idle_inject_timer_fn; in idle_inject_register_full()
/openbmc/linux/arch/arm/lib/
H A Ddelay.c65 void __init register_current_timer_delay(const struct delay_timer *timer) in register_current_timer_delay() argument
70 clocks_calc_mult_shift(&new_mult, &new_shift, timer->freq, in register_current_timer_delay()
76 timer, res); in register_current_timer_delay()
82 delay_timer = timer; in register_current_timer_delay()
83 lpj_fine = timer->freq / HZ; in register_current_timer_delay()
/openbmc/linux/drivers/usb/usbip/
H A Dvudc_transfer.c305 struct transfer_timer *timer = &udc->tr_timer; in v_timer() local
317 timer->state = VUDC_TR_IDLE; in v_timer()
323 timer->frame_limit = total; in v_timer()
325 timer->frame_start = jiffies; in v_timer()
327 total = timer->frame_limit; in v_timer()
344 if (timer->state != VUDC_TR_RUNNING) in v_timer()
436 timer->state = VUDC_TR_IDLE; in v_timer()
438 mod_timer(&timer->timer, in v_timer()
439 timer->frame_start + msecs_to_jiffies(1)); in v_timer()
450 timer_setup(&t->timer, v_timer, 0); in v_init_timer()
[all …]

12345678910>>...110