Lines Matching refs:volatile_read
131 if volatile_read!(self.ssts) & HBA_SSTS_PRESENT > 0 { in check_type()
132 let sig = volatile_read!(self.sig); in check_type()
147 while volatile_read!(self.cmd) & HBA_PORT_CMD_CR > 0 { in start()
150 let val: u32 = volatile_read!(self.cmd) | HBA_PORT_CMD_FRE | HBA_PORT_CMD_ST; in start()
160 (u32::MAX ^ HBA_PORT_CMD_ST) & volatile_read!(self.cmd) in stop()
164 while volatile_read!(self.cmd) & (HBA_PORT_CMD_FR | HBA_PORT_CMD_CR) in stop()
174 (u32::MAX ^ HBA_PORT_CMD_FRE) & volatile_read!(self.cmd) in stop()
181 let slots = volatile_read!(self.sact) | volatile_read!(self.ci); in find_cmdslot()
237 volatile_write!(self.serr, volatile_read!(self.serr)); in init()
240 volatile_write!(self.sctl, volatile_read!(self.sctl) | 7 << 8); in init()
243 volatile_write!(self.cmd, volatile_read!(self.cmd) | 1 << 2 | 1 << 1); in init()