Searched refs:volatile_read (Results 1 – 4 of 4) sorted by relevance
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()[all …]
80 volatile_read!(port.clb) as usize in read_at()100 (phys_2_virt(volatile_read!(cmdheader.ctba) as usize) as *mut HbaCmdTable) in read_at()112 for i in 0..((volatile_read!(cmdheader.prdtl) - 1) as usize) { in read_at()121 let las = (volatile_read!(cmdheader.prdtl) - 1) as usize; in read_at()156 while (volatile_read!(port.tfd) as u8 & (ATA_DEV_BUSY | ATA_DEV_DRQ)) > 0 in read_at()171 if (volatile_read!(port.ci) & (1 << slot)) == 0 { in read_at()174 if (volatile_read!(port.is) & HBA_PxIS_TFES) > 0 { in read_at()214 volatile_read!(port.clb) as usize in write_at()236 (phys_2_virt(volatile_read!(cmdheader.ctba) as usize) as *mut HbaCmdTable) in write_at()249 for i in 0..((volatile_read!(cmdheader.prdtl) - 1) as usize) { in write_at()[all …]
87 let pi = volatile_read!(hba_mem_list[i].pi); in ahci_rust_init()
1 macro_rules! volatile_read { macro