Lines Matching refs:i32
9 pub second: i32,
10 pub minute: i32,
11 pub hour: i32,
12 pub day: i32,
13 pub month: i32,
14 pub year: i32,
35 pub fn get(&mut self) -> Result<i32, SystemError> { in get() argument
53 self.year = read_cmos(CMOSTimeSelector::Year as u8) as i32; in get()
54 self.month = read_cmos(CMOSTimeSelector::Month as u8) as i32; in get()
55 self.day = read_cmos(CMOSTimeSelector::Day as u8) as i32; in get()
56 self.hour = read_cmos(CMOSTimeSelector::Hour as u8) as i32; in get()
57 self.minute = read_cmos(CMOSTimeSelector::Minute as u8) as i32; in get()
58 self.second = read_cmos(CMOSTimeSelector::Second as u8) as i32; in get()
60 if self.second == read_cmos(CMOSTimeSelector::Second as u8) as i32 { in get()