Home
last modified time | relevance | path

Searched refs:_timer (Results 1 – 14 of 14) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dcount_state_floor.cpp50 if (_timer && _timer->isEnabled()) in run()
53 _timer->setEnabled(false); in run()
72 if (!_timer) in run()
74 _timer = std::make_unique<Timer>( in run()
80 if (!_timer->isEnabled()) in run()
83 _timer->restartOnce(_delayTime); in run()
H A Dtimer_based_actions.cpp40 _timer(util::SDEventPlus::getEvent(), in TimerBasedActions()
107 if (!_timer.isEnabled()) in startTimer()
111 _timer.restart(_interval); in startTimer()
115 _timer.restartOnce(_interval); in startTimer()
122 if (_timer.isEnabled()) in stopTimer()
124 _timer.setEnabled(false); in stopTimer()
H A Dcount_state_floor.hpp137 std::unique_ptr<Timer> _timer; member in phosphor::fan::control::json::CountStateFloor
H A Dtimer_based_actions.hpp119 Timer _timer; member in phosphor::fan::control::json::TimerBasedActions
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_action.hpp175 _timer(_event, std::bind(std::mem_fn(&HardPowerOff::powerOff), this)) in HardPowerOff()
184 _timer.restartOnce(_delay); in start()
196 if (_timer.isEnabled()) in cancel()
198 _timer.setEnabled(false); in cancel()
232 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; member in phosphor::fan::monitor::HardPowerOff
267 _timer(_event, std::bind(std::mem_fn(&SoftPowerOff::powerOff), this)) in SoftPowerOff()
276 _timer.restartOnce(_delay); in start()
288 if (_timer.isEnabled()) in cancel()
290 _timer.setEnabled(false); in cancel()
324 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; member in phosphor::fan::monitor::SoftPowerOff
H A Dtach_sensor.hpp270 return _timer.isEnabled(); in timerRunning()
287 _timer.setEnabled(false); in stopTimer()
524 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; member in phosphor::fan::monitor::TachSensor
H A Dtach_sensor.cpp88 _timer(event, std::bind(&Fan::updateState, &fan, std::ref(*this))), in TachSensor()
327 _timer.restartOnce(getDelay(mode)); in startTimer()
/openbmc/qemu/bsd-user/
H A Dsignal.c224 tinfo->_reason._timer._timerid = info->_reason._timer._timerid; in host_to_target_siginfo_noswap()
225 tinfo->_reason._timer._overrun = info->_reason._timer._overrun; in host_to_target_siginfo_noswap()
301 __put_user(info->_reason._timer._timerid, in tswap_siginfo()
302 &tinfo->_reason._timer._timerid); in tswap_siginfo()
303 __put_user(info->_reason._timer._overrun, in tswap_siginfo()
304 &tinfo->_reason._timer._overrun); in tswap_siginfo()
/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_siginfo.h69 } _timer; member
/openbmc/phosphor-hwmon/
H A Dmainloop.hpp124 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; member in MainLoop
H A Dmainloop.cpp345 _timer(_event, std::bind(&MainLoop::read, this)) in MainLoop()
379 _timer.restart(std::chrono::microseconds(_interval)); in run()
/openbmc/qemu/linux-user/
H A Dsignal.c440 __put_user(info->_sifields._timer._timer1, in tswap_siginfo()
441 &tinfo->_sifields._timer._timer1); in tswap_siginfo()
442 __put_user(info->_sifields._timer._timer2, in tswap_siginfo()
443 &tinfo->_sifields._timer._timer2); in tswap_siginfo()
H A Dstrace.c327 tinfo->_sifields._timer._timer1, in print_siginfo()
328 tinfo->_sifields._timer._timer2); in print_siginfo()
H A Dsyscall_defs.h596 } _timer; member