Lines Matching refs:cmdheader
79 let cmdheader: &mut HbaCmdHeader = unsafe { in read_at() localVariable
89 cmdheader.cfl, in read_at()
94 volatile_set_bit!(cmdheader.cfl, 1 << 6, false); // Read/Write bit : Read from device in read_at()
95 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count 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()
239 let cmdheader: &mut HbaCmdHeader = unsafe { in write_at() localVariable
250 cmdheader.cfl, in write_at()
255 …volatile_set_bit!(cmdheader.cfl, 7 << 5, true); // (p,c,w)都设置为1, Read/Write bit : Write from devi… in write_at()
256 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count 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()