Searched refs:MAX (Results 1 – 7 of 7) sorted by relevance
10 MAX = 5, enumerator
61 if count * 512 > buf.len() || check_length > u16::MAX as usize { in read_at()70 volatile_write!(port.is, u32::MAX); // Clear pending interrupt bits in read_at()72 let slot = port.find_cmdslot().unwrap_or(u32::MAX); in read_at()74 if slot == u32::MAX { in read_at()220 if count * 512 > buf.len() || check_length > u16::MAX as usize { in write_at()229 volatile_write!(port.is, u32::MAX); // Clear pending interrupt bits in write_at()231 let slot = port.find_cmdslot().unwrap_or(u32::MAX); in write_at()233 if slot == u32::MAX { in write_at()
160 (u32::MAX ^ HBA_PORT_CMD_ST) & volatile_read!(self.cmd) in stop()174 (u32::MAX ^ HBA_PORT_CMD_FRE) & volatile_read!(self.cmd) in stop()
101 process_do_exit(u64::MAX); in panic()
27 const MAX_TIMEOUT: i64 = i64::MAX;
100 return Self::from_bits_truncate(u64::MAX); in from()
98 const MAX_READERS: u32 = core::u32::MAX >> READER_BIT >> 1; //右移3位 in current_reader()