Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dclocksource.h21 struct clocksource;
66 struct clocksource { struct
71 cycle_t (*read)(struct clocksource *cs); argument
84 int (*enable)(struct clocksource *cs); argument
85 void (*disable)(struct clocksource *cs); argument
87 void (*suspend)(struct clocksource *cs); argument
88 void (*resume)(struct clocksource *cs); argument
182 extern int clocksource_unregister(struct clocksource*);
184 extern void clocksource_change_rating(struct clocksource *cs, int rating);
187 extern struct clocksource * __init clocksource_default_clock(void);
[all …]
Dtimekeeper_internal.h31 struct clocksource *clock;
32 cycle_t (*read)(struct clocksource *cs);
136 struct clocksource *c, u32 mult,
Ddw_apb_timer.h37 struct clocksource cs;
/linux-4.4.14/kernel/time/
Dclocksource.c103 static struct clocksource *curr_clocksource;
114 static struct clocksource *watchdog;
122 static void __clocksource_change_rating(struct clocksource *cs, int rating);
139 static void __clocksource_unstable(struct clocksource *cs) in __clocksource_unstable()
156 void clocksource_mark_unstable(struct clocksource *cs) in clocksource_mark_unstable()
171 struct clocksource *cs; in clocksource_watchdog()
302 struct clocksource *cs; in clocksource_reset_watchdog()
313 static void clocksource_enqueue_watchdog(struct clocksource *cs) in clocksource_enqueue_watchdog()
338 static void clocksource_dequeue_watchdog(struct clocksource *cs) in clocksource_dequeue_watchdog()
356 struct clocksource *cs, *tmp; in __clocksource_watchdog_kthread()
[all …]
Djiffies.c62 static cycle_t jiffies_read(struct clocksource *cs) in jiffies_read()
67 static struct clocksource clocksource_jiffies = {
103 struct clocksource * __init __weak clocksource_default_clock(void) in clocksource_default_clock()
108 struct clocksource refined_jiffies;
DMakefile2 obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
Dtimekeeping.c230 static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) in tk_setup_internals()
234 struct clocksource *old_clock; in tk_setup_internals()
407 static cycle_t dummy_clock_read(struct clocksource *cs) in dummy_clock_read()
598 struct clocksource *clock = tk->tkr_mono.clock; in timekeeping_forward_now()
1050 struct clocksource *new, *old; in change_clocksource()
1053 new = (struct clocksource *) data; in change_clocksource()
1089 int timekeeping_notify(struct clocksource *clock) in timekeeping_notify()
1214 struct clocksource *clock; in timekeeping_init()
1359 struct clocksource *clock = tk->tkr_mono.clock; in timekeeping_resume()
DKconfig11 # Architecture has extra clocksource data
15 # Clocksources require validation of the clocksource against the last
/linux-4.4.14/drivers/clocksource/
Dvt8500_timer.c57 static cycle_t vt8500_timer_read(struct clocksource *cs) in vt8500_timer_read()
67 static struct clocksource clocksource = { variable
79 cycle_t alarm = clocksource.read(&clocksource) + cycles; in vt8500_timer_set_next_event()
85 if ((signed)(alarm - clocksource.read(&clocksource)) <= MIN_OSCR_DELTA) in vt8500_timer_set_next_event()
146 if (clocksource_register_hz(&clocksource, VT8500_TIMER_HZ)) in vt8500_timer_init()
148 __func__, clocksource.name); in vt8500_timer_init()
Dmmio.c15 struct clocksource clksrc;
18 static inline struct clocksource_mmio *to_mmio_clksrc(struct clocksource *c) in to_mmio_clksrc()
23 cycle_t clocksource_mmio_readl_up(struct clocksource *c) in clocksource_mmio_readl_up()
28 cycle_t clocksource_mmio_readl_down(struct clocksource *c) in clocksource_mmio_readl_down()
33 cycle_t clocksource_mmio_readw_up(struct clocksource *c) in clocksource_mmio_readw_up()
38 cycle_t clocksource_mmio_readw_down(struct clocksource *c) in clocksource_mmio_readw_down()
54 cycle_t (*read)(struct clocksource *)) in clocksource_mmio_init() argument
Dtime-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()
Dsh_tmu.c52 struct clocksource cs;
253 static struct sh_tmu_channel *cs_to_sh_tmu(struct clocksource *cs) in cs_to_sh_tmu()
258 static cycle_t sh_tmu_clocksource_read(struct clocksource *cs) in sh_tmu_clocksource_read()
265 static int sh_tmu_clocksource_enable(struct clocksource *cs) in sh_tmu_clocksource_enable()
282 static void sh_tmu_clocksource_disable(struct clocksource *cs) in sh_tmu_clocksource_disable()
293 static void sh_tmu_clocksource_suspend(struct clocksource *cs) in sh_tmu_clocksource_suspend()
306 static void sh_tmu_clocksource_resume(struct clocksource *cs) in sh_tmu_clocksource_resume()
322 struct clocksource *cs = &ch->cs; in sh_tmu_register_clocksource()
451 bool clockevent, bool clocksource) in sh_tmu_register() argument
456 } else if (clocksource) { in sh_tmu_register()
[all …]
Dtimer-ti-32k.c60 struct clocksource cs;
63 static inline struct ti_32k *to_ti_32k(struct clocksource *cs) in to_ti_32k()
68 static cycle_t ti_32k_read_cycles(struct clocksource *cs) in ti_32k_read_cycles()
Dem_sti.c45 struct clocksource cs;
196 static struct em_sti_priv *cs_to_em_sti(struct clocksource *cs) in cs_to_em_sti()
201 static cycle_t em_sti_clocksource_read(struct clocksource *cs) in em_sti_clocksource_read()
206 static int em_sti_clocksource_enable(struct clocksource *cs) in em_sti_clocksource_enable()
217 static void em_sti_clocksource_disable(struct clocksource *cs) in em_sti_clocksource_disable()
222 static void em_sti_clocksource_resume(struct clocksource *cs) in em_sti_clocksource_resume()
229 struct clocksource *cs = &p->cs; in em_sti_register_clocksource()
Dh8300_tpu.c36 struct clocksource cs;
74 static inline struct tpu_priv *cs_to_priv(struct clocksource *cs) in cs_to_priv()
79 static cycle_t tpu_clocksource_read(struct clocksource *cs) in tpu_clocksource_read()
93 static int tpu_clocksource_enable(struct clocksource *cs) in tpu_clocksource_enable()
108 static void tpu_clocksource_disable(struct clocksource *cs) in tpu_clocksource_disable()
Dh8300_timer16.c51 struct clocksource cs;
100 static inline struct timer16_priv *cs_to_priv(struct clocksource *cs) in cs_to_priv()
105 static cycle_t timer16_clocksource_read(struct clocksource *cs) in timer16_clocksource_read()
119 static int timer16_enable(struct clocksource *cs) in timer16_enable()
135 static void timer16_disable(struct clocksource *cs) in timer16_disable()
Dsh_cmt.c109 struct clocksource cs;
610 static struct sh_cmt_channel *cs_to_sh_cmt(struct clocksource *cs) in cs_to_sh_cmt()
615 static cycle_t sh_cmt_clocksource_read(struct clocksource *cs) in sh_cmt_clocksource_read()
633 static int sh_cmt_clocksource_enable(struct clocksource *cs) in sh_cmt_clocksource_enable()
650 static void sh_cmt_clocksource_disable(struct clocksource *cs) in sh_cmt_clocksource_disable()
660 static void sh_cmt_clocksource_suspend(struct clocksource *cs) in sh_cmt_clocksource_suspend()
671 static void sh_cmt_clocksource_resume(struct clocksource *cs) in sh_cmt_clocksource_resume()
685 struct clocksource *cs = &ch->cs; in sh_cmt_register_clocksource()
835 bool clockevent, bool clocksource) in sh_cmt_register() argument
846 if (clocksource) { in sh_cmt_register()
[all …]
Dtimer-prima2.c76 static cycle_t notrace sirfsoc_timer_read(struct clocksource *cs) in sirfsoc_timer_read()
124 static void sirfsoc_clocksource_suspend(struct clocksource *cs) in sirfsoc_clocksource_suspend()
137 static void sirfsoc_clocksource_resume(struct clocksource *cs) in sirfsoc_clocksource_resume()
160 static struct clocksource sirfsoc_clocksource = {
Dacpi_pm.c61 static cycle_t acpi_pm_read(struct clocksource *cs) in acpi_pm_read()
66 static struct clocksource clocksource_acpi_pm = {
84 static cycle_t acpi_pm_read_slow(struct clocksource *cs) in acpi_pm_read_slow()
Dscx200_hrt.c46 static cycle_t read_hrt(struct clocksource *cs) in read_hrt()
52 static struct clocksource cs_hrt = {
Dclksrc-dbx500-prcmu.c32 static cycle_t notrace clksrc_dbx500_prcmu_read(struct clocksource *cs) in clksrc_dbx500_prcmu_read()
46 static struct clocksource clocksource_dbx500_prcmu = {
Dtango_xtal.c22 static cycle_t read_clocksource(struct clocksource *cs) in read_clocksource()
27 static struct clocksource tango_xtal = {
Dnumachip.c24 static cycles_t numachip2_timer_read(struct clocksource *cs) in numachip2_timer_read()
29 static struct clocksource numachip2_clocksource = {
Dtimer-atlas7.c88 static cycle_t sirfsoc_timer_read(struct clocksource *cs) in sirfsoc_timer_read()
127 static void sirfsoc_clocksource_suspend(struct clocksource *cs) in sirfsoc_clocksource_suspend()
135 static void sirfsoc_clocksource_resume(struct clocksource *cs) in sirfsoc_clocksource_resume()
153 static struct clocksource sirfsoc_clocksource = {
DKconfig100 Use the always on PRCMU Timer as clocksource
132 This option enables support for Texas Instruments 32.768 Hz clocksource
210 This is a new clocksource driver for the PWM timer found in
248 This enables build of a clocksource and clockevent driver for
268 This enables build of a clocksource and clockevent driver for
277 This enables build of a clocksource and clockevent driver for
328 as clocksource.
Dqcom-timer.c92 static notrace cycle_t msm_read_timer_count(struct clocksource *cs) in msm_read_timer_count()
97 static struct clocksource msm_clocksource = {
184 struct clocksource *cs = &msm_clocksource; in msm_timer_init()
Di8253.c28 static cycle_t i8253_read(struct clocksource *cs) in i8253_read()
89 static struct clocksource i8253_cs = {
Dmetag_generic.c59 static cycle_t metag_clocksource_read(struct clocksource *cs) in metag_clocksource_read()
64 static struct clocksource clocksource_metag = {
Dtimer-atmel-pit.c43 struct clocksource clksrc;
52 static inline struct pit_data *clksrc_to_pit_data(struct clocksource *clksrc) in clksrc_to_pit_data()
76 static cycle_t read_pit_clk(struct clocksource *cs) in read_pit_clk()
Dmips-gic-timer.c137 static cycle_t gic_hpt_read(struct clocksource *cs) in gic_hpt_read()
142 static struct clocksource gic_clocksource = {
Dtimer-atmel-st.c95 static cycle_t read_clk32k(struct clocksource *cs) in read_clk32k()
100 static struct clocksource clk32k = {
Dmxs_timer.c102 static cycle_t timrotv1_get_cycles(struct clocksource *cs) in timrotv1_get_cycles()
201 static struct clocksource clocksource_mxs = {
Dtcb_clksrc.c44 static cycle_t tc_get_cycles(struct clocksource *cs) in tc_get_cycles()
59 static cycle_t tc_get_cycles32(struct clocksource *cs) in tc_get_cycles32()
64 static struct clocksource clksrc = {
Dsamsung_pwm_timer.c296 static void samsung_clocksource_suspend(struct clocksource *cs) in samsung_clocksource_suspend()
301 static void samsung_clocksource_resume(struct clocksource *cs) in samsung_clocksource_resume()
310 static cycle_t notrace samsung_clocksource_read(struct clocksource *c) in samsung_clocksource_read()
315 static struct clocksource samsung_clocksource = {
Ddw_apb_timer.c47 clocksource_to_dw_apb_clocksource(struct clocksource *cs) in clocksource_to_dw_apb_clocksource()
339 static cycle_t __apbt_read_clocksource(struct clocksource *cs) in __apbt_read_clocksource()
350 static void apbt_restart_clocksource(struct clocksource *cs) in apbt_restart_clocksource()
Darm_global_timer.c193 static cycle_t gt_clocksource_read(struct clocksource *cs) in gt_clocksource_read()
198 static struct clocksource gt_clocksource = {
Dexynos_mct.c202 static cycle_t exynos4_frc_read(struct clocksource *cs) in exynos4_frc_read()
207 static void exynos4_frc_resume(struct clocksource *cs) in exynos4_frc_resume()
212 static struct clocksource mct_frc = {
Dtimer-sun5i.c52 struct clocksource clksrc;
155 static cycle_t sun5i_clksrc_read(struct clocksource *clksrc) in sun5i_clksrc_read()
Dcadence_ttc_timer.c92 struct clocksource cs;
161 static cycle_t __ttc_clocksource_read(struct clocksource *cs) in __ttc_clocksource_read()
Darm_arch_timer.c427 static cycle_t arch_counter_read(struct clocksource *cs) in arch_counter_read()
437 static struct clocksource clocksource_counter = {
/linux-4.4.14/arch/arc/kernel/
Dtime.c72 static cycle_t arc_counter_read(struct clocksource *cs) in arc_counter_read()
97 static struct clocksource arc_counter = {
121 static cycle_t arc_counter_read(struct clocksource *cs) in arc_counter_read()
145 static struct clocksource arc_counter = {
168 static cycle_t arc_counter_read(struct clocksource *cs) in arc_counter_read()
173 static struct clocksource arc_counter = {
/linux-4.4.14/arch/mips/kernel/
Dcsrc-bcm1480.c28 static cycle_t bcm1480_hpt_read(struct clocksource *cs) in bcm1480_hpt_read()
33 struct clocksource bcm1480_clocksource = {
48 struct clocksource *cs = &bcm1480_clocksource; in sb1480_clocksource_init()
Dcsrc-sb1250.c44 static cycle_t sb1250_hpt_read(struct clocksource *cs) in sb1250_hpt_read()
49 struct clocksource bcm1250_clocksource = {
64 struct clocksource *cs = &bcm1250_clocksource; in sb1250_clocksource_init()
Dcsrc-ioasic.c25 static cycle_t dec_ioasic_hpt_read(struct clocksource *cs) in dec_ioasic_hpt_read()
30 static struct clocksource clocksource_dec = {
Dcsrc-r4k.c14 static cycle_t c0_hpt_read(struct clocksource *cs) in c0_hpt_read()
19 static struct clocksource clocksource_mips = {
Dcevt-txx9.c26 struct clocksource cs;
30 static cycle_t txx9_cs_read(struct clocksource *cs) in txx9_cs_read()
/linux-4.4.14/arch/arm/mach-footbridge/
Ddc21285-timer.c22 static cycle_t cksrc_dc21285_read(struct clocksource *cs) in cksrc_dc21285_read()
27 static int cksrc_dc21285_enable(struct clocksource *cs) in cksrc_dc21285_enable()
35 static void cksrc_dc21285_disable(struct clocksource *cs) in cksrc_dc21285_disable()
40 static struct clocksource cksrc_dc21285 = {
/linux-4.4.14/arch/mips/netlogic/common/
Dtime.c62 static cycle_t nlm_get_pic_timer(struct clocksource *cs) in nlm_get_pic_timer()
69 static cycle_t nlm_get_pic_timer32(struct clocksource *cs) in nlm_get_pic_timer32()
76 static struct clocksource csrc_pic = {
/linux-4.4.14/arch/mn10300/kernel/
Dcsrc-mn10300.c16 static cycle_t mn10300_read(struct clocksource *cs) in mn10300_read()
21 static struct clocksource clocksource_mn10300 = {
Dinternal.h14 struct clocksource;
/linux-4.4.14/tools/testing/selftests/timers/
Dclocksource-switch.c97 int change_clocksource(char *clocksource) in change_clocksource() argument
107 size = write(fd, clocksource, strlen(clocksource)); in change_clocksource()
DMakefile12 skew_consistency clocksource-switch leap-a-day \
30 ./clocksource-switch
D.gitignore3 clocksource-switch
/linux-4.4.14/arch/mips/loongson32/
DKconfig25 bool "Use PWM Timer for clockevent/clocksource"
29 This option changes the default clockevent/clocksource to PWM Timer,
35 prompt "Select clockevent/clocksource"
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
Dtimer.c25 static cycle_t read_sn2(struct clocksource *cs) in read_sn2()
30 static struct clocksource clocksource_sn2 = {
/linux-4.4.14/arch/c6x/kernel/
Dtime.c29 static cycle_t tsc_read(struct clocksource *cs) in tsc_read()
34 static struct clocksource clocksource_tsc = {
/linux-4.4.14/arch/mips/pistachio/
DKconfig2 bool "Enable General Purpose Timer based clocksource"
7 This option enables a clocksource driver based on a Pistachio
/linux-4.4.14/arch/mips/loongson64/loongson-3/
Dhpet.c251 static cycle_t hpet_read_counter(struct clocksource *cs) in hpet_read_counter()
256 static void hpet_suspend(struct clocksource *cs) in hpet_suspend()
260 static void hpet_resume(struct clocksource *cs) in hpet_resume()
266 static struct clocksource csrc_hpet = {
/linux-4.4.14/arch/ia64/kernel/
Dtime.c34 static cycle_t itc_get_cycles(struct clocksource *cs);
49 static struct clocksource clocksource_itc = {
56 static struct clocksource *itc_clocksource;
326 static cycle_t itc_get_cycles(struct clocksource *cs) in itc_get_cycles()
400 struct clocksource *c, u32 mult, cycle_t cycle_last) in update_vsyscall_old()
Dcyclone.c24 static cycle_t read_cyclone(struct clocksource *cs) in read_cyclone()
29 static struct clocksource clocksource_cyclone = {
/linux-4.4.14/arch/m68k/coldfire/
Ddma_timer.c37 static cycle_t cf_dt_get_cycles(struct clocksource *cs) in cf_dt_get_cycles()
42 static struct clocksource clocksource_cf_dt = {
Dsltimers.c100 static cycle_t mcfslt_read_clk(struct clocksource *cs) in mcfslt_read_clk()
118 static struct clocksource mcfslt_clk = {
Dpit.c121 static cycle_t pit_read_clk(struct clocksource *cs) in pit_read_clk()
137 static struct clocksource pit_clk = {
Dtimers.c92 static cycle_t mcftmr_read_clk(struct clocksource *cs) in mcftmr_read_clk()
108 static struct clocksource mcftmr_clk = {
/linux-4.4.14/arch/alpha/kernel/
Dtime.c137 qemu_cs_read(struct clocksource *cs) in qemu_cs_read()
142 static struct clocksource qemu_cs = {
263 static cycle_t read_rpcc(struct clocksource *cs) in read_rpcc()
268 static struct clocksource clocksource_rpcc = {
/linux-4.4.14/arch/openrisc/kernel/
Dtime.c120 static cycle_t openrisc_timer_read(struct clocksource *cs) in openrisc_timer_read()
125 static struct clocksource openrisc_timer = {
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-timer.c143 static cycle_t hub_rt_read(struct clocksource *cs) in hub_rt_read()
148 struct clocksource hub_rt_clocksource = {
163 struct clocksource *cs = &hub_rt_clocksource; in hub_rt_clocksource_init()
/linux-4.4.14/arch/m68k/68000/
Dtimers.c79 static cycle_t m68328_read_clk(struct clocksource *cs) in m68328_read_clk()
93 static struct clocksource m68328_clk = {
/linux-4.4.14/arch/blackfin/kernel/
Dtime-ts.c29 static notrace cycle_t bfin_read_cycles(struct clocksource *cs) in bfin_read_cycles()
38 static struct clocksource bfin_cs_cycles = {
83 static cycle_t bfin_read_gptimer0(struct clocksource *cs) in bfin_read_gptimer0()
88 static struct clocksource bfin_cs_gptimer0 = {
/linux-4.4.14/arch/um/kernel/
Dtime.c86 static cycle_t timer_read(struct clocksource *cs) in timer_read()
91 static struct clocksource timer_clocksource = {
/linux-4.4.14/arch/mips/alchemy/common/
Dtime.c47 static cycle_t au1x_counter1_read(struct clocksource *cs) in au1x_counter1_read()
52 static struct clocksource au1x_counter1_clocksource = {
/linux-4.4.14/Documentation/devicetree/bindings/cpufreq/
Dtegra124-cpufreq.txt13 - pll_x: Fast PLL clocksource.
15 - dfll: Fast DFLL clocksource that also automatically scales CPU voltage.
/linux-4.4.14/arch/powerpc/kernel/
Dtime.c80 static cycle_t rtc_read(struct clocksource *);
81 static struct clocksource clocksource_rtc = {
89 static cycle_t timebase_read(struct clocksource *);
90 static struct clocksource clocksource_timebase = {
773 static cycle_t rtc_read(struct clocksource *cs) in rtc_read()
778 static cycle_t timebase_read(struct clocksource *cs) in timebase_read()
784 struct clocksource *clock, u32 mult, cycle_t cycle_last) in update_vsyscall_old()
836 struct clocksource *clock; in clocksource_init()
/linux-4.4.14/arch/avr32/kernel/
Dtime.c23 static cycle_t read_cycle_count(struct clocksource *cs) in read_cycle_count()
35 static struct clocksource counter = {
/linux-4.4.14/arch/arm/plat-iop/
Dtime.c41 static cycle_t notrace iop_clocksource_read(struct clocksource *unused) in iop_clocksource_read()
46 static struct clocksource iop_clocksource = {
/linux-4.4.14/arch/unicore32/kernel/
Dtime.c65 static cycle_t puv3_read_oscr(struct clocksource *cs) in puv3_read_oscr()
70 static struct clocksource cksrc_puv3_oscr = {
/linux-4.4.14/arch/mips/loongson64/common/cs5536/
Dcs5536_mfgpt.c147 static cycle_t mfgpt_read(struct clocksource *cs) in mfgpt_read()
194 static struct clocksource clocksource_mfgpt = {
/linux-4.4.14/arch/mips/jz4740/
Dtime.c37 static cycle_t jz4740_clocksource_read(struct clocksource *cs) in jz4740_clocksource_read()
42 static struct clocksource jz4740_clocksource = {
/linux-4.4.14/arch/x86/kernel/cpu/
Dmshyperv.c135 static cycle_t read_hv_clock(struct clocksource *arg) in read_hv_clock()
147 static struct clocksource hyperv_cs = {
/linux-4.4.14/arch/xtensa/kernel/
Dtime.c35 static cycle_t ccount_read(struct clocksource *cs) in ccount_read()
45 static struct clocksource ccount_clocksource = {
/linux-4.4.14/arch/parisc/kernel/
Dtime.c192 static cycle_t read_cr16(struct clocksource *cs) in read_cr16()
197 static struct clocksource clocksource_cr16 = {
/linux-4.4.14/arch/nios2/kernel/
Dtime.c48 struct clocksource cs;
58 to_nios2_clksource(struct clocksource *cs) in to_nios2_clksource()
84 static cycle_t nios2_timer_read(struct clocksource *cs) in nios2_timer_read()
/linux-4.4.14/arch/arm/mach-mmp/
Dtime.c148 static cycle_t clksrc_read(struct clocksource *cs) in clksrc_read()
153 static struct clocksource cksrc = {
/linux-4.4.14/arch/mips/cavium-octeon/
Dcsrc-octeon.c96 static cycle_t octeon_cvmcount_read(struct clocksource *cs) in octeon_cvmcount_read()
101 static struct clocksource clocksource_mips = {
/linux-4.4.14/arch/hexagon/kernel/
Dtime.c75 static cycle_t timer_get_cycles(struct clocksource *cs) in timer_get_cycles()
80 static struct clocksource hexagon_clocksource = {
/linux-4.4.14/arch/x86/platform/uv/
Duv_time.c33 static cycle_t uv_read_rtc(struct clocksource *cs);
37 static struct clocksource clocksource_uv = {
299 static cycle_t uv_read_rtc(struct clocksource *cs) in uv_read_rtc()
/linux-4.4.14/arch/mips/loongson32/common/
Dtime.c65 static cycle_t ls1x_clocksource_read(struct clocksource *cs) in ls1x_clocksource_read()
112 static struct clocksource ls1x_clocksource = {
/linux-4.4.14/arch/tile/kernel/
Dtime.c73 static cycles_t clocksource_get_cycles(struct clocksource *cs) in clocksource_get_cycles()
78 static struct clocksource cycle_counter_cs = {
/linux-4.4.14/arch/microblaze/kernel/
Dtimer.c191 static cycle_t xilinx_read(struct clocksource *cs) in xilinx_read()
222 static struct clocksource clocksource_microblaze = {
/linux-4.4.14/arch/x86/kernel/
Dkvmclock.c91 static cycle_t kvm_clock_get_cycles(struct clocksource *cs) in kvm_clock_get_cycles()
172 static struct clocksource kvm_clock = {
Dtsc.c969 static struct clocksource clocksource_tsc;
987 static cycle_t read_tsc(struct clocksource *cs) in read_tsc()
995 static struct clocksource clocksource_tsc = {
Dhpet.c263 static void hpet_resume_counter(struct clocksource *cs) in hpet_resume_counter()
763 static cycle_t read_hpet(struct clocksource *cs) in read_hpet()
768 static struct clocksource clocksource_hpet = {
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darmv7m_systick.txt4 implements the clocksource feature.
/linux-4.4.14/Documentation/devicetree/bindings/timer/
Dimg,pistachio-gptimer.txt1 * Pistachio general-purpose timer based clocksource
/linux-4.4.14/arch/sparc/kernel/
Dtime_32.c151 static cycle_t timer_cs_read(struct clocksource *cs) in timer_cs_read()
170 static struct clocksource timer_cs = {
Dtime_64.c748 static struct clocksource clocksource_tick = {
773 static cycle_t clocksource_tick_read(struct clocksource *cs) in clocksource_tick_read()
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dnvidia,tegra124-dfll.txt1 NVIDIA Tegra124 DFLL FCPU clocksource
6 The DFLL IP block on Tegra is a root clocksource designed for clocking
/linux-4.4.14/arch/arm/mach-ep93xx/
Dtimer-ep93xx.c62 cycle_t ep93xx_clocksource_read(struct clocksource *c) in ep93xx_clocksource_read()
/linux-4.4.14/arch/x86/xen/
Dtime.c167 static cycle_t xen_clocksource_get_cycles(struct clocksource *cs) in xen_clocksource_get_cycles()
233 static struct clocksource xen_clocksource __read_mostly = {
/linux-4.4.14/arch/arm/mach-davinci/
Dtime.c271 static cycle_t read_cycles(struct clocksource *cs) in read_cycles()
278 static struct clocksource clocksource_davinci = {
/linux-4.4.14/drivers/char/
Dhpet.c72 static cycle_t read_hpet(struct clocksource *cs) in read_hpet()
77 static struct clocksource clocksource_hpet = {
84 static struct clocksource *hpet_clocksource;
110 struct clocksource *hp_clocksource;
/linux-4.4.14/drivers/hv/
Dhv.c137 static cycle_t read_hv_clock_tsc(struct clocksource *arg) in read_hv_clock_tsc()
176 static struct clocksource hyperv_cs_tsc = {
/linux-4.4.14/arch/arm/mach-omap2/
Dtimer.c371 static cycle_t clocksource_read_cycles(struct clocksource *cs) in clocksource_read_cycles()
377 static struct clocksource clocksource_gpt = {
/linux-4.4.14/Documentation/devicetree/bindings/pwm/
Dpwm-samsung.txt8 Be aware that the clocksource driver supports only uniprocessor systems.
/linux-4.4.14/drivers/
DMakefile132 obj-y += clocksource/
DKconfig143 source "drivers/clocksource/Kconfig"
/linux-4.4.14/arch/x86/lguest/
Dboot.c933 static cycle_t lguest_clock_read(struct clocksource *cs) in lguest_clock_read()
964 static struct clocksource lguest_clock = {
/linux-4.4.14/arch/s390/kernel/
Dtime.c191 static cycle_t read_tod_clock(struct clocksource *cs) in read_tod_clock()
196 static struct clocksource clocksource_tod = {
206 struct clocksource * __init clocksource_default_clock(void) in clocksource_default_clock()
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dcommon.c496 static cycle_t ixp4xx_clocksource_read(struct clocksource *c) in ixp4xx_clocksource_read()
/linux-4.4.14/Documentation/timers/
Dtimekeeping.txt6 drivers/clocksource in the kernel tree, but the code may be spread out
60 ns ~= (clocksource * mult) >> shift
/linux-4.4.14/arch/arm/mach-imx/
DKconfig603 Use the ARM Global Timer as clocksource
609 Use SoC Periodic Interrupt Timer (PIT) as clocksource
/linux-4.4.14/Documentation/power/regulator/
Dconsumer.txt191 - clocksource with a voltage-controlled oscillator and control logic to change
/linux-4.4.14/Documentation/prctl/
Dseccomp_filter.txt189 /sys/devices/system/clocksource/clocksource0/current_clocksource set to
/linux-4.4.14/Documentation/
Dkernel-parameters.txt626 clock= [BUGS=X86-32, HW] gettimeofday clocksource override.
628 Forces specified clocksource (if available) to be used
630 clocksource is not available, it defaults to PIT.
633 clocksource= Override the default clocksource
635 Override the default clocksource and use the clocksource
637 Some clocksource names to choose from, depending on
639 [all] jiffies (this is the base, fallback clocksource)
3825 tsc= Disable clocksource stability checks for TSC.
3827 [x86] reliable: mark tsc clocksource as reliable, this
3828 disables clocksource verification at runtime, as well
/linux-4.4.14/Documentation/virtual/kvm/
Dtimekeeping.txt305 a clocksource for a Linux or other kernel has not yet been attempted and is in
397 clocksource.
/linux-4.4.14/
DMAINTAINERS1030 F: drivers/clocksource/timer-prima2.c
1031 F: drivers/clocksource/timer-atlas7.c
1218 F: drivers/clocksource/timer-keystone.c
1243 F: drivers/clocksource/time-lpc32xx.c
1563 F: drivers/clocksource/arm_global_timer.c
1564 F: drivers/clocksource/clksrc_st_lpc.c
1589 F: drivers/clocksource/armv7m_systick.c
1627 F: drivers/clocksource/timer-u300.c
1655 F: drivers/clocksource/clksrc-dbx500-prcmu.c
1688 F: drivers/clocksource/versatile.c
[all …]
/linux-4.4.14/drivers/misc/
DKconfig67 Select this to get a high precision clocksource based on a
/linux-4.4.14/arch/x86/
DKconfig2457 This driver provides a clocksource built upon the on-chip