Home
last modified time | relevance | path

Searched refs:oneshot (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/watchdog/
H A Dwatchdog-test.c100 int oneshot = 0; in main() local
140 oneshot = 1; in main()
155 oneshot = 1; in main()
165 oneshot = 1; in main()
181 oneshot = 1; in main()
185 oneshot = 1; in main()
199 oneshot = 1; in main()
203 oneshot = 1; in main()
211 oneshot = 1; in main()
226 oneshot in main()
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/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()
299 if (oneshot) in do_threads()
473 getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs); in bench_epoll_wait()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
H A Di8253.h26 extern void clockevent_i8253_init(bool oneshot);
/kernel/linux/linux-6.6/include/linux/
H A Di8253.h26 extern void clockevent_i8253_init(bool oneshot);
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_hvs.c254 struct drm_display_mode *mode, bool oneshot) in vc4_hvs_init_channel()
268 * When feeding the transposer, we should operate in oneshot in vc4_hvs_init_channel()
278 (oneshot ? SCALER_DISPCTRLX_ONESHOT : 0); in vc4_hvs_init_channel()
284 (oneshot ? SCALER5_DISPCTRLX_ONESHOT : 0); in vc4_hvs_init_channel()
400 bool oneshot = vc4_state->feed_txp; in vc4_hvs_atomic_enable() local
403 vc4_hvs_init_channel(vc4, crtc, mode, oneshot); in vc4_hvs_atomic_enable()
253 vc4_hvs_init_channel(struct vc4_dev *vc4, struct drm_crtc *crtc, struct drm_display_mode *mode, bool oneshot) vc4_hvs_init_channel() argument
/kernel/linux/linux-5.10/kernel/time/
H A Dclocksource.c893 static struct clocksource *clocksource_find_best(bool oneshot, bool skipcur) in clocksource_find_best() argument
901 * We pick the clocksource with the highest rating. If oneshot in clocksource_find_best()
908 if (oneshot && !(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES)) in clocksource_find_best()
917 bool oneshot = tick_oneshot_mode_active(); in __clocksource_select() local
921 best = clocksource_find_best(oneshot, skipcur); in __clocksource_select()
936 * capable clocksource if the tick code is in oneshot in __clocksource_select()
939 if (!(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES) && oneshot) { in __clocksource_select()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_hvs.c348 struct drm_display_mode *mode, bool oneshot) in vc4_hvs_init_channel()
369 * When feeding the transposer, we should operate in oneshot in vc4_hvs_init_channel()
380 (oneshot ? SCALER_DISPCTRLX_ONESHOT : 0); in vc4_hvs_init_channel()
387 (oneshot ? SCALER5_DISPCTRLX_ONESHOT : 0); in vc4_hvs_init_channel()
537 bool oneshot = vc4_crtc->feeds_txp; in vc4_hvs_atomic_enable() local
541 vc4_hvs_init_channel(vc4->hvs, crtc, mode, oneshot); in vc4_hvs_atomic_enable()
347 vc4_hvs_init_channel(struct vc4_hvs *hvs, struct drm_crtc *crtc, struct drm_display_mode *mode, bool oneshot) vc4_hvs_init_channel() argument
/kernel/linux/linux-6.6/kernel/time/
H A Dclocksource.c980 static struct clocksource *clocksource_find_best(bool oneshot, bool skipcur) in clocksource_find_best() argument
988 * We pick the clocksource with the highest rating. If oneshot in clocksource_find_best()
995 if (oneshot && !(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES)) in clocksource_find_best()
1004 bool oneshot = tick_oneshot_mode_active(); in __clocksource_select() local
1008 best = clocksource_find_best(oneshot, skipcur); in __clocksource_select()
1023 * capable clocksource if the tick code is in oneshot in __clocksource_select()
1026 if (!(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES) && oneshot) { in __clocksource_select()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
H A Dapic.c331 static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) in __setup_APIC_LVTT() argument
336 if (!oneshot) in __setup_APIC_LVTT()
367 if (!oneshot) in __setup_APIC_LVTT()
499 lapic_timer_set_periodic_oneshot(struct clock_event_device *evt, bool oneshot) in lapic_timer_set_periodic_oneshot() argument
505 __setup_APIC_LVTT(lapic_timer_period, oneshot, 1); in lapic_timer_set_periodic_oneshot()
/kernel/linux/linux-5.10/drivers/leds/
H A Dled-triggers.c396 int oneshot, in led_trigger_blink_setup()
407 if (oneshot) in led_trigger_blink_setup()
393 led_trigger_blink_setup(struct led_trigger *trig, unsigned long *delay_on, unsigned long *delay_off, int oneshot, int invert) led_trigger_blink_setup() argument
/kernel/linux/linux-6.6/drivers/leds/
H A Dled-triggers.c399 int oneshot, in led_trigger_blink_setup()
409 if (oneshot) in led_trigger_blink_setup()
396 led_trigger_blink_setup(struct led_trigger *trig, unsigned long delay_on, unsigned long delay_off, int oneshot, int invert) led_trigger_blink_setup() argument
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dmemdev.c817 mds->fw.oneshot = struct_size(transfer, data, size) < in cxl_fw_prepare()
883 if (mds->fw.oneshot) { in cxl_fw_write()
913 /* Activate FW if oneshot or if the last slice was written */ in cxl_fw_write()
914 if (mds->fw.oneshot || remaining == 0) { in cxl_fw_write()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dxen.c1341 struct vcpu_set_singleshot_timer oneshot; in kvm_xen_hcall_vcpu_op() local
1371 if (kvm_read_guest_virt(vcpu, param, &oneshot, longmode ? sizeof(oneshot) : in kvm_xen_hcall_vcpu_op()
1377 delta = oneshot.timeout_abs_ns - get_kvmclock_ns(vcpu->kvm); in kvm_xen_hcall_vcpu_op()
1378 if ((oneshot.flags & VCPU_SSHOTTMR_future) && delta < 0) { in kvm_xen_hcall_vcpu_op()
1383 kvm_xen_start_timer(vcpu, oneshot.timeout_abs_ns, delta); in kvm_xen_hcall_vcpu_op()
/kernel/linux/linux-6.6/arch/x86/kernel/apic/
H A Dapic.c307 static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) in __setup_APIC_LVTT() argument
312 if (!oneshot) in __setup_APIC_LVTT()
349 if (!oneshot) in __setup_APIC_LVTT()
481 lapic_timer_set_periodic_oneshot(struct clock_event_device *evt, bool oneshot) in lapic_timer_set_periodic_oneshot() argument
487 __setup_APIC_LVTT(lapic_timer_period, oneshot, 1); in lapic_timer_set_periodic_oneshot()
/kernel/linux/linux-6.6/drivers/cxl/
H A Dcxlmem.h348 * @oneshot: whether the fw upload fits in a single transfer
355 bool oneshot; member

Completed in 24 milliseconds