Lines Matching refs:volatile_read
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()
258 let las = (volatile_read!(cmdheader.prdtl) - 1) as usize; in write_at()
293 if (volatile_read!(port.ci) & (1 << slot)) == 0 { in write_at()
296 if (volatile_read!(port.is) & HBA_PxIS_TFES) > 0 { in write_at()