Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
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()
Dahcidisk.rs23 FisRegH2D, FisType, HbaCmdHeader, ATA_CMD_READ_DMA_EXT, ATA_CMD_WRITE_DMA_EXT,
92 let cmdheader: &mut HbaCmdHeader = unsafe { in read_at()
95 + slot as usize * size_of::<HbaCmdHeader>() as usize, in read_at()
96 ) as *mut HbaCmdHeader) in read_at()
242 let cmdheader: &mut HbaCmdHeader = unsafe { in write_at()
245 + slot as usize * size_of::<HbaCmdHeader>() as usize, in write_at()
246 ) as *mut HbaCmdHeader) in write_at()