#[repr(C)]pub struct ControllerProperties {Show 28 fields
pub capabilities: ControllerCap,
pub version: u32,
pub int_mask_set: u32,
pub int_mask_clear: u32,
pub configuration: ControllerConfig,
pub status: ControllerStatus,
pub nvm_subsystem_reset: u32,
pub admin_queue_attr: AdminQueueAttributes,
pub admin_subqueue_base_addr: u64,
pub admin_comqueue_base_addr: u64,
pub memory_buffer_location: u32,
pub memory_buffer_size: u32,
pub boot_partition_info: u32,
pub boot_partition_read_select: u32,
pub boot_partition_memory_buffer_location: u64,
pub memory_buffer_memory_space_control: u64,
pub memory_buffer_status: u32,
pub memory_buffer_elasticity_buffer_size: u32,
pub memory_buffer_sustained_write_throughput: u32,
pub nvm_subsystem_shutdown: u32,
pub controller_ready_timeouts: u32,
pub pmem_capabilities: u32,
pub pmem_region_control: u32,
pub pmem_region_status: u32,
pub pmem_region_elasticity_buffer_size: u32,
pub pmem_region_sustained_write_throughput: u32,
pub pmem_region_controller_mem_space_control_lower: u32,
pub pmem_region_controller_mem_space_control_upper: u32,
/* private fields */
}
Fields§
§capabilities: ControllerCap
§version: u32
§int_mask_set: u32
§int_mask_clear: u32
§configuration: ControllerConfig
§status: ControllerStatus
§nvm_subsystem_reset: u32
§admin_queue_attr: AdminQueueAttributes
§admin_subqueue_base_addr: u64
§admin_comqueue_base_addr: u64
§memory_buffer_location: u32
§memory_buffer_size: u32
§boot_partition_info: u32
§boot_partition_read_select: u32
§boot_partition_memory_buffer_location: u64
§memory_buffer_memory_space_control: u64
§memory_buffer_status: u32
§memory_buffer_elasticity_buffer_size: u32
§memory_buffer_sustained_write_throughput: u32
§nvm_subsystem_shutdown: u32
§controller_ready_timeouts: u32
§pmem_capabilities: u32
§pmem_region_control: u32
§pmem_region_status: u32
§pmem_region_elasticity_buffer_size: u32
§pmem_region_sustained_write_throughput: u32
§pmem_region_controller_mem_space_control_lower: u32
§pmem_region_controller_mem_space_control_upper: u32
Implementations§
source§impl ControllerProperties
impl ControllerProperties
pub fn version_maj(&self) -> u16
pub fn version_min(&self) -> u8
Auto Trait Implementations§
impl Freeze for ControllerProperties
impl RefUnwindSafe for ControllerProperties
impl Send for ControllerProperties
impl Sync for ControllerProperties
impl Unpin for ControllerProperties
impl UnwindSafe for ControllerProperties
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more