/drivers/clocksource/ |
D | timer-vt8500.c | 43 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()
|
D | mmio.c | 12 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() 26 u64 clocksource_mmio_readl_down(struct clocksource *c) in clocksource_mmio_readl_down() 31 u64 clocksource_mmio_readw_up(struct clocksource *c) in clocksource_mmio_readw_up() 36 u64 clocksource_mmio_readw_down(struct clocksource *c) in clocksource_mmio_readw_down() 52 u64 (*read)(struct clocksource *)) in clocksource_mmio_init() argument
|
D | timer-pistachio.c | 48 struct clocksource cs; 68 pistachio_clocksource_read_cycles(struct clocksource *cs) in pistachio_clocksource_read_cycles() 93 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, in pistachio_clksrc_set_mode() 108 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) in pistachio_clksrc_enable() 118 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) in pistachio_clksrc_disable() 124 static int pistachio_clocksource_enable(struct clocksource *cs) in pistachio_clocksource_enable() 130 static void pistachio_clocksource_disable(struct clocksource *cs) in pistachio_clocksource_disable()
|
D | sh_tmu.c | 47 struct clocksource cs; 248 static struct sh_tmu_channel *cs_to_sh_tmu(struct clocksource *cs) in cs_to_sh_tmu() 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() 286 static void sh_tmu_clocksource_suspend(struct clocksource *cs) in sh_tmu_clocksource_suspend() 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() [all …]
|
D | timer-ti-dm-systimer.c | 30 static u32 clocksource; variable 60 struct clocksource dev; 277 clocksource = 0; in dmtimer_systimer_assign_alwon() 279 clocksource = pa; in dmtimer_systimer_assign_alwon() 298 if (pa == clocksource || pa == clockevent) { in dmtimer_systimer_find_first_available() 321 __func__, counter_32k, clocksource, clockevent); in dmtimer_systimer_select_best() 709 to_dmtimer_clocksource(struct clocksource *cs) in to_dmtimer_clocksource() 714 static u64 dmtimer_clocksource_read_cycles(struct clocksource *cs) in dmtimer_clocksource_read_cycles() 729 static void dmtimer_clocksource_suspend(struct clocksource *cs) in dmtimer_clocksource_suspend() 739 static void dmtimer_clocksource_resume(struct clocksource *cs) in dmtimer_clocksource_resume() [all …]
|
D | hyperv_timer.c | 386 static u64 notrace read_hv_clock_tsc_cs(struct clocksource *arg) in read_hv_clock_tsc_cs() 397 static void suspend_hv_clock_tsc(struct clocksource *arg) in suspend_hv_clock_tsc() 408 static void resume_hv_clock_tsc(struct clocksource *arg) in resume_hv_clock_tsc() 421 static int hv_cs_enable(struct clocksource *cs) in hv_cs_enable() 428 static struct clocksource hyperv_cs_tsc = { 454 static u64 notrace read_hv_clock_msr_cs(struct clocksource *arg) in read_hv_clock_msr_cs() 465 static struct clocksource hyperv_cs_msr = {
|
D | arc_timer.c | 58 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 = {
|
D | em_sti.c | 33 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()
|
D | timer-goldfish.c | 13 struct clocksource cs; 24 static struct goldfish_timer *cs_to_gf(struct clocksource *cs) in cs_to_gf() 29 static u64 goldfish_timer_read(struct clocksource *cs) in goldfish_timer_read() 131 timerdrv->cs = (struct clocksource){ in goldfish_timer_init()
|
D | sh_cmt.c | 107 struct clocksource cs; 633 static struct sh_cmt_channel *cs_to_sh_cmt(struct clocksource *cs) in cs_to_sh_cmt() 638 static u64 sh_cmt_clocksource_read(struct clocksource *cs) in sh_cmt_clocksource_read() 662 static int sh_cmt_clocksource_enable(struct clocksource *cs) in sh_cmt_clocksource_enable() 678 static void sh_cmt_clocksource_disable(struct clocksource *cs) in sh_cmt_clocksource_disable() 688 static void sh_cmt_clocksource_suspend(struct clocksource *cs) in sh_cmt_clocksource_suspend() 699 static void sh_cmt_clocksource_resume(struct clocksource *cs) in sh_cmt_clocksource_resume() 713 struct clocksource *cs = &ch->cs; in sh_cmt_register_clocksource() 858 bool clockevent, bool clocksource) in sh_cmt_register() argument 869 if (clocksource) { in sh_cmt_register() [all …]
|
D | ingenic-ost.c | 39 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()
|
D | Kconfig | 181 where TIMER0 serves as clockevent and TIMER1 serves as clocksource. 197 bool "Nomakdik clocksource driver" if COMPILE_TEST 209 Use the always on PRCMU Timer as clocksource. 250 Support for the LPC32XX clocksource. 258 Enables the clocksource for the Pistachio SoC. 265 This option enables support for Texas Instruments 32.768 Hz clocksource 275 bool "Low power clocksource for STM32 SoCs" 291 TIMER0 serves as clockevent while TIMER1 provides clocksource. 300 ARConnect IP block. Driver automatically picks one of them for clocksource 318 clocksource.arm_arch_timer.evtstream parameter. [all …]
|
D | timer-sprd.c | 163 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 = {
|
D | timer-ti-32k.c | 50 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()
|
D | acpi_pm.c | 60 static u64 acpi_pm_read(struct clocksource *cs) in acpi_pm_read() 65 static struct clocksource clocksource_acpi_pm = { 83 static u64 acpi_pm_read_slow(struct clocksource *cs) in acpi_pm_read_slow()
|
D | timer-tegra186.c | 89 struct clocksource usec; 90 struct clocksource tsc; 91 struct clocksource osc; 296 static u64 tegra186_timer_tsc_read(struct clocksource *cs) in tegra186_timer_tsc_read() 331 static u64 tegra186_timer_osc_read(struct clocksource *cs) in tegra186_timer_osc_read() 350 static u64 tegra186_timer_usec_read(struct clocksource *cs) in tegra186_timer_usec_read()
|
D | clksrc-dbx500-prcmu.c | 30 static u64 notrace clksrc_dbx500_prcmu_read(struct clocksource *cs) in clksrc_dbx500_prcmu_read() 44 static struct clocksource clocksource_dbx500_prcmu = {
|
D | scx200_hrt.c | 42 static u64 read_hrt(struct clocksource *cs) in read_hrt() 48 static struct clocksource cs_hrt = {
|
D | numachip.c | 15 static cycles_t numachip2_timer_read(struct clocksource *cs) in numachip2_timer_read() 20 static struct clocksource numachip2_clocksource = {
|
D | timer-qcom.c | 83 static notrace u64 msm_read_timer_count(struct clocksource *cs) in msm_read_timer_count() 88 static struct clocksource msm_clocksource = { 155 struct clocksource *cs = &msm_clocksource; in msm_timer_init()
|
D | timer-atmel-tcb.c | 53 static u64 tc_get_cycles(struct clocksource *cs) in tc_get_cycles() 68 static u64 tc_get_cycles32(struct clocksource *cs) in tc_get_cycles32() 73 static void tc_clksrc_suspend(struct clocksource *cs) in tc_clksrc_suspend() 88 static void tc_clksrc_resume(struct clocksource *cs) in tc_clksrc_resume() 113 static struct clocksource clksrc = {
|
D | timer-atmel-pit.c | 40 struct clocksource clksrc; 49 static inline struct pit_data *clksrc_to_pit_data(struct clocksource *clksrc) in clksrc_to_pit_data() 73 static u64 read_pit_clk(struct clocksource *cs) in read_pit_clk()
|
D | i8253.c | 36 static u64 i8253_read(struct clocksource *cs) in i8253_read() 97 static struct clocksource i8253_cs = {
|
D | timer-mp-csky.c | 105 static u64 clksrc_read(struct clocksource *c) in clksrc_read() 110 struct clocksource csky_clocksource = {
|
D | timer-microchip-pit64b.c | 84 struct clocksource clksrc; 147 static void mchp_pit64b_clksrc_suspend(struct clocksource *cs) in mchp_pit64b_clksrc_suspend() 154 static void mchp_pit64b_clksrc_resume(struct clocksource *cs) in mchp_pit64b_clksrc_resume() 162 static u64 mchp_pit64b_clksrc_read(struct clocksource *cs) in mchp_pit64b_clksrc_read()
|