| /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 | timer-ti-dm-systimer.c | 31 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 D | sh_tmu.c | 424 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 D | sh_cmt.c | 876 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 D | time.c | 130 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 D | omap3-beagle-ab4.dts | 21 /* Unusable as clockevent because of unreliable oscillator, allow to idle */ 39 /* Preferred timer for clockevent */
|
| H A D | omap2420.dtsi | 254 /* Preferred always-on timer for clockevent */
|
| H A D | am3517.dtsi | 212 /* Preferred timer for clockevent */
|
| H A D | am33xx.dtsi | 714 /* Preferred timer for clockevent */
|
| H A D | am4372.dtsi | 800 /* Preferred timer for clockevent */
|
| H A D | omap5.dtsi | 824 /* Preferred always-on timer for clockevent */
|
| H A D | omap4.dtsi | 861 /* Preferred always-on timer for clockevent */
|
| H A D | dra7.dtsi | 1333 /* Preferred always-on timer for clockevent */
|
| /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 */
|
| H A D | abilis_tb10x.dtsi | 26 /* TIMER0 with interrupt for clockevent */
|
| H A D | hsdk.dts | 95 /* TIMER0 with interrupt for clockevent */
|
| /linux/arch/arm/mach-at91/ |
| H A D | Kconfig | 203 Select this to get a high resolution clockevent (SAM9X60) or 204 clocksource and clockevent (SAMA7G5) based on Microchip 64-bit
|