Searched refs:cmdheader (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.7/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 78 let cmdheader: &mut HbaCmdHeader = unsafe { in read_at() localVariable 88 cmdheader.cfl, in read_at() 93 volatile_set_bit!(cmdheader.cfl, 1 << 6, false); // Read/Write bit : Read from device in read_at() 94 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count 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() 212 let cmdheader: &mut HbaCmdHeader = unsafe { in write_at() localVariable 223 cmdheader.cfl, in write_at() 228 …volatile_set_bit!(cmdheader.cfl, 7 << 5, true); // (p,c,w)都设置为1, Read/Write bit : Write from devi… in write_at() [all …]
|