Home
last modified time | relevance | path

Searched refs:Clocksource (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/time/
H A Djiffies.rs11 clocksource::{Clocksource, ClocksourceData, ClocksourceFlags, ClocksourceMask, CycleNum, HZ},
38 impl Clocksource for ClocksourceJiffies {
48 fn clocksource(&self) -> Arc<dyn Clocksource> { in clocksource() argument
103 let jiffies = clocksource_default_clock() as Arc<dyn Clocksource>; in jiffies_init()
H A Dclocksource.rs38 pub static ref CLOCKSOURCE_LIST: SpinLock<LinkedList<Arc<dyn Clocksource>>> =
41 pub static ref WATCHDOG_LIST: SpinLock<LinkedList<Arc<dyn Clocksource>>> =
54 pub static CUR_CLOCKSOURCE: SpinLock<Option<Arc<dyn Clocksource>>> = SpinLock::new(None);
138 watchdog: Option<Arc<dyn Clocksource>>,
154 fn get_watchdog(&mut self) -> &mut Option<Arc<dyn Clocksource>> { in get_watchdog() argument
201 pub trait Clocksource: Send + Sync + Debug { trait
234 fn clocksource(&self) -> Arc<dyn Clocksource>; in clocksource() argument
273 impl dyn Clocksource { implementation
918 let mut del_clocks: Vec<Arc<dyn Clocksource>> = Vec::new(); in __clocksource_watchdog_kthread()
H A Dtimekeeping.rs20 clocksource::{clocksource_cyc2ns, Clocksource, CycleNum, HZ},
45 clock: Option<Arc<dyn Clocksource>>,
115 pub fn timekeeper_setup_internals(&self, clock: Arc<dyn Clocksource>) { in timekeeper_setup_internals() argument
/DragonOS/kernel/src/driver/clocksource/
H A Dacpi_pm.rs10 clocksource::{Clocksource, ClocksourceData, ClocksourceFlags, ClocksourceMask, CycleNum},
106 impl Clocksource for Acpipm {
116 fn clocksource(&self) -> Arc<dyn Clocksource> { in clocksource() argument
298 let acpi_pmtmr = clocksource_acpi_pm() as Arc<dyn Clocksource>; in init_acpi_pm_clocksource()