Home
last modified time | relevance | path

Searched refs:class_ops (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/rtc/
H A Dinterface.rs10 let class_ops = general_dev.class_ops().ok_or(SystemError::EINVAL)?; in rtc_read_time() localVariable
19 let time = class_ops.read_time(&real_dev)?; in rtc_read_time()
H A Dsysfs.rs57 class_ops: Option<&'static dyn RtcClassOps>, field
75 class_ops: None, in new()
87 pub fn set_class_ops(&self, class_ops: &'static dyn RtcClassOps) { in set_class_ops()
88 self.inner().class_ops = Some(class_ops); in set_class_ops()
91 pub fn class_ops(&self) -> Option<&'static dyn RtcClassOps> { in class_ops() method
92 self.inner().class_ops in class_ops()
115 fn class_ops(&self) -> &'static dyn super::RtcClassOps { in class_ops() method
H A Drtc_cmos.rs221 dev.class_ops().read_time(dev) in read_time()
225 dev.class_ops().set_time(dev, time) in set_time()
H A Dmod.rs47 fn class_ops(&self) -> &'static dyn RtcClassOps; in class_ops() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs85 fn class_ops(&self) -> &'static dyn RtcClassOps { in class_ops() method