Home
last modified time | relevance | path

Searched refs:clocksource (Results 1 – 25 of 2005) sorted by relevance

12345678910>>...81

/linux/include/linux/
A Dclocksource.h24 struct clocksource;
96 struct clocksource { struct
97 u64 (*read)(struct clocksource *cs); argument
115 int (*enable)(struct clocksource *cs); argument
116 void (*disable)(struct clocksource *cs); argument
117 void (*suspend)(struct clocksource *cs); argument
118 void (*resume)(struct clocksource *cs); argument
119 void (*mark_unstable)(struct clocksource *cs); argument
120 void (*tick_stable)(struct clocksource *cs); argument
210 extern int clocksource_unregister(struct clocksource*);
[all …]
/linux/drivers/clocksource/
A D.built-in.a.cmd1clocksource/built-in.a := echo >/dev/null; rm -f drivers/clocksource/built-in.a; /usr/bin/ccache /…
A Dtimer-vt8500.c43 static u64 vt8500_timer_read(struct clocksource *cs) in vt8500_timer_read()
53 static struct clocksource clocksource = { variable
65 u64 alarm = clocksource.read(&clocksource) + cycles; in vt8500_timer_set_next_event()
71 if ((signed)(alarm - clocksource.read(&clocksource)) <= MIN_OSCR_DELTA) in vt8500_timer_set_next_event()
126 ret = clocksource_register_hz(&clocksource, VT8500_TIMER_HZ); in vt8500_timer_init()
129 __func__, clocksource.name); in vt8500_timer_init()
A Dmmio.c12 struct clocksource clksrc;
15 static inline struct clocksource_mmio *to_mmio_clksrc(struct clocksource *c) in to_mmio_clksrc()
20 u64 clocksource_mmio_readl_up(struct clocksource *c) in clocksource_mmio_readl_up()
25 u64 clocksource_mmio_readl_down(struct clocksource *c) in clocksource_mmio_readl_down()
30 u64 clocksource_mmio_readw_up(struct clocksource *c) in clocksource_mmio_readw_up()
35 u64 clocksource_mmio_readw_down(struct clocksource *c) in clocksource_mmio_readw_down()
51 u64 (*read)(struct clocksource *)) in clocksource_mmio_init() argument
A Dtimer-pistachio.c51 struct clocksource cs;
71 pistachio_clocksource_read_cycles(struct clocksource *cs) in pistachio_clocksource_read_cycles()
95 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, in pistachio_clksrc_set_mode()
110 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) in pistachio_clksrc_enable()
120 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) in pistachio_clksrc_disable()
126 static int pistachio_clocksource_enable(struct clocksource *cs) in pistachio_clocksource_enable()
132 static void pistachio_clocksource_disable(struct clocksource *cs) in pistachio_clocksource_disable()
A Dsh_tmu.c47 struct clocksource cs;
253 static u64 sh_tmu_clocksource_read(struct clocksource *cs) in sh_tmu_clocksource_read()
260 static int sh_tmu_clocksource_enable(struct clocksource *cs) in sh_tmu_clocksource_enable()
275 static void sh_tmu_clocksource_disable(struct clocksource *cs) in sh_tmu_clocksource_disable()
299 static void sh_tmu_clocksource_resume(struct clocksource *cs) in sh_tmu_clocksource_resume()
315 struct clocksource *cs = &ch->cs; in sh_tmu_register_clocksource()
439 bool clockevent, bool clocksource) in sh_tmu_register() argument
444 } else if (clocksource) { in sh_tmu_register()
453 bool clockevent, bool clocksource, in sh_tmu_channel_setup() argument
457 if (!clockevent && !clocksource) in sh_tmu_channel_setup()
[all …]
A Dhyperv_timer.c385 static u64 notrace read_hv_clock_tsc_cs(struct clocksource *arg) in read_hv_clock_tsc_cs()
396 static void suspend_hv_clock_tsc(struct clocksource *arg) in suspend_hv_clock_tsc()
407 static void resume_hv_clock_tsc(struct clocksource *arg) in resume_hv_clock_tsc()
420 static int hv_cs_enable(struct clocksource *cs) in hv_cs_enable()
427 static struct clocksource hyperv_cs_tsc = {
453 static u64 notrace read_hv_clock_msr_cs(struct clocksource *arg) in read_hv_clock_msr_cs()
464 static struct clocksource hyperv_cs_msr = {
A Dh8300_tpu.c26 struct clocksource cs;
63 static inline struct tpu_priv *cs_to_priv(struct clocksource *cs) in cs_to_priv()
68 static u64 tpu_clocksource_read(struct clocksource *cs) in tpu_clocksource_read()
82 static int tpu_clocksource_enable(struct clocksource *cs) in tpu_clocksource_enable()
97 static void tpu_clocksource_disable(struct clocksource *cs) in tpu_clocksource_disable()
A Dtimer-ti-dm-systimer.c30 static u32 clocksource; variable
60 struct clocksource dev;
278 clocksource = 0; in dmtimer_systimer_assign_alwon()
280 clocksource = pa; in dmtimer_systimer_assign_alwon()
299 if (pa == clocksource || pa == clockevent) { in dmtimer_systimer_find_first_available()
322 __func__, counter_32k, clocksource, clockevent); in dmtimer_systimer_select_best()
708 to_dmtimer_clocksource(struct clocksource *cs) in to_dmtimer_clocksource()
758 struct clocksource *dev; in dmtimer_clocksource_init()
818 if (!clocksource && !clockevent) in dmtimer_systimer_init()
821 if (!clocksource && !clockevent) { in dmtimer_systimer_init()
[all …]
A Darc_timer.c58 static u64 arc_read_gfrc(struct clocksource *cs) in arc_read_gfrc()
95 static struct clocksource arc_counter_gfrc = {
128 static u64 arc_read_rtc(struct clocksource *cs) in arc_read_rtc()
153 static struct clocksource arc_counter_rtc = {
196 static u64 arc_read_timer1(struct clocksource *cs) in arc_read_timer1()
206 static struct clocksource arc_counter_timer1 = {
A Dh8300_timer16.c27 struct clocksource cs;
71 static inline struct timer16_priv *cs_to_priv(struct clocksource *cs) in cs_to_priv()
76 static u64 timer16_clocksource_read(struct clocksource *cs) in timer16_clocksource_read()
87 static int timer16_enable(struct clocksource *cs) in timer16_enable()
103 static void timer16_disable(struct clocksource *cs) in timer16_disable()
A Dem_sti.c33 struct clocksource cs;
181 static struct em_sti_priv *cs_to_em_sti(struct clocksource *cs) in cs_to_em_sti()
186 static u64 em_sti_clocksource_read(struct clocksource *cs) in em_sti_clocksource_read()
191 static int em_sti_clocksource_enable(struct clocksource *cs) in em_sti_clocksource_enable()
198 static void em_sti_clocksource_disable(struct clocksource *cs) in em_sti_clocksource_disable()
203 static void em_sti_clocksource_resume(struct clocksource *cs) in em_sti_clocksource_resume()
210 struct clocksource *cs = &p->cs; in em_sti_register_clocksource()
A Dingenic-ost.c39 struct clocksource cs;
56 static u64 notrace ingenic_ost_clocksource_readl(struct clocksource *cs) in ingenic_ost_clocksource_readl()
61 static u64 notrace ingenic_ost_clocksource_readh(struct clocksource *cs) in ingenic_ost_clocksource_readh()
71 struct clocksource *cs; in ingenic_ost_probe()
A Dsh_cmt.c106 struct clocksource cs;
622 static u64 sh_cmt_clocksource_read(struct clocksource *cs) in sh_cmt_clocksource_read()
646 static int sh_cmt_clocksource_enable(struct clocksource *cs) in sh_cmt_clocksource_enable()
697 struct clocksource *cs = &ch->cs; in sh_cmt_register_clocksource()
842 bool clockevent, bool clocksource) in sh_cmt_register() argument
853 if (clocksource) { in sh_cmt_register()
863 bool clocksource, struct sh_cmt_device *cmt) in sh_cmt_setup_channel() argument
869 if (!clockevent && !clocksource) in sh_cmt_setup_channel()
912 clockevent, clocksource); in sh_cmt_setup_channel()
1052 bool clocksource = i == 1 || cmt->num_channels == 1; in sh_cmt_setup() local
[all …]
A DKconfig182 bool "Nomakdik clocksource driver" if COMPILE_TEST
194 Use the always on PRCMU Timer as clocksource.
235 Support for the LPC32XX clocksource.
243 Enables the clocksource for the Pistachio SoC.
260 bool "Low power clocksource for STM32 SoCs"
303 clocksource.arm_arch_timer.evtstream parameter.
431 This is a new clocksource driver for the PWM timer found in
491 This enables build of clocksource and clockevent driver for
601 clocksource.
617 as clocksource.
[all …]
A Dtimer-sprd.c163 static u64 sprd_suspend_timer_read(struct clocksource *cs) in sprd_suspend_timer_read()
169 static int sprd_suspend_timer_enable(struct clocksource *cs) in sprd_suspend_timer_enable()
178 static void sprd_suspend_timer_disable(struct clocksource *cs) in sprd_suspend_timer_disable()
183 static struct clocksource suspend_clocksource = {
A Dtimer-ti-32k.c50 struct clocksource cs;
53 static inline struct ti_32k *to_ti_32k(struct clocksource *cs) in to_ti_32k()
58 static u64 notrace ti_32k_read_cycles(struct clocksource *cs) in ti_32k_read_cycles()
/linux/kernel/time/
A Dclocksource.c293 struct clocksource *cs = (struct clocksource *)csin; in clocksource_verify_one_cpu()
358 struct clocksource *cs; in clocksource_watchdog()
504 struct clocksource *cs; in clocksource_reset_watchdog()
581 struct clocksource *cs, *tmp; in __clocksource_watchdog_kthread()
783 struct clocksource *cs; in clocksource_suspend()
795 struct clocksource *cs; in clocksource_resume()
891 struct clocksource *cs; in clocksource_find_best()
1008 struct clocksource *tmp; in clocksource_enqueue()
1314 struct clocksource *cs; in unbind_clocksource_store()
1348 struct clocksource *src; in available_clocksource_show()
[all …]
A Djiffies.c16 static u64 jiffies_read(struct clocksource *cs) in jiffies_read()
32 static struct clocksource clocksource_jiffies = {
71 struct clocksource * __init __weak clocksource_default_clock(void) in clocksource_default_clock()
76 static struct clocksource refined_jiffies;
A Dclocksource-wdtest.c34 static u64 wdtest_jiffies_read(struct clocksource *cs) in wdtest_jiffies_read()
39 static struct clocksource clocksource_wdtest_jiffies = {
54 static u64 wdtest_ktime_read(struct clocksource *cs) in wdtest_ktime_read()
72 static void wdtest_ktime_cs_mark_unstable(struct clocksource *cs) in wdtest_ktime_cs_mark_unstable()
82 static struct clocksource clocksource_wdtest_ktime = {
/linux/arch/arm/mach-footbridge/
A Ddc21285-timer.c23 static u64 cksrc_dc21285_read(struct clocksource *cs) in cksrc_dc21285_read()
28 static int cksrc_dc21285_enable(struct clocksource *cs) in cksrc_dc21285_enable()
36 static void cksrc_dc21285_disable(struct clocksource *cs) in cksrc_dc21285_disable()
41 static struct clocksource cksrc_dc21285 = {
/linux/arch/mips/kernel/
A Dcsrc-bcm1480.c19 static u64 bcm1480_hpt_read(struct clocksource *cs) in bcm1480_hpt_read()
24 struct clocksource bcm1480_clocksource = {
39 struct clocksource *cs = &bcm1480_clocksource; in sb1480_clocksource_init()
A Dcsrc-sb1250.c35 static u64 sb1250_hpt_read(struct clocksource *cs) in sb1250_hpt_read()
40 struct clocksource bcm1250_clocksource = {
55 struct clocksource *cs = &bcm1250_clocksource; in sb1250_clocksource_init()
/linux/arch/mips/sgi-ip30/
A Dip30-timer.c22 static u64 ip30_heart_counter_read(struct clocksource *cs) in ip30_heart_counter_read()
27 struct clocksource ip30_heart_clocksource = {
42 struct clocksource *cs = &ip30_heart_clocksource; in ip30_heart_clocksource_init()
/linux/arch/m68k/hp300/
A Dtime.c23 static u64 hp300_read_clk(struct clocksource *cs);
25 static struct clocksource hp300_clk = {
75 static u64 hp300_read_clk(struct clocksource *cs) in hp300_read_clk()

Completed in 42 milliseconds

12345678910>>...81