Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs257 res.year = dev.read_cmos(CMOSTimeSelector::Year as u8) as i32; in read_time()
258 res.month = dev.read_cmos(CMOSTimeSelector::Month as u8) as i32; in read_time()
259 res.mday = dev.read_cmos(CMOSTimeSelector::Day as u8) as i32; in read_time()
260 res.hour = dev.read_cmos(CMOSTimeSelector::Hour as u8) as i32; in read_time()
261 res.minute = dev.read_cmos(CMOSTimeSelector::Minute as u8) as i32; in read_time()
262 res.second = dev.read_cmos(CMOSTimeSelector::Second as u8) as i32; in read_time()
264 if res.second == dev.read_cmos(CMOSTimeSelector::Second as u8) as i32 { in read_time()
304 enum CMOSTimeSelector { enum