Home
last modified time | relevance | path

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

123

/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 in main()
[all...]
/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-internal.h103 /* Oneshot related functions */
131 /* Functions related to oneshot broadcasting */
138 #else /* !(BROADCAST && ONESHOT): */
143 #endif /* !(BROADCAST && ONESHOT) */
H A Dclockevents.c318 /* We must be in ONESHOT state here */ in clockevents_program_event()
507 * @min_delta: The minimum clock ticks to program in oneshot mode
508 * @max_delta: The maximum clock ticks to program in oneshot mode
510 * min/max_delta can be 0 for devices which do not support oneshot mode.
541 * Reconfigure and reprogram a clock event device in oneshot
H A Dtick-common.c70 * tick_is_oneshot_available - check for a oneshot capable event device
135 * Have to be careful here. If we're in oneshot mode, in tick_handle_periodic()
291 /* Prefer oneshot capable device */ in tick_check_preferred()
364 * tick_broadcast_oneshot_control - Enter/exit broadcast oneshot mode
H A DMakefile24 obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
H A Dclocksource.c1002 static struct clocksource *clocksource_find_best(bool oneshot, bool skipcur) in clocksource_find_best() argument
1010 * We pick the clocksource with the highest rating. If oneshot in clocksource_find_best()
1017 if (oneshot && !(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES)) in clocksource_find_best()
1026 bool oneshot = tick_oneshot_mode_active(); in __clocksource_select() local
1030 best = clocksource_find_best(oneshot, skipcur); in __clocksource_select()
1045 * capable clocksource if the tick code is in oneshot in __clocksource_select()
1048 if (!(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES) && oneshot) { in __clocksource_select()
H A Dtimer_list.c219 SEQ_printf(m, " oneshot: %ps\n", in print_tickdevice()
223 SEQ_printf(m, " oneshot stopped: %ps\n", in print_tickdevice()
/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
H A Dindex.rst13 ledtrig-oneshot
/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
H A Di8253.h25 extern void clockevent_i8253_init(bool oneshot);
/linux/drivers/clocksource/
H A Di8253.c168 * Program the next event in oneshot mode
198 void __init clockevent_i8253_init(bool oneshot) in clockevent_i8253_init() argument
200 if (oneshot) { in clockevent_i8253_init()
H A Dtimer-atmel-st.c61 /* simulate "oneshot" timer with alarm */ in at91rm9200_timer_interrupt()
118 * ALM for oneshot irqs, set by next_event() in clkevt32k_set_oneshot()
H A Dtimer-atmel-tcb.c31 * either periodic or oneshot mode. For 16-bit counter its runs at 32 KiHZ,
201 * of oneshot, we get lower overhead and improved accuracy. in tc_set_periodic()
485 /* channel 2: periodic and oneshot timer support */ in tcb_clksrc_init()
/linux/arch/loongarch/kvm/
H A Dtimer.c84 * If oneshot timer is fired, CSR TVAL will be -1, there are two in kvm_restore_timer()
152 * If oneshot timer is fired, CSR TVAL will be -1 in _kvm_save_timer()
/linux/tools/power/cpupower/
H A Dcpupower.service.in10 Type=oneshot
/linux/arch/mips/loongson64/
H A Dhpet.c139 * 0 : non-periodic(oneshot) interrupt in hpet_set_state_oneshot()
271 /* oneshot mode work normal with this flag */
/linux/drivers/leds/trigger/
H A DMakefile3 obj-$(CONFIG_LEDS_TRIGGER_ONESHOT) += ledtrig-oneshot.o
/linux/Documentation/networking/
H A Dip_dynaddr.rst7 This stuff allows diald ONESHOT connections to get established by
/linux/include/linux/iio/
H A Dtrigger_consumer.h22 * @type: the type of interrupt (basically if oneshot)
/linux/scripts/gdb/linux/
H A Dtimerlist.py136 ('set_state_oneshot', " oneshot: {}\n"),
137 ('set_state_oneshot_stopped', " oneshot stopped: {}\n"),
/linux/Documentation/timers/
H A Dhpet.rst10 each of which can generate oneshot interrupts and at least one of which has
/linux/kernel/irq/
H A Dmanage.c974 * with handler == NULL. Useful for oneshot interrupts.
1061 * Oneshot interrupts keep the irq line masked until the threaded
1084 * This also serializes the state of shared oneshot handlers in irq_finalize_oneshot()
1261 * oneshot mask bit can be set. in irq_thread()
1520 * requires the ONESHOT flag to be set. Some irq chips like in __setup_irq()
1532 * a recycled oneshot thread_mask bit while it's still in use by in __setup_irq()
1569 * agree on ONESHOT. in __setup_irq()
1629 * Setup the thread mask for this irqaction for ONESHOT. For in __setup_irq()
1630 * !ONESHOT irqs the thread mask is 0 so we can avoid a in __setup_irq()
1669 * does not have the oneshot fla in __setup_irq()
[all...]
/linux/arch/sparc/kernel/
H A Dirq.h50 #define FEAT_L14_ONESHOT (1 << 2) /* L14 timer clockevent can oneshot */

123