Home
last modified time | relevance | path

Searched full:oneshot (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/openbmc/phosphor-dbus-monitor/src/
H A Dcount.hpp32 * If the oneshot parameter is true, then this condition won't pass
49 bool oneshot = false) : in CountCondition() argument
51 propertyOp(_propertyOp), oneshot(oneshot) in CountCondition()
84 // If this was a oneshot and the the condition has already in operator ()()
87 if (oneshot && result && lastResult) in operator ()()
103 const bool oneshot; member in phosphor::dbus::monitoring::CountCondition
H A Dmedian.hpp30 * If the oneshot parameter is true, then this condition won't pass
46 bool oneshot = false) : in MedianCondition() argument
48 oneshot(oneshot) in MedianCondition()
98 // If this was a oneshot and the the condition has already in operator ()()
101 if (oneshot && result && lastResult) in operator ()()
115 const bool oneshot; member in phosphor::dbus::monitoring::MedianCondition
/openbmc/qemu/tests/qtest/
H A Dtest-arm-mptimer.c32 #define ONESHOT 0 macro
98 timer_start(ONESHOT, scaler); in test_timer_oneshot()
122 timer_start(ONESHOT, scaler); in test_timer_pause()
144 timer_start(ONESHOT, scaler); in test_timer_pause()
163 timer_start(ONESHOT, scaler); in test_timer_reload()
203 timer_start(ONESHOT, scaler); in test_timer_oneshot_to_periodic()
231 timer_start(ONESHOT, scaler); in test_timer_periodic_to_oneshot()
243 timer_start(ONESHOT, NOSCALE); in test_timer_prescaler()
257 timer_start(ONESHOT, 0xAB); in test_timer_prescaler()
274 timer_start(ONESHOT, NOSCALE); in test_timer_prescaler_on_the_fly()
[all …]
/openbmc/linux/tools/testing/selftests/watchdog/
H A Dwatchdog-test.c177 int oneshot = 0; in main() local
218 oneshot = 1; in main()
232 oneshot = 1; in main()
242 oneshot = 1; in main()
253 oneshot = 1; in main()
273 oneshot = 1; in main()
277 oneshot = 1; in main()
291 oneshot = 1; in main()
295 oneshot = 1; in main()
303 oneshot = 1; in main()
[all …]
/openbmc/linux/kernel/time/
H A Dtick-broadcast.c187 * If the system already runs in oneshot mode, switch the newly in tick_install_broadcast_device()
188 * registered broadcast device to oneshot mode explicitly. in tick_install_broadcast_device()
197 * where we did not switch to oneshot mode because the per cpu in tick_install_broadcast_device()
199 * of a oneshot capable broadcast device. Without that in tick_install_broadcast_device()
256 * Devices might be registered with both periodic and oneshot in tick_device_uses_broadcast()
290 * If the system is in oneshot mode we can in tick_device_uses_broadcast()
291 * unconditionally clear the oneshot mask bit, in tick_device_uses_broadcast()
425 * trying to switch to oneshot mode. in tick_handle_periodic_broadcast()
476 * avoid a hiccup during switch to oneshot mode in tick_broadcast_control()
677 * periodic to oneshot. If the CPU has not yet in tick_check_oneshot_broadcast_this_cpu()
[all …]
H A Dtick-oneshot.c38 * We need the clock event again, configure it in ONESHOT mode in tick_program_event()
48 * tick_resume_oneshot - resume oneshot mode
59 * tick_setup_oneshot - setup the event device for oneshot mode (hres or nohz)
71 * tick_switch_to_oneshot - switch to oneshot mode
102 * tick_oneshot_mode_active - check whether the system is in oneshot mode
H A Dtick-internal.h98 /* Oneshot related functions */
126 /* Functions related to oneshot broadcasting */
133 #else /* !(BROADCAST && ONESHOT): */
138 #endif /* !(BROADCAST && ONESHOT) */
/openbmc/linux/Documentation/leds/
H A Dledtrig-oneshot.rst23 echo oneshot > trigger
26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot
30 echo oneshot > trigger # set trigger for this led
/openbmc/linux/include/linux/
H A Dclockchips.h27 * SHUTDOWN: Device is powered-off. Can be reached from PERIODIC or ONESHOT.
30 * ONESHOT: Device is programmed to generate event only once. Can be reached
32 * ONESHOT_STOPPED: Device was programmed in ONESHOT mode and is temporarily
76 * @next_event: local storage for the next event in oneshot mode
85 * @set_state_oneshot: switch state to oneshot
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dtimer.cpp43 if (type == "oneshot") in getType()
45 return TimerType::oneshot; in getType()
56 entry("AVAILABLE_TYPES={oneshot, repeating}")); in getType()
/openbmc/sdeventplus/example/
H A Dheartbeat.cpp41 // Time sources are oneshot and are based on an absolute time in main()
45 source.set_enabled(Enabled::OneShot); in main()
/openbmc/qemu/hw/core/
H A Dptimer.c24 uint8_t enabled; /* 0 = disabled, 1 = periodic, 2 = oneshot. */
210 bool oneshot = (s->enabled == 2); in ptimer_get_count() local
225 if (!oneshot && (s->delta * period < 10000) && in ptimer_get_count()
265 if (!oneshot && s->delta == s->limit) { in ptimer_get_count()
306 void ptimer_run(ptimer_state *s, int oneshot) in ptimer_run() argument
318 s->enabled = oneshot ? 2 : 1; in ptimer_run()
/openbmc/linux/drivers/clocksource/
H A Di8253.c151 * Program the next event in oneshot mode
181 void __init clockevent_i8253_init(bool oneshot) in clockevent_i8253_init() argument
183 if (oneshot) { in clockevent_i8253_init()
/openbmc/qemu/include/hw/
H A Dptimer.h76 * but after a one period for both oneshot and periodic modes. */
271 * @oneshot: non-zero if this timer should only count down once
275 * If the @oneshot argument is zero,
277 * start counting down again. If @oneshot is non-zero, then the counter
283 void ptimer_run(ptimer_state *s, int oneshot);
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dtimer_based_actions.cpp113 else if (_type == TimerType::oneshot) in startTimer()
174 if (type == "oneshot") in setTimerConf()
176 _type = TimerType::oneshot; in setTimerConf()
/openbmc/docs/architecture/
H A Dopenbmc-systemd.md183 - If the service is a "oneshot" type, and the service is required (not wanted)
187 - If the service is not a "oneshot", then it can not fail the target (the target
217 - All services should first try to be "Type=oneshot" so that we can just rely on
219 - If a service can not be "Type=oneshot", then it needs to have a
234 always be to write "oneshot" services that have RemainAfterExit set to yes.
/openbmc/linux/tools/perf/bench/
H A Depoll-wait.c107 static bool oneshot; variable
139 OPT_BOOLEAN( 'S', "oneshot", &oneshot, "Use EPOLLONESHOT semantics"),
224 if (oneshot) { in workerfn()
301 if (oneshot) in do_threads()
486 getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs); in bench_epoll_wait()
/openbmc/openbmc/meta-google/recipes-google/host-power-ctrl/gpio-host-pwr/
H A Dhost-powercycle.service5 Type=oneshot
H A Dhost-poweroff.service5 Type=oneshot
H A Dhost-reset-cold.service5 Type=oneshot
H A Dhost-reset-warm.service5 Type=oneshot
H A Dhost-powercycle-watchdog.service5 Type=oneshot
H A Dhost-poweroff-watchdog.service5 Type=oneshot
H A Dhost-reset-warm-watchdog.service5 Type=oneshot
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/pldm/files/
H A Dpldm_nic_power_cycle@.service5 Type=oneshot

12345678910>>...23