/linux-6.1.9/drivers/clocksource/ |
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 …]
|
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()
|
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 (pa == clocksource || pa == clockevent) { in dmtimer_systimer_find_first_available() 317 if (clockevent == DMTIMER_INST_DONT_CARE) in dmtimer_systimer_select_best() 318 clockevent = dmtimer_systimer_find_first_available(); in dmtimer_systimer_select_best() 321 __func__, counter_32k, clocksource, clockevent); in dmtimer_systimer_select_best() 431 to_dmtimer_clockevent(struct clock_event_device *clockevent) in to_dmtimer_clockevent() argument 433 return container_of(clockevent, struct dmtimer_clockevent, dev); in to_dmtimer_clockevent() 819 if (!clocksource && !clockevent) in dmtimer_systimer_init() [all …]
|
D | sh_tmu.c | 439 bool clockevent, bool clocksource) in sh_tmu_register() argument 441 if (clockevent) { in sh_tmu_register() 453 bool clockevent, bool clocksource, in sh_tmu_channel_setup() argument 457 if (!clockevent && !clocksource) in sh_tmu_channel_setup() 476 clockevent, clocksource); in sh_tmu_channel_setup()
|
D | sh_cmt.c | 858 bool clockevent, bool clocksource) in sh_cmt_register() argument 862 if (clockevent) { in sh_cmt_register() 878 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument 885 if (!clockevent && !clocksource) in sh_cmt_setup_channel() 928 clockevent, clocksource); in sh_cmt_setup_channel() 1083 bool clockevent = i == 0; in sh_cmt_setup() local 1086 clockevent, clocksource, cmt); in sh_cmt_setup()
|
D | Kconfig | 181 where TIMER0 serves as clockevent and TIMER1 serves as clocksource. 291 TIMER0 serves as clockevent while TIMER1 provides clocksource. 506 This enables build of clocksource and clockevent driver for 514 This enables build of a clocksource and clockevent driver for 523 This enables build of a clockevent driver for the Multi-Function 540 This enables build of a clocksource and clockevent driver for 549 This enables build of a clocksource and clockevent driver for 558 This enables the clocksource and the per CPU clockevent driver for the 604 clockevent. 715 and a clockevent.
|
/linux-6.1.9/arch/mips/loongson32/ |
D | Kconfig | 39 bool "Use PWM Timer for clockevent/clocksource" 43 This option changes the default clockevent/clocksource to PWM Timer, 49 prompt "Select clockevent/clocksource" 56 Use PWM Timer 0 as the default clockevent/clocksourcer. 61 Use PWM Timer 1 as the default clockevent/clocksourcer. 66 Use PWM Timer 2 as the default clockevent/clocksourcer. 71 Use PWM Timer 3 as the default clockevent/clocksourcer.
|
/linux-6.1.9/arch/xtensa/kernel/ |
D | time.c | 134 struct clock_event_device *clockevent = &timer->evt; in local_timer_setup() local 138 clockevent->name = timer->name; in local_timer_setup() 139 clockevent->cpumask = cpumask_of(cpu); in local_timer_setup() 140 clockevent->irq = irq_create_mapping(NULL, LINUX_TIMER_INT); in local_timer_setup() 141 if (WARN(!clockevent->irq, "error: can't map timer irq")) in local_timer_setup() 143 clockevents_config_and_register(clockevent, ccount_freq, in local_timer_setup()
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | omap3-beagle-ab4.dts | 21 /* Unusable as clockevent because of unreliable oscillator, allow to idle */ 39 /* Preferred timer for clockevent */
|
D | omap3-devkit8000-common.dtsi | 161 /* Unusable as clockevent because if unreliable oscillator, allow to idle */ 170 /* Preferred timer for clockevent */
|
D | am3517.dtsi | 186 /* Preferred timer for clockevent */
|
D | stm32f746-disco.dts | 113 /* Override timer5 to act as clockevent */
|
D | stm32f769-disco.dts | 141 /* Override timer5 to act as clockevent */
|
D | omap2420.dtsi | 254 /* Preferred always-on timer for clockevent */
|
D | stm32746g-eval.dts | 198 /* Override timer5 to act as clockevent */
|
D | stm32f469-disco.dts | 232 /* Override timer5 to act as clockevent */
|
D | stm32f429-disco.dts | 209 /* Override timer5 to act as clockevent */
|
/linux-6.1.9/arch/arc/boot/dts/ |
D | skeleton.dtsi | 30 /* TIMER0 with interrupt for clockevent */
|
D | skeleton_hs.dtsi | 25 /* TIMER0 with interrupt for clockevent */
|
D | skeleton_hs_idu.dtsi | 43 /* TIMER0 with interrupt for clockevent */
|
D | abilis_tb10x.dtsi | 26 /* TIMER0 with interrupt for clockevent */
|
/linux-6.1.9/Documentation/devicetree/bindings/timer/ |
D | snps,arc-timer.txt | 5 TIMER0 used as clockevent provider (true for all ARC cores)
|
D | ingenic,sysost.yaml | 14 and one or more 32bit timers for clockevent.
|
/linux-6.1.9/arch/arm/mach-at91/ |
D | Kconfig | 174 Select this to get a high resolution clockevent (SAM9X60) or 175 clocksource and clockevent (SAMA7G5) based on Microchip 64-bit
|
/linux-6.1.9/kernel/time/ |
D | Kconfig | 64 lack support for the generic clockevent framework. 89 # only related to the tick functionality. Oneshot clockevent devices
|