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

/linux-4.1.27/kernel/time/
H A Dtick-oneshot.c2 * linux/kernel/time/tick-oneshot.c
35 * tick_resume_onshot - resume oneshot mode
46 * tick_setup_oneshot - setup the event device for oneshot mode (hres or nohz)
58 * tick_switch_to_oneshot - switch to oneshot mode
90 * tick_check_oneshot_mode - check whether the system is in oneshot mode
H A DMakefile11 obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
H A Dtick-broadcast.c107 * where we did not switch to oneshot mode because the per cpu tick_install_broadcast_device()
109 * of a oneshot capable broadcast device. Without that tick_install_broadcast_device()
167 * Devices might be registered with both periodic and oneshot tick_device_uses_broadcast()
201 * If the system is in oneshot mode we can tick_device_uses_broadcast()
202 * unconditionally clear the oneshot mask bit, tick_device_uses_broadcast()
565 * periodic to oneshot. If the CPU has not yet tick_check_oneshot_broadcast_this_cpu()
576 * Handle oneshot mode broadcasting
677 * tick_broadcast_oneshot_control - Enter/exit broadcast oneshot mode
869 * The first cpu which switches to oneshot mode sets tick_broadcast_setup_oneshot()
880 * Select oneshot operating mode for the broadcast device
943 * Check whether the broadcast device supports oneshot.
H A Dclocksource.c525 static struct clocksource *clocksource_find_best(bool oneshot, bool skipcur) clocksource_find_best() argument
533 * We pick the clocksource with the highest rating. If oneshot clocksource_find_best()
540 if (oneshot && !(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES)) clocksource_find_best()
549 bool oneshot = tick_oneshot_mode_active(); __clocksource_select() local
553 best = clocksource_find_best(oneshot, skipcur); __clocksource_select()
565 * capable clocksource if the tick code is in oneshot __clocksource_select()
568 if (!(cs->flags & CLOCK_SOURCE_VALID_FOR_HRES) && oneshot) { __clocksource_select()
H A Dtick-common.c62 * tick_is_oneshot_available - check for a oneshot capable event device
117 * Have to be careful here. If we're in oneshot mode, tick_handle_periodic()
255 /* Prefer oneshot capable device */ tick_check_preferred()
H A Dclockevents.c528 * @min_delta: The minimum clock ticks to program in oneshot mode
529 * @max_delta: The maximum clock ticks to program in oneshot mode
531 * min/max_delta can be 0 for devices which do not support oneshot mode.
562 * Reconfigure and reprogram a clock event device in oneshot
H A Dtick-internal.h116 /* Functions related to oneshot broadcasting */ tick_check_oneshot_change()
H A Dtimer_list.c249 SEQ_printf(m, " oneshot: "); print_tickdevice()
H A Dtick-sched.c1225 * Check, if a change happened, which makes oneshot possible.
/linux-4.1.27/include/linux/
H A Di8253.h25 extern void clockevent_i8253_init(bool oneshot);
H A Dclockchips.h81 * @next_event: local storage for the next event in oneshot mode
92 * @set_state_oneshot: switch state to oneshot, if !set_mode
124 * - set_state_{shutdown|periodic|oneshot}(), tick_resume().
H A Dirqdesc.h38 * @threads_oneshot: bitfield to handle shared oneshot threads
H A Dleds.h134 * led_blink_set_oneshot - do a oneshot software blink
/linux-4.1.27/drivers/clocksource/
H A Di8253.c144 * Program the next event in oneshot mode
173 void __init clockevent_i8253_init(bool oneshot) clockevent_i8253_init() argument
175 if (oneshot) clockevent_i8253_init()
H A Dtcb_clksrc.c26 * source, used in either periodic or oneshot mode. This runs
109 * of oneshot, we get lower overhead and improved accuracy. tc_mode()
342 /* channel 2: periodic and oneshot timer support */ tcb_clksrc_init()
H A Dtimer-atmel-st.c75 /* simulate "oneshot" timer with alarm */ at91rm9200_timer_interrupt()
126 /* ALM for oneshot irqs, set by next_event() clkevt32k_mode()
H A Dtimer-keystone.c74 * keystone_timer_config: configures timer to work in oneshot/periodic modes.
H A Dvf_pit_timer.c112 * pit hardware doesn't support oneshot, it will generate an interrupt pit_timer_interrupt()
H A Dtimer-u300.c192 * have oneshot timer active, the oneshot scheduling function
H A Dem_sti.c270 dev_info(&p->pdev->dev, "used for oneshot clock events\n"); em_sti_clock_event_mode()
H A Dexynos_mct.c421 * This is for supporting oneshot mode. exynos4_mct_tick_clear()
H A Dsh_tmu.c386 "ch%u: used for oneshot clock events\n", ch->index); sh_tmu_clock_event_mode()
H A Dsh_cmt.c746 "ch%u: used for oneshot clock events\n", ch->index); sh_cmt_clock_event_mode()
/linux-4.1.27/include/linux/iio/
H A Dtrigger_consumer.h25 * @type: the type of interrupt (basically if oneshot)
/linux-4.1.27/arch/mips/loongson/loongson-3/
H A Dhpet.c119 * 0 : non-periodic(oneshot) interrupt hpet_set_mode()
243 /* oneshot mode work normal with this flag */
/linux-4.1.27/arch/sparc/kernel/
H A Dirq.h49 #define FEAT_L14_ONESHOT (1 << 2) /* L14 timer clockevent can oneshot */
/linux-4.1.27/arch/m68k/coldfire/
H A Dpit.c79 * Program the next event in oneshot mode
/linux-4.1.27/Documentation/ptp/
H A Dtestptp.c173 int oneshot = 0; main() local
191 oneshot = atoi(optarg); main()
394 if (oneshot) { main()
405 timeout.it_value.tv_sec = oneshot; main()
/linux-4.1.27/arch/arm/mach-gemini/
H A Dtime.c85 * Disable also for oneshot: the set_next() call will gemini_timer_set_mode()
/linux-4.1.27/arch/arm/mach-lpc32xx/
H A Dtimer.c57 * Disable the timer. When using oneshot, we must also lpc32xx_clkevt_mode()
/linux-4.1.27/fs/ceph/
H A Dstrings.c18 case CEPH_MDS_STATE_REPLAYONCE: return "up:oneshot-replay"; ceph_mds_state_name()
/linux-4.1.27/drivers/leds/
H A Dled-triggers.c272 int oneshot, led_trigger_blink_setup()
282 if (oneshot) led_trigger_blink_setup()
269 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
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-oneshot.c184 .name = "oneshot",
/linux-4.1.27/drivers/cpuidle/
H A Dcpuidle-powernv.c63 /* Register for fastsleep only in oneshot mode of broadcast */
/linux-4.1.27/arch/mips/loongson/common/cs5536/
H A Dcs5536_mfgpt.c74 /* The oneshot mode have very high deviation, Not use it! */ init_mfgpt_timer()
/linux-4.1.27/arch/openrisc/kernel/
H A Dtime.c60 pr_debug(KERN_INFO "%s: oneshot\n", __func__); openrisc_timer_set_mode()
/linux-4.1.27/kernel/power/
H A Dsuspend_test.c123 * It's supposed to give oneshot behavior; cope. test_wakealarm()
/linux-4.1.27/arch/tile/kernel/
H A Dtime.c188 * Mask the timer interrupt here, since we are a oneshot timer do_timer_interrupt()
/linux-4.1.27/arch/microblaze/kernel/
H A Dtimer.c134 pr_info("%s: oneshot\n", __func__); xilinx_timer_set_mode()
/linux-4.1.27/arch/s390/kernel/
H A Dvtime.c299 * add_virt_timer - add an oneshot virtual CPU timer
/linux-4.1.27/arch/hexagon/kernel/
H A Dtime.c101 * Sets the mode (periodic, shutdown, oneshot, etc) of a timer.
/linux-4.1.27/arch/arc/kernel/
H A Dtime.c148 * The distinction for oneshot/periodic is done in arc_event_timer_ack() below
/linux-4.1.27/arch/x86/platform/uv/
H A Duv_time.c324 * Setup the RTC timer in oneshot mode
/linux-4.1.27/arch/arm/mach-davinci/
H A Dtime.c356 * This is equivalent to a oneshot timer only (not periodic). davinci_timer_init()
/linux-4.1.27/arch/alpha/kernel/
H A Dtime.c118 /* This hook is for oneshot mode, which we don't support. */ rtc_ce_set_next_event()
/linux-4.1.27/kernel/irq/
H A Dmanage.c683 * with handler == NULL. Useful for oneshot interrupts.
741 * This also serializes the state of shared oneshot handlers irq_finalize_oneshot()
918 * oneshot mask bit can be set. We cannot verify that as we irq_thread()
919 * cannot touch the oneshot mask at this point anymore as irq_thread()
1163 * does not have the oneshot flag set. In combination __setup_irq()
H A Dchip.c409 * Called unconditionally from handle_level_irq() and only for oneshot
/linux-4.1.27/arch/x86/kernel/apic/
H A Dapic.c320 static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) __setup_APIC_LVTT() argument
325 if (!oneshot) __setup_APIC_LVTT()
358 if (!oneshot) __setup_APIC_LVTT()
473 * Setup the lapic timer in periodic or oneshot mode
/linux-4.1.27/arch/mn10300/include/asm/
H A Dtimer-regs.h354 #define TM6MD_ONESHOT_ENABLE 0x0040 /* oneshot count */
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dchannel.c467 "oneshot noa_duration: %d, noa_start: %d, noa_index: %d, periodic: %d\n", ath_chanctx_set_oneshot_noa()
505 "Clearing oneshot NoA\n"); ath_chanctx_event()
/linux-4.1.27/drivers/mfd/
H A Dmenelaus.c1093 /* then disable it; alarms are oneshot */ menelaus_rtc_alarm_work()
/linux-4.1.27/drivers/rtc/
H A Dinterface.c179 * Linux uses only oneshot alarms. __rtc_read_alarm()
H A Drtc-cmos.c620 /* All Linux RTC alarms should be treated as if they were oneshot. cmos_interrupt()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_uncore.c582 "enabling oneshot unclaimed register reporting. " hsw_unclaimed_reg_detect()
/linux-4.1.27/arch/x86/kernel/
H A Dtsc.c672 * 1) PIT loop. We set the PIT Channel 2 to oneshot mode and native_calibrate_tsc()
/linux-4.1.27/arch/x86/kvm/
H A Dlapic.c1179 /* lapic timer in oneshot or periodic mode */ start_apic_timer()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
H A Dvxge-traffic.c325 * if configured in MSIX oneshot mode
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_frontend.c2336 /* Set CAN_INVERSION_AUTO bit on in other than oneshot mode */ dvb_frontend_ioctl_legacy()

Completed in 1550 milliseconds