/openbmc/phosphor-dbus-monitor/src/ |
H A D | count.hpp | 32 * 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 D | median.hpp | 30 * 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 D | test-arm-mptimer.c | 32 #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 D | watchdog-test.c | 177 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 D | tick-broadcast.c | 187 * 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 D | tick-oneshot.c | 38 * 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 D | tick-internal.h | 98 /* Oneshot related functions */ 126 /* Functions related to oneshot broadcasting */ 133 #else /* !(BROADCAST && ONESHOT): */ 138 #endif /* !(BROADCAST && ONESHOT) */
|
/openbmc/linux/Documentation/leds/ |
H A D | ledtrig-oneshot.rst | 23 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 D | clockchips.h | 27 * 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 D | timer.cpp | 43 if (type == "oneshot") in getType() 45 return TimerType::oneshot; in getType() 56 entry("AVAILABLE_TYPES={oneshot, repeating}")); in getType()
|
/openbmc/sdeventplus/example/ |
H A D | heartbeat.cpp | 41 // 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 D | ptimer.c | 24 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 D | i8253.c | 151 * 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 D | ptimer.h | 76 * 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 D | timer_based_actions.cpp | 113 else if (_type == TimerType::oneshot) in startTimer() 174 if (type == "oneshot") in setTimerConf() 176 _type = TimerType::oneshot; in setTimerConf()
|
/openbmc/docs/architecture/ |
H A D | openbmc-systemd.md | 183 - 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 D | epoll-wait.c | 107 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 D | host-powercycle.service | 5 Type=oneshot
|
H A D | host-poweroff.service | 5 Type=oneshot
|
H A D | host-reset-cold.service | 5 Type=oneshot
|
H A D | host-reset-warm.service | 5 Type=oneshot
|
H A D | host-powercycle-watchdog.service | 5 Type=oneshot
|
H A D | host-poweroff-watchdog.service | 5 Type=oneshot
|
H A D | host-reset-warm-watchdog.service | 5 Type=oneshot
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/pldm/files/ |
H A D | pldm_nic_power_cycle@.service | 5 Type=oneshot
|