Home
last modified time | relevance | path

Searched refs:HbaCmdHeader (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs12 FisRegH2D, FisType, HbaCmdHeader, ATA_CMD_READ_DMA_EXT, ATA_CMD_WRITE_DMA_EXT,
79 let cmdheader: &mut HbaCmdHeader = unsafe { in read_at()
82 + slot as usize * size_of::<HbaCmdHeader>() as usize, in read_at()
83 ) as *mut HbaCmdHeader) in read_at()
239 let cmdheader: &mut HbaCmdHeader = unsafe { in write_at()
242 + slot as usize * size_of::<HbaCmdHeader>() as usize, in write_at()
243 ) as *mut HbaCmdHeader) in write_at()
Dhba.rs113 pub struct HbaCmdHeader { struct
219 let mut cmdheaders = phys_2_virt(clb as usize) as *mut u64 as *mut HbaCmdHeader; in init()
228 cmdheaders = (cmdheaders as usize + size_of::<HbaCmdHeader>()) as *mut HbaCmdHeader; in init()