Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/clocksource/
Dtimer-davinci.c68 to_davinci_clockevent(struct clock_event_device *clockevent) in to_davinci_clockevent() argument
70 return container_of(clockevent, struct davinci_clockevent, dev); in to_davinci_clockevent()
74 davinci_clockevent_read(struct davinci_clockevent *clockevent, in davinci_clockevent_read() argument
77 return readl_relaxed(clockevent->base + reg); in davinci_clockevent_read()
80 static void davinci_clockevent_write(struct davinci_clockevent *clockevent, in davinci_clockevent_write() argument
83 writel_relaxed(val, clockevent->base + reg); in davinci_clockevent_write()
118 struct davinci_clockevent *clockevent; in davinci_clockevent_shutdown() local
120 clockevent = to_davinci_clockevent(dev); in davinci_clockevent_shutdown()
122 davinci_tim12_shutdown(clockevent->base); in davinci_clockevent_shutdown()
129 struct davinci_clockevent *clockevent = to_davinci_clockevent(dev); in davinci_clockevent_set_oneshot() local
[all …]
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()
Dtimer-ti-dm-systimer.c30 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()
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()
724 if (!clocksource && !clockevent) in dmtimer_systimer_init()
[all …]
Dsh_tmu.c439 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()
Dsh_cmt.c823 bool clockevent, bool clocksource) in sh_cmt_register() argument
827 if (clockevent) { in sh_cmt_register()
843 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
849 if (!clockevent && !clocksource) in sh_cmt_setup_channel()
887 clockevent, clocksource); in sh_cmt_setup_channel()
1030 bool clockevent = i == 0; in sh_cmt_setup() local
1033 clockevent, clocksource, cmt); in sh_cmt_setup()
DKconfig164 where TIMER0 serves as clockevent and TIMER1 serves as clocksource.
311 TIMER0 serves as clockevent while TIMER1 provides clocksource.
510 This enables build of clocksource and clockevent driver for
518 This enables build of a clocksource and clockevent driver for
527 This enables build of a clockevent driver for the Multi-Function
543 This enables build of a clocksource and clockevent driver for
552 This enables build of a clocksource and clockevent driver for
561 This enables the clocksource and the per CPU clockevent driver for the
635 clockevent.
739 and a clockevent.
/Linux-v5.10/arch/mips/loongson32/
DKconfig39 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-v5.10/arch/xtensa/kernel/
Dtime.c134 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-v5.10/arch/arm/boot/dts/
Domap3-devkit8000.dts23 /* Unusable as clockevent because if unreliable oscillator, allow to idle */
41 /* Preferred timer for clockevent */
Domap3-beagle.dts312 /* Unusable as clockevent because if unreliable oscillator, allow to idle */
330 /* Preferred timer for clockevent */
Dam3517.dtsi189 /* Preferred timer for clockevent */
Domap2420.dtsi258 /* Preferred always-on timer for clockevent */
Domap2430.dtsi361 /* Preferred always-on timer for clockevent */
Dam4372.dtsi570 /* Preferred timer for clockevent */
Dam33xx.dtsi636 /* Preferred timer for clockevent */
Ddm816x.dtsi688 /* Preferred timer for clockevent */
Domap5.dtsi704 /* Preferred always-on timer for clockevent */
Domap4.dtsi692 /* Preferred always-on timer for clockevent */
/Linux-v5.10/arch/arc/boot/dts/
Dskeleton.dtsi30 /* TIMER0 with interrupt for clockevent */
Dskeleton_hs.dtsi25 /* TIMER0 with interrupt for clockevent */
Dskeleton_hs_idu.dtsi43 /* TIMER0 with interrupt for clockevent */
Dabilis_tb10x.dtsi26 /* TIMER0 with interrupt for clockevent */
Dhsdk.dts95 /* TIMER0 with interrupt for clockevent */
/Linux-v5.10/Documentation/devicetree/bindings/timer/
Dsnps,arc-timer.txt5 TIMER0 used as clockevent provider (true for all ARC cores)
/Linux-v5.10/kernel/time/
DKconfig68 # only related to the tick functionality. Oneshot clockevent devices

12