Lines Matching refs:volatile_read
81 volatile_read!(port.clb) as usize in read_at()
123 (phys_2_virt(volatile_read!(cmdheader.ctba) as usize) as *mut HbaCmdTable) in read_at()
135 for i in 0..((volatile_read!(cmdheader.prdtl) - 1) as usize) { in read_at()
144 let las = (volatile_read!(cmdheader.prdtl) - 1) as usize; in read_at()
179 while (volatile_read!(port.tfd) as u8 & (ATA_DEV_BUSY | ATA_DEV_DRQ)) > 0 in read_at()
194 if (volatile_read!(port.ci) & (1 << slot)) == 0 { in read_at()
197 if (volatile_read!(port.is) & HBA_PxIS_TFES) > 0 { in read_at()
241 volatile_read!(port.clb) as usize in write_at()
284 (phys_2_virt(volatile_read!(cmdheader.ctba) as usize) as *mut HbaCmdTable) in write_at()
297 for i in 0..((volatile_read!(cmdheader.prdtl) - 1) as usize) { in write_at()
306 let las = (volatile_read!(cmdheader.prdtl) - 1) as usize; in write_at()
341 if (volatile_read!(port.ci) & (1 << slot)) == 0 { in write_at()
344 if (volatile_read!(port.is) & HBA_PxIS_TFES) > 0 { in write_at()