Searched defs:HbaPort (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | hba.rs | 47 pub struct HbaPort { struct 48 pub clb: u64, // 0x00, command list base address, 1K-byte aligned 49 pub fb: u64, // 0x08, FIS base address, 256-byte aligned 50 pub is: u32, // 0x10, interrupt status 51 pub ie: u32, // 0x14, interrupt enable 52 pub cmd: u32, // 0x18, command and status 53 pub _rsv0: u32, // 0x1C, Reserved 54 pub tfd: u32, // 0x20, task file data 55 pub sig: u32, // 0x24, signature 56 pub ssts: u32, // 0x28, SATA status (SCR0:SStatus) [all …]
|
H A D | mod.rs | 137 fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port() 141 return unsafe { (port as *const HbaPort as *mut HbaPort).as_mut().unwrap() }; in _port() constant
|