| /linux/drivers/clocksource/ |
| H A D | timer-davinci.c | 67 to_davinci_clockevent(struct clock_event_device *clockevent) in to_davinci_clockevent() argument 69 return container_of(clockevent, struct davinci_clockevent, dev); in to_davinci_clockevent() 73 davinci_clockevent_read(struct davinci_clockevent *clockevent, in davinci_clockevent_read() argument 76 return readl_relaxed(clockevent->base + reg); in davinci_clockevent_read() 79 static void davinci_clockevent_write(struct davinci_clockevent *clockevent, in davinci_clockevent_write() argument 82 writel_relaxed(val, clockevent->base + reg); in davinci_clockevent_write() 117 struct davinci_clockevent *clockevent; in davinci_clockevent_shutdown() local 119 clockevent = to_davinci_clockevent(dev); in davinci_clockevent_shutdown() 121 davinci_tim12_shutdown(clockevent->base); in davinci_clockevent_shutdown() 128 struct davinci_clockevent *clockevent = to_davinci_clockevent(dev); in davinci_clockevent_set_oneshot() local [all …]
|
| H A D | timer-vt8500.c | 86 static struct clock_event_device clockevent = { variable 133 clockevent.cpumask = cpumask_of(0); in vt8500_timer_init() 137 &clockevent); in vt8500_timer_init() 140 clockevent.name); in vt8500_timer_init() 144 clockevents_config_and_register(&clockevent, VT8500_TIMER_HZ, in vt8500_timer_init()
|
| H A D | mps2-timer.c | 112 pr_err("failed to get clock for clockevent: %d\n", ret); in mps2_clockevent_init() 118 pr_err("failed to enable clock for clockevent: %d\n", ret); in mps2_clockevent_init() 128 pr_err("failed to map register for clockevent: %d\n", ret); in mps2_clockevent_init() 135 pr_err("failed to get irq for clockevent: %d\n", ret); in mps2_clockevent_init() 162 pr_err("failed to request irq for clockevent: %d\n", ret); in mps2_clockevent_init()
|
| H A D | timer-atmel-pit.c | 100 * Clockevent device: interrupts every 1/HZ (== pit_cycles * MCK/16) 164 * Set up both clocksource and clockevent support. 218 * so this isn't a 32-bit counter unless we get clockevent irqs. in at91sam926x_pit_dt_init()
|
| H A D | timer-orion.c | 61 * Clockevent handling. 166 /* setup timer1 as clockevent timer */ in orion_timer_init()
|
| H A D | timer-microchip-pit64b.c | 65 * struct mchp_pit64b_clkevt - PIT64B clockevent data structure 67 * @clkevt: clockevent 94 /* Default cycles for clockevent timer. */ 497 /* 1st request, register clockevent. */ in mchp_pit64b_dt_init()
|
| H A D | arc_timer.c | 323 * clockevent setup for boot CPU 332 pr_err("clockevent: missing irq\n"); in arc_clockevent_setup() 344 pr_err("clockevent: unable to request irq\n"); in arc_clockevent_setup()
|
| H A D | timer-atmel-st.c | 150 * Our defense here is to have set up the clockevent device so the in clkevt32k_next_event() 241 /* Setup timer clockevent, with minimum of two ticks (important!!) */ in atmel_st_timer_init()
|
| H A D | timer-lpc32xx.c | 144 .name = "lpc3220 clockevent", 265 IRQF_TIMER | IRQF_IRQPOLL, "lpc3220 clockevent", in lpc32xx_clockevent_init()
|
| H A D | nomadik-mtu.c | 87 /* Clockevent device: use one-shot mode */ 112 /* Generate an interrupt to start the clockevent again */ in nmdk_clkevt_reset()
|
| /linux/include/clocksource/ |
| H A D | timer-davinci.h | 24 * @irq: clockevent and clocksource interrupt resources 25 * @cmp_off: if set - it specifies the compare register used for clockevent 28 * clock half for both clocksource and clockevent and the compare register
|
| /linux/arch/sparc/kernel/ |
| H A D | irq.h | 49 #define FEAT_L10_CLOCKEVENT (1 << 1) /* L10 timer is used as a clockevent */ 50 #define FEAT_L14_ONESHOT (1 << 2) /* L14 timer clockevent can oneshot */ 62 /* generic clockevent features - see FEAT_* above */
|
| /linux/arch/arm/plat-orion/ |
| H A D | time.c | 71 * Clockevent handling. 85 * Clear and enable clockevent timer interrupt. in orion_clkevt_next_event() 94 * Setup new clockevent timer value. in orion_clkevt_next_event() 231 * Setup clockevent timer (interrupt-driven). in orion_time_init()
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-beagle-ab4.dts | 21 /* Unusable as clockevent because of unreliable oscillator, allow to idle */ 39 /* Preferred timer for clockevent */
|
| /linux/arch/arm/mach-spear/ |
| H A D | time.c | 26 * We would use TIMER0 and TIMER1 as clockevent and clocksource. 32 #define CLKEVT 0 /* gpt0, channel0 as clockevent */ 59 * Minimum clocksource/clockevent timer range in seconds
|
| /linux/include/linux/ |
| H A D | clockchips.h | 53 * - Clockevent source stops in C3 State and needs broadcast support. 66 * Clockevent device is based on a hrtimer for broadcast 140 /* Helpers to verify state of a clockevent device */
|
| /linux/arch/arm/mach-mmp/ |
| H A D | time.c | 101 * Setup new clockevent timer value. in timer_set_next_event() 128 .name = "clockevent",
|
| /linux/arch/loongarch/include/asm/ |
| H A D | time.h | 40 * Initialize the calling CPU's timer interrupt as clockevent device
|
| /linux/arch/arc/boot/dts/ |
| H A D | skeleton.dtsi | 30 /* TIMER0 with interrupt for clockevent */
|
| H A D | skeleton_hs.dtsi | 25 /* TIMER0 with interrupt for clockevent */
|
| H A D | skeleton_hs_idu.dtsi | 43 /* TIMER0 with interrupt for clockevent */
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | snps,arc-timer.yaml | 18 TIMER0 used as clockevent provider (true for all ARC cores)
|
| H A D | ingenic,sysost.yaml | 14 and one or more 32bit timers for clockevent.
|
| /linux/arch/mips/include/asm/ |
| H A D | time.h | 39 * Initialize the calling CPU's compare interrupt as clockevent device
|
| /linux/arch/mips/kernel/ |
| H A D | cevt-gt641xx.c | 3 * GT641xx clockevent routines.
|