Home
last modified time | relevance | path

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

/linux-4.1.27/arch/xtensa/kernel/
Dtime.c121 struct clock_event_device *clockevent = &timer->evt; in local_timer_setup() local
124 clockevent->name = timer->name; in local_timer_setup()
126 clockevent->features = CLOCK_EVT_FEAT_ONESHOT; in local_timer_setup()
127 clockevent->rating = 300; in local_timer_setup()
128 clockevent->set_next_event = ccount_timer_set_next_event; in local_timer_setup()
129 clockevent->set_mode = ccount_timer_set_mode; in local_timer_setup()
130 clockevent->cpumask = cpumask_of(cpu); in local_timer_setup()
131 clockevent->irq = irq_create_mapping(NULL, LINUX_TIMER_INT); in local_timer_setup()
132 if (WARN(!clockevent->irq, "error: can't map timer irq")) in local_timer_setup()
134 clockevents_config_and_register(clockevent, ccount_freq, in local_timer_setup()
/linux-4.1.27/arch/mips/loongson1/
DKconfig25 bool "Use PWM Timer for clockevent/clocksource"
29 This option changes the default clockevent/clocksource to PWM Timer,
35 prompt "Select clockevent/clocksource"
42 Use PWM Timer 0 as the default clockevent/clocksourcer.
47 Use PWM Timer 1 as the default clockevent/clocksourcer.
52 Use PWM Timer 2 as the default clockevent/clocksourcer.
57 Use PWM Timer 3 as the default clockevent/clocksourcer.
/linux-4.1.27/drivers/clocksource/
Dvt8500_timer.c110 static struct clock_event_device clockevent = { variable
131 .dev_id = &clockevent,
159 clockevent.cpumask = cpumask_of(0); in vt8500_timer_init()
163 clockevent.name); in vt8500_timer_init()
164 clockevents_config_and_register(&clockevent, VT8500_TIMER_HZ, in vt8500_timer_init()
Dsh_tmu.c453 bool clockevent, bool clocksource) in sh_tmu_register() argument
455 if (clockevent) { in sh_tmu_register()
467 bool clockevent, bool clocksource, in sh_tmu_channel_setup() argument
471 if (!clockevent && !clocksource) in sh_tmu_channel_setup()
493 clockevent, clocksource); in sh_tmu_channel_setup()
DKconfig203 This enables build of a clocksource and clockevent driver for
213 This enables build of a clockevent driver for the Multi-Function
223 This enables build of a clocksource and clockevent driver for
232 This enables build of a clocksource and clockevent driver for
Dsh_cmt.c829 bool clockevent, bool clocksource) in sh_cmt_register() argument
833 if (clockevent) { in sh_cmt_register()
849 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
855 if (!clockevent && !clocksource) in sh_cmt_setup_channel()
899 clockevent, clocksource); in sh_cmt_setup_channel()
1018 bool clockevent = i == 0; in sh_cmt_setup() local
1021 clockevent, clocksource, cmt); in sh_cmt_setup()
/linux-4.1.27/kernel/time/
DKconfig58 # only related to the tick functionality. Oneshot clockevent devices
/linux-4.1.27/Documentation/
Dsysrq.txt104 clockevent devices.
/linux-4.1.27/arch/x86/
DKconfig760 C states, they are used as per CPU clockevent device when possible.