Searched refs:timer (Results 151 - 175 of 1561) sorted by relevance

1234567891011>>

/linux-master/arch/loongarch/kvm/
H A DMakefile17 kvm-y += timer.o
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dtimer.c2 drivers/net/ethernet/dec/tulip/timer.c
136 mod_timer(&tp->timer, RUN_AT(next_tick));
142 struct tulip_private *tp = from_timer(tp, t, timer);
152 mod_timer(&tp->timer, RUN_AT(next_tick));
159 struct tulip_private *tp = from_timer(tp, t, timer);
174 mod_timer(&tp->timer, RUN_AT(next_tick));
/linux-master/arch/sh/drivers/
H A Dheartbeat.c22 #include <linux/timer.h>
61 struct heartbeat_data *hd = from_timer(hd, t, timer);
70 mod_timer(&hd->timer, jiffies + (110 - ((300 << FSHIFT) /
133 timer_setup(&hd->timer, heartbeat_timer, 0);
136 return mod_timer(&hd->timer, jiffies + 1);
/linux-master/drivers/comedi/drivers/
H A Daddi_apci_1564.c30 * - 1 12-bit timer
34 * The COS, timer, and counter subdevices all use the dev->read_subdev to
41 * 30 timer interrupt
53 * The timer subdevice does not use an async command. All control is handled
141 * devpriv->timer Register Map (see addi_tcw.h for register/bit defines)
163 unsigned long timer; /* base address of 12-bit timer */ member in struct:apci1564_private
187 /* Reset the timer registers */
188 outl(0x0, devpriv->timer + ADDI_TCW_CTRL_REG);
189 outl(0x0, devpriv->timer
[all...]
/linux-master/drivers/gpu/drm/vgem/
H A Dvgem_fence.c35 struct timer_list timer; member in struct:vgem_fence
52 del_timer_sync(&fence->timer);
79 struct vgem_fence *fence = from_timer(fence, t, timer);
97 timer_setup(&fence->timer, vgem_fence_timeout, 0);
100 mod_timer(&fence->timer, jiffies + VGEM_FENCE_TIMEOUT);
/linux-master/drivers/watchdog/
H A Dmtx-1_wdt.c17 * use the Linux watchdog/timer APIs
23 * A timer triggers the watchdog every 5 seconds, until
35 #include <linux/timer.h>
52 struct timer_list timer; member in struct:__anon31
71 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL);
92 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL);
211 timer_setup(&mtx1_wdt_device.timer, mtx1_wdt_trigger, 0);
H A Dshwdt.c43 * something quite higher than 100 (or we need a proper high-res timer
62 * misses its deadline, the kernel timer will allow the WDT to overflow.
78 struct timer_list timer; member in struct:sh_wdt
93 mod_timer(&wdt->timer, next_ping_period(clock_division_ratio));
132 del_timer(&wdt->timer);
176 struct sh_wdt *wdt = from_timer(wdt, t, timer);
189 mod_timer(&wdt->timer, next_ping_period(clock_division_ratio));
272 timer_setup(&wdt->timer, sh_wdt_ping, 0);
273 wdt->timer.expires = next_ping_period(clock_division_ratio);
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbtcoex.c56 * @timer: timer for DHCP state machine
58 * @timer_on: DHCP timer active
59 * @dhcp_done: DHCP finished before T1/T2 timer expiration
78 struct timer_list timer; member in struct:brcmf_btcoex_info
271 * brcmf_btcoex_timerfunc() - BT coex timer callback
275 struct brcmf_btcoex_info *bt_local = from_timer(bt_local, t, timer);
292 del_timer_sync(&btci->timer);
303 mod_timer(&btci->timer, btci->timer
[all...]
/linux-master/drivers/accel/qaic/
H A Dqaic_timesync.c11 #include <linux/timer.h>
71 * @timer: Timer handle used for timesync.
80 struct timer_list timer; member in struct:mqts_dev
132 struct mqts_dev *mqtsdev = from_timer(mqtsdev, t, timer);
178 struct timer_list *timer; local
187 timer = &mqtsdev->timer;
205 timer_setup(timer, qaic_timesync_timer, 0);
206 timer->expires = jiffies + msecs_to_jiffies(timesync_delay_ms);
207 add_timer(timer);
[all...]
/linux-master/drivers/auxdisplay/
H A Dline-display.c23 #include <linux/timer.h>
37 * timer if required.
41 struct linedisp *linedisp = from_timer(linedisp, t, timer);
62 /* rearm the timer */
64 mod_timer(&linedisp->timer, jiffies + linedisp->scroll_rate);
84 /* stop the scroll timer */
85 del_timer_sync(&linedisp->timer);
115 linedisp_scroll(&linedisp->timer);
184 del_timer_sync(&linedisp->timer);
186 linedisp_scroll(&linedisp->timer);
[all...]
/linux-master/drivers/usb/phy/
H A Dphy-fsl-usb.c19 #include <linux/timer.h>
236 /* start the timer to end vbus charge */
360 struct fsl_otg_timer *timer; local
365 timer = a_wait_vrise_tmr;
368 timer = a_wait_vrise_tmr;
371 timer = a_wait_vrise_tmr;
374 timer = a_wait_vrise_tmr;
377 timer = a_wait_vrise_tmr;
380 timer = a_wait_vrise_tmr;
383 timer
395 struct fsl_otg_timer *timer = gtimer; local
413 struct fsl_otg_timer *timer; local
425 struct fsl_otg_timer *timer = gtimer; local
435 struct fsl_otg_timer *timer; local
[all...]
/linux-master/drivers/md/bcache/
H A Dstats.c17 * Every so often, a timer goes off and rescales the rolling averages.
18 * accounting_rescale[] is how many times the timer has to go off before we
22 * accounting_delay is how often the timer goes off - 22 times in 5 minutes,
126 if (del_timer_sync(&acc->timer))
152 struct cache_accounting *acc = from_timer(acc, t, timer);
175 acc->timer.expires += accounting_delay;
178 add_timer(&acc->timer);
231 timer_setup(&acc->timer, scale_accounting, 0);
232 acc->timer.expires = jiffies + accounting_delay;
233 add_timer(&acc->timer);
[all...]
/linux-master/net/core/
H A Dgen_estimator.c58 struct timer_list timer; member in struct:net_rate_estimator
78 struct net_rate_estimator *est = from_timer(est, t, timer);
104 /* Ouch... timer was delayed. */
107 mod_timer(&est->timer, est->next_jiffies);
122 * as destination. A new timer with the interval specified in the
145 /* allowed timer periods are :
180 del_timer_sync(&old->timer);
186 timer_setup(&est->timer, est_timer, 0);
187 mod_timer(&est->timer, est->next_jiffies);
211 timer_shutdown_sync(&est->timer);
[all...]
/linux-master/drivers/leds/trigger/
H A Dledtrig-activity.c18 #include <linux/timer.h>
24 struct timer_list timer; member in struct:activity_data
36 timer);
151 mod_timer(&activity_data->timer, jiffies + msecs_to_jiffies(delay));
198 timer_setup(&activity_data->timer, led_activity_function, 0);
201 led_activity_function(&activity_data->timer);
211 timer_shutdown_sync(&activity_data->timer);
/linux-master/drivers/pcmcia/
H A Domap_cf.c58 struct timer_list timer; member in struct:omap_cf_socket
77 /* the timer is primarily to kick this socket's pccardd */
80 struct omap_cf_socket *cf = from_timer(cf, t, timer);
91 mod_timer(&cf->timer, jiffies + POLL_INTERVAL);
96 * not removals; it can't always eliminate timer irqs.
102 omap_cf_timer(&cf->timer);
222 timer_setup(&cf->timer, omap_cf_timer, 0);
281 mod_timer(&cf->timer, jiffies + POLL_INTERVAL);
299 timer_shutdown_sync(&cf->timer);
/linux-master/kernel/sched/
H A Didle.c201 * timekeeping to prevent timer interrupts from kicking us out of idle
285 * may fire and queue a timer that would be ignored until the CPU
287 * doesn't tell about pending needed timer reprogram.
304 * instruction. This can leak a pending needed timer reprogram.
373 struct hrtimer timer; member in struct:idle_timer
377 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) argument
379 struct idle_timer *it = container_of(timer, struct idle_timer, timer);
408 hrtimer_init_on_stack(&it.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD);
409 it.timer
[all...]
/linux-master/arch/alpha/kernel/
H A Dsrmcons.c16 #include <linux/timer.h>
37 struct timer_list timer; member in struct:srmcons_private
72 struct srmcons_private *srmconsp = from_timer(srmconsp, t, timer);
86 mod_timer(&srmconsp->timer, jiffies + incr);
161 mod_timer(&srmconsp->timer, jiffies + 10);
180 del_timer(&srmconsp->timer);
199 timer_setup(&srmcons_singleton.timer, srmcons_receive_chars, 0);
/linux-master/drivers/pwm/
H A Dpwm-omap-dmtimer.c14 * with a timer counter that goes up. When it overflows it gets
20 * - When PWM is stopped, timer counter gets stopped immediately. This
26 * can get updated as below based on the current timer counter:
29 * - PWM OMAP DM timer cannot change the polarity when pwm is active. When
42 #include <clocksource/timer-ti-dm.h>
56 * @dm_timer: Pointer to omap dm timer.
57 * @pdata: Pointer to omap dm timer ops.
58 * @dm_timer_pdev: Pointer to omap dm timer platform device
75 * @clk_rate: pwm timer clock rate
86 * pwm_omap_dmtimer_start() - Start the pwm omap dm timer i
315 struct device_node *timer; local
[all...]
/linux-master/kernel/time/
H A Ditimer.c16 #include <trace/events/timer.h>
22 * itimer_get_remtime - get remaining time for the timer
24 * @timer: the timer to read
27 * less than zero or 1usec for an pending expired timer
29 static struct timespec64 itimer_get_remtime(struct hrtimer *timer) argument
31 ktime_t rem = __hrtimer_get_remaining(timer, true);
38 if (hrtimer_active(timer)) {
154 * The timer is automagically restarted, when interval != 0
156 enum hrtimer_restart it_real_fn(struct hrtimer *timer) argument
210 struct hrtimer *timer; local
[all...]
/linux-master/sound/core/
H A DMakefile33 snd-timer-y := timer.o
43 obj-$(CONFIG_SND_TIMER) += snd-timer.o
/linux-master/drivers/remoteproc/
H A Domap_remoteproc.c36 #include <clocksource/timer-ti-dm.h>
74 * struct omap_rproc_timer - data structure for a timer used by a omap rproc
75 * @odt: timer pointer
76 * @timer_ops: OMAP dmtimer ops for @odt timer
77 * @irq: timer irq
92 * @num_timers: number of rproc timer(s)
94 * @timers: timer(s) info used by rproc
142 * omap_rproc_request_timer() - request a timer for a remoteproc
143 * @dev: device requesting the timer
144 * @np: device node pointer to the desired timer
155 omap_rproc_request_timer(struct device *dev, struct device_node *np, struct omap_rproc_timer *timer) argument
191 omap_rproc_start_timer(struct omap_rproc_timer *timer) argument
208 omap_rproc_stop_timer(struct omap_rproc_timer *timer) argument
223 omap_rproc_release_timer(struct omap_rproc_timer *timer) argument
238 omap_rproc_get_timer_irq(struct omap_rproc_timer *timer) argument
251 omap_rproc_ack_timer_irq(struct omap_rproc_timer *timer) argument
[all...]
/linux-master/arch/powerpc/boot/dts/fsl/
H A Dqoriq-mpic4.3.dtsi45 timer@41100 {
46 compatible = "fsl,mpic-global-timer";
142 timer@42100 {
143 compatible = "fsl,mpic-global-timer";
/linux-master/drivers/s390/net/
H A Dfsm.h7 #include <linux/timer.h>
21 * timer handling.
228 * Initializes a timer for an FSM.
232 * @param timer The timer to be initialized.
237 * Clears a pending timer of an FSM instance.
239 * @param timer The timer to clear.
241 extern void fsm_deltimer(fsm_timer *timer);
244 * Adds and starts a timer t
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dglobal.h20 #include <linux/timer.h>
/linux-master/arch/powerpc/include/asm/
H A Dfsl_gtm.h34 unsigned int timer);

Completed in 205 milliseconds

1234567891011>>