Home
last modified time | relevance | path

Searched refs:timer (Results 201 – 225 of 2757) sorted by relevance

12345678910>>...111

/openbmc/linux/Documentation/devicetree/bindings/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/qemu/tests/qtest/
H A Dnpcm7xx_timer-test.c56 const Timer *timer; member
74 const Timer timer[] = { variable
111 ptrdiff_t diff = t - timer; in timer_index()
139 tim_write(td, td->timer->tcsr_offset, value); in tim_write_tcsr()
144 return tim_read(td, td->timer->tcsr_offset); in tim_read_tcsr()
149 tim_write(td, td->timer->ticr_offset, value); in tim_write_ticr()
154 return tim_read(td, td->timer->ticr_offset); in tim_read_ticr()
159 return tim_read(td, td->timer->tdr_offset); in tim_read_tdr()
171 return BIT(timer_index(td->timer)); in tim_timer_bit()
518 timer_index(td->timer), name); in tim_add_test()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Daddi_apci_1564.c188 outl(0x0, devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_reset()
189 outl(0x0, devpriv->timer + ADDI_TCW_RELOAD_REG); in apci1564_reset()
227 status = inl(devpriv->timer + ADDI_TCW_IRQ_REG); in apci1564_interrupt()
232 ctrl = inl(devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_interrupt()
233 outl(0x0, devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_interrupt()
234 outl(ctrl, devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_interrupt()
505 devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_timer_insn_config()
508 outl(0x0, devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_timer_insn_config()
512 val = inl(devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_timer_insn_config()
517 val = inl(devpriv->timer + ADDI_TCW_STATUS_REG); in apci1564_timer_insn_config()
[all …]
/openbmc/linux/Documentation/timers/
H A Dhrtimers.rst7 One might ask the question: we already have a timer subsystem
8 (kernel/timers.c), why do we need two timer subsystems? After a lot of
10 features into the existing timer framework, and after testing various
11 such high-resolution timer implementations in practice, we came to the
15 things into the timer wheel, but we failed. In hindsight, there are
43 - the timer wheel code is most optimal for use cases which can be
51 largely expect the timer subsystem to have near-zero overhead.
62 high-resolution timer subsystem as well.
69 separate the "timeout" and "precise timer" subsystems.
74 APIs are separated from the timer wheel and are migrated over to
[all …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j7200-mcu-wakeup.dtsi37 mcu_timer0: timer@40400000 {
47 ti,timer-pwm;
60 ti,timer-pwm;
73 ti,timer-pwm;
86 ti,timer-pwm;
99 ti,timer-pwm;
112 ti,timer-pwm;
125 ti,timer-pwm;
138 ti,timer-pwm;
151 ti,timer-pwm;
[all …]
H A Dk3-j721s2-mcu-wakeup.dtsi150 mcu_timer0: timer@40400000 {
159 ti,timer-pwm;
173 ti,timer-pwm;
187 ti,timer-pwm;
201 ti,timer-pwm;
215 ti,timer-pwm;
229 ti,timer-pwm;
243 ti,timer-pwm;
257 ti,timer-pwm;
271 ti,timer-pwm;
[all …]
H A Dk3-j721e-mcu-wakeup.dtsi95 mcu_timer0: timer@40400000 {
104 ti,timer-pwm;
118 ti,timer-pwm;
132 ti,timer-pwm;
146 ti,timer-pwm;
160 ti,timer-pwm;
174 ti,timer-pwm;
188 ti,timer-pwm;
202 ti,timer-pwm;
216 ti,timer-pwm;
[all …]
H A Dk3-j784s4-mcu-wakeup.dtsi154 mcu_timer0: timer@40400000 {
163 ti,timer-pwm;
178 ti,timer-pwm;
192 ti,timer-pwm;
206 ti,timer-pwm;
220 ti,timer-pwm;
234 ti,timer-pwm;
248 ti,timer-pwm;
262 ti,timer-pwm;
276 ti,timer-pwm;
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Deeprom_device.hpp46 timer(SDEventPlus::getEvent(), in EEPROMDevice()
55 timer.restartOnce(std::chrono::milliseconds{bindDelay}); in bind()
63 if (timer.isEnabled()) in unbind()
65 timer.setEnabled(false); in unbind()
138 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer; member in phosphor::fan::presence::EEPROMDevice
H A Derror_reporter.cpp77 auto timer = std::make_unique< in ErrorReporter() local
86 path, std::make_tuple(std::move(timer), std::move(errorTime))); in ErrorReporter()
123 auto& timer = std::get<0>(_fanMissingTimers[fanPath]); in checkFan() local
131 timer->restartOnce(std::get<seconds>(_fanMissingTimers[fanPath])); in checkFan()
133 else if (timer->isEnabled()) in checkFan()
135 timer->setEnabled(false); in checkFan()
141 if (timer->isEnabled()) in checkFan()
143 timer->setEnabled(false); in checkFan()
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dge863-pro3.dtsi20 tcb0: timer@fffa0000 {
21 timer@0 {
22 compatible = "atmel,tcb-timer";
26 timer@2 {
27 compatible = "atmel,tcb-timer";
H A Dat91-sam9_l9260.dts34 tcb0: timer@fffa0000 {
35 timer@0 {
36 compatible = "atmel,tcb-timer";
40 timer@2 {
41 compatible = "atmel,tcb-timer";
130 linux,default-trigger = "timer";
/openbmc/linux/drivers/clocksource/
H A Dtimer-sun4i.c56 static void sun4i_clkevt_time_stop(void __iomem *base, u8 timer) in sun4i_clkevt_time_stop() argument
58 u32 val = readl(base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_stop()
59 writel(val & ~TIMER_CTL_ENABLE, base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_stop()
63 static void sun4i_clkevt_time_setup(void __iomem *base, u8 timer, in sun4i_clkevt_time_setup() argument
66 writel(delay, base + TIMER_INTVAL_REG(timer)); in sun4i_clkevt_time_setup()
69 static void sun4i_clkevt_time_start(void __iomem *base, u8 timer, in sun4i_clkevt_time_start() argument
72 u32 val = readl(base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_start()
80 base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_start()
/openbmc/qemu/hw/timer/
H A Dxilinx_timer.c110 unsigned int timer; in timer_read() local
113 timer = timer_from_addr(addr); in timer_read()
114 xt = &t->timers[timer]; in timer_read()
124 timer, r, xt->regs[R_TCSR] & TCSR_UDT)); in timer_read()
132 D(fprintf(stderr, "%s timer=%d %x=%x\n", __func__, timer, addr * 4, r)); in timer_read()
160 unsigned int timer; in timer_write() local
164 timer = timer_from_addr(addr); in timer_write()
165 xt = &t->timers[timer]; in timer_write()
167 __func__, addr * 4, value, timer, addr & 3)); in timer_write()
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stm32-timers.yaml10 This hardware block provides 3 types of timer along with PWM functionality:
112 const: st,stm32-timer-counter
118 "^timer@[0-9]+$":
125 - st,stm32-timer-trigger
126 - st,stm32h7-timer-trigger
149 timers2: timer@40000000 {
167 timer@1 {
168 compatible = "st,stm32-timer-trigger";
172 compatible = "st,stm32-timer-counter";
/openbmc/u-boot/doc/device-tree-bindings/timer/
H A Daltera_timer.txt5 - compatible : should be "altr,timer-1.0"
8 - interrupts : Should contain the timer interrupt number
13 timer {
14 compatible = "altr,timer-1.0";
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dbase.c89 .timer = { 0x00000001, nv04_timer_new },
110 .timer = { 0x00000001, nv04_timer_new },
132 .timer = { 0x00000001, nv04_timer_new },
152 .timer = { 0x00000001, nv04_timer_new },
174 .timer = { 0x00000001, nv04_timer_new },
196 .timer = { 0x00000001, nv04_timer_new },
218 .timer = { 0x00000001, nv04_timer_new },
240 .timer = { 0x00000001, nv04_timer_new },
262 .timer = { 0x00000001, nv04_timer_new },
284 .timer = { 0x00000001, nv04_timer_new },
[all …]
/openbmc/linux/arch/riscv/boot/dts/canaan/
H A Dk210.dtsi117 clint0: timer@2000000 {
331 timer0: timer@502d0000 {
337 clock-names = "timer", "pclk";
341 timer1: timer@502d0014 {
347 clock-names = "timer", "pclk";
351 timer2: timer@502e0000 {
357 clock-names = "timer", "pclk";
361 timer3: timer@502e0014 {
367 clock-names = "timer", "pclk";
371 timer4: timer@502f0000 {
[all …]
/openbmc/telemetry/src/
H A Dnumeric_threshold.cpp52 auto& timer = details.timer; in sensorUpdated() local
75 timer.cancel(); in sensorUpdated()
97 auto& timer = details.timer; in startTimer() local
106 timer.expires_after(dwellTime); in startTimer()
107 timer.async_wait([this, &sensorName, &dwell, in startTimer()
/openbmc/linux/net/ax25/
H A Dax25_timer.c41 timer_setup(&ax25->timer, ax25_heartbeat_expiry, 0); in ax25_setup_timers()
50 mod_timer(&ax25->timer, jiffies + 5 * HZ); in ax25_start_heartbeat()
81 del_timer(&ax25->timer); in ax25_stop_heartbeat()
109 unsigned long ax25_display_timer(struct timer_list *timer) in ax25_display_timer() argument
111 long delta = timer->expires - jiffies; in ax25_display_timer()
113 if (!timer_pending(timer)) in ax25_display_timer()
124 ax25_cb *ax25 = from_timer(ax25, t, timer); in ax25_heartbeat_expiry()
/openbmc/u-boot/Documentation/devicetree/bindings/timer/
H A Dfsl,mpc83xx-timer.txt1 MPC83xx timer devices
7 - compatible: must be "fsl,mpc83xx-timer"
18 timer {
19 compatible = "fsl,mpc83xx-timer";
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dshutdown_alarm_monitor.cpp227 auto& timer = alarm->second; in checkAlarm() local
230 if (!timer) in checkAlarm()
237 if (timer) in checkAlarm()
319 auto& timer = alarm->second; in startTimer() local
321 timer = std::make_unique< in startTimer()
325 timer->restartOnce(shutdownDelay); in startTimer()
353 auto& timer = alarm->second; in stopTimer() local
354 timer->setEnabled(false); in stopTimer()
355 timer.reset(); in stopTimer()
418 if (timer) in powerStateChanged()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dam4372.dtsi217 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
225 compatible = "ti,am4372-timer","ti,am335x-timer";
232 compatible = "ti,am4372-timer","ti,am335x-timer";
240 compatible = "ti,am4372-timer","ti,am335x-timer";
249 compatible = "ti,am4372-timer","ti,am335x-timer";
258 compatible = "ti,am4372-timer","ti,am335x-timer";
267 compatible = "ti,am4372-timer","ti,am335x-timer";
276 compatible = "ti,am4372-timer","ti,am335x-timer";
284 compatible = "ti,am4372-timer","ti,am335x-timer";
292 compatible = "ti,am4372-timer","ti,am335x-timer";
[all …]
/openbmc/linux/kernel/time/
H A Dtimer_list.c46 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer() argument
49 SEQ_printf(m, " #%d: <%pK>, %ps", idx, taddr, timer->function); in print_timer()
50 SEQ_printf(m, ", S:%02x", timer->state); in print_timer()
53 (unsigned long long)ktime_to_ns(hrtimer_get_softexpires(timer)), in print_timer()
54 (unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)), in print_timer()
55 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer()
56 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer()
63 struct hrtimer *timer, tmp; in print_active_timers() local
87 timer = container_of(curr, struct hrtimer, node); in print_active_timers()
88 tmp = *timer; in print_active_timers()
[all …]
/openbmc/qemu/hw/watchdog/
H A Dallwinner-wdt.c182 ptimer_transaction_begin(s->timer); in allwinner_wdt_update_timer()
183 ptimer_stop(s->timer); in allwinner_wdt_update_timer()
187 ptimer_set_count(s->timer, allwinner_wdt_count_map[count]); in allwinner_wdt_update_timer()
193 ptimer_run(s->timer, 1); in allwinner_wdt_update_timer()
194 ptimer_transaction_commit(s->timer); in allwinner_wdt_update_timer()
317 VMSTATE_PTIMER(timer, AwWdtState),
339 s->timer = ptimer_init(allwinner_wdt_expired, s, in allwinner_wdt_realize()
344 ptimer_transaction_begin(s->timer); in allwinner_wdt_realize()
346 ptimer_set_freq(s->timer, 2); in allwinner_wdt_realize()
347 ptimer_set_limit(s->timer, 0xff, 1); in allwinner_wdt_realize()
[all …]

12345678910>>...111