Home
last modified time | relevance | path

Searched refs:clockevent (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/clocksource/
H A Dtimer-davinci.c67 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 Dtimer-vt8500.c86 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 Dtimer-ti-dm-systimer.c31 static u32 clockevent; variable
276 clockevent = pa; in dmtimer_systimer_assign_alwon()
280 clockevent = DMTIMER_INST_DONT_CARE; in dmtimer_systimer_assign_alwon()
298 if (res.start == clocksource || res.start == clockevent) in dmtimer_systimer_find_first_available()
315 if (clockevent == DMTIMER_INST_DONT_CARE) in dmtimer_systimer_select_best()
316 clockevent = dmtimer_systimer_find_first_available(); in dmtimer_systimer_select_best()
319 __func__, counter_32k, clocksource, clockevent); in dmtimer_systimer_select_best()
429 to_dmtimer_clockevent(struct clock_event_device *clockevent) in to_dmtimer_clockevent() argument
431 return container_of(clockevent, struct dmtimer_clockevent, dev); in to_dmtimer_clockevent()
817 if (!clocksource && !clockevent) in dmtimer_systimer_init()
[all …]
H A Dsh_tmu.c424 bool clockevent, bool clocksource) in sh_tmu_register() argument
426 if (clockevent) { in sh_tmu_register()
438 bool clockevent, bool clocksource, in sh_tmu_channel_setup() argument
442 if (!clockevent && !clocksource) in sh_tmu_channel_setup()
461 clockevent, clocksource); in sh_tmu_channel_setup()
H A Dsh_cmt.c876 bool clockevent, bool clocksource) in sh_cmt_register() argument
880 if (clockevent) { in sh_cmt_register()
896 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
903 if (!clockevent && !clocksource) in sh_cmt_setup_channel()
946 clockevent, clocksource); in sh_cmt_setup_channel()
1100 bool clockevent = i == 0; in sh_cmt_setup() local
1103 clockevent, clocksource, cmt); in sh_cmt_setup()
/linux/arch/xtensa/kernel/
H A Dtime.c130 struct clock_event_device *clockevent = &timer->evt; in local_timer_setup() local
134 clockevent->name = timer->name; in local_timer_setup()
135 clockevent->cpumask = cpumask_of(cpu); in local_timer_setup()
136 clockevent->irq = irq_create_mapping(NULL, LINUX_TIMER_INT); in local_timer_setup()
137 if (WARN(!clockevent->irq, "error: can't map timer irq")) in local_timer_setup()
139 clockevents_config_and_register(clockevent, ccount_freq, in local_timer_setup()
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-beagle-ab4.dts21 /* Unusable as clockevent because of unreliable oscillator, allow to idle */
39 /* Preferred timer for clockevent */
H A Domap2420.dtsi254 /* Preferred always-on timer for clockevent */
H A Dam3517.dtsi212 /* Preferred timer for clockevent */
H A Dam33xx.dtsi714 /* Preferred timer for clockevent */
H A Dam4372.dtsi800 /* Preferred timer for clockevent */
H A Domap5.dtsi824 /* Preferred always-on timer for clockevent */
H A Domap4.dtsi861 /* Preferred always-on timer for clockevent */
H A Ddra7.dtsi1333 /* Preferred always-on timer for clockevent */
/linux/arch/arc/boot/dts/
H A Dskeleton.dtsi30 /* TIMER0 with interrupt for clockevent */
H A Dskeleton_hs.dtsi25 /* TIMER0 with interrupt for clockevent */
H A Dskeleton_hs_idu.dtsi43 /* TIMER0 with interrupt for clockevent */
H A Dabilis_tb10x.dtsi26 /* TIMER0 with interrupt for clockevent */
H A Dhsdk.dts95 /* TIMER0 with interrupt for clockevent */
/linux/arch/arm/mach-at91/
H A DKconfig203 Select this to get a high resolution clockevent (SAM9X60) or
204 clocksource and clockevent (SAMA7G5) based on Microchip 64-bit