Searched refs:class_ops (Results 1 – 5 of 5) sorted by relevance
10 let class_ops = general_dev.class_ops().ok_or(SystemError::EINVAL)?; in rtc_read_time() localVariable19 let time = class_ops.read_time(&real_dev)?; in rtc_read_time()
57 class_ops: Option<&'static dyn RtcClassOps>, field75 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() method92 self.inner().class_ops in class_ops()115 fn class_ops(&self) -> &'static dyn super::RtcClassOps { in class_ops() method
221 dev.class_ops().read_time(dev) in read_time()225 dev.class_ops().set_time(dev, time) in set_time()
47 fn class_ops(&self) -> &'static dyn RtcClassOps; in class_ops() method
85 fn class_ops(&self) -> &'static dyn RtcClassOps { in class_ops() method