Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/disk/ahci/
H A Dhba.rs116 pub struct HbaCmdHeader { struct
233 } as *mut u64 as *mut HbaCmdHeader; in init()
248 cmdheaders = (cmdheaders as usize + size_of::<HbaCmdHeader>()) as *mut HbaCmdHeader; in init()
H A Dahcidisk.rs22 FisRegH2D, FisType, HbaCmdHeader, ATA_CMD_READ_DMA_EXT, ATA_CMD_WRITE_DMA_EXT, ATA_DEV_BUSY,
97 let cmdheader: &mut HbaCmdHeader = unsafe { in read_at()
99 volatile_read!(port.clb) as usize + slot as usize * size_of::<HbaCmdHeader>(), in read_at()
102 .data() as *mut HbaCmdHeader) in read_at()
254 let cmdheader: &mut HbaCmdHeader = unsafe { in write_at()
256 volatile_read!(port.clb) as usize + slot as usize * size_of::<HbaCmdHeader>(), in write_at()
259 .data() as *mut HbaCmdHeader) in write_at()