从jiffies 我们可以发现,时钟源的不仅能够通过读取硬件时钟源来实现,还能通过 tick_device,更本质上来说是定时器来实现 不采用TIMER_OF_DECLARE(riscv_timer, "riscv", riscv_timer_init_dt); # cat /sys/bus/clocksource/devices/clocksource0/current_clocksource arm,sp804 # cat/sys/bus/clocksource/devices...
+CLOCKSOURCE_OF_DECLARE(arm_gt, "arm,cortex-a9-global-timer", + global_timer_of_register); +#endif -- 1.7.6.5 ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.orghttps://lists.ozlabs.org/listinfo/devicetree-discuss...
void__clocksource_updatefreq_scale(structclocksource*cs,u32scale,u32freq){u64sec;/**Calcthemaximumnumberofsecondswhichwecanrunbefore*wrappingaround.Forclocksourceswhichhaveamask>32bit*weneedtolimitthemaxsleeptimetohaveagood*conversionprecision.10minutesisstillareasonable*amount.Thatresultsinashiftvalueof24for...
void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq){u64 sec;/** Calc the maximum number of seconds which we can run before* wrapping around. For clocksources which have a mask>32bit* we need to limit the max sleep time to have a good* conversion precisio...
TIMER_OF_DECLARE(mips_gic_timer, "mti,gic-timer",0 comments on commit 48016e7 Please sign in to comment. Footer © 2024 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact Manage cookies Do not share my personal information ...
Elixir Cross Referencer - source file of Linux (version v6.11.4). Browsed file: /include/linux/clocksource.h
master 分支(11) 标签(500) 管理 管理 master ice/spi-trans-size-fix zero-4.10.y ice/defconfig-ns2009 ice/lradc ice/ns2009 ice/wext_def_open ice/mask-mmc-rto ice/defconfig-4.10 ice/codec ice/v3s-basic v4.10 v4.10-rc8 v4.10-rc7 ...