SYMBOL INDEX (796 symbols across 42 files) FILE: src/address.rs type RawGenericAddress (line 11) | pub struct RawGenericAddress { method is_empty (line 20) | pub(crate) const fn is_empty(&self) -> bool { type AddressSpace (line 30) | pub enum AddressSpace { type StandardAccessSize (line 57) | pub enum StandardAccessSize { type Error (line 66) | type Error = AcpiError; method try_from (line 68) | fn try_from(size: u8) -> Result { type GenericAddress (line 81) | pub struct GenericAddress { method from_raw (line 90) | pub fn from_raw(raw: RawGenericAddress) -> Result Result { function map_gas (line 138) | pub unsafe fn map_gas(gas: GenericAddress, handler: &H) -> Result Result { function write (line 183) | pub fn write(&self, value: u64) -> Result<(), AcpiError> { function gas_decode_access_bit_width (line 222) | fn gas_decode_access_bit_width(gas: GenericAddress) -> Result constant INTERPRETER_REVISION (line 121) | const INTERPRETER_REVISION: u64 = 1; function new (line 130) | pub fn new( function new_from_platform (line 154) | pub fn new_from_platform(platform: &AcpiPlatform) -> Result Result<(), AmlError> { function evaluate (line 205) | pub fn evaluate(&self, path: AmlName, args: Vec) -> Resul... function evaluate_if_present (line 220) | pub fn evaluate_if_present( function install_region_handler (line 238) | pub fn install_region_handler(&self, space: RegionSpace, handler: RH) function initialize_namespace (line 250) | pub fn initialize_namespace(&self) { function acquire_global_lock (line 326) | pub fn acquire_global_lock(&self, timeout: u16) -> Result<(), AmlError> { function try_do_acquire_firmware_lock (line 352) | fn try_do_acquire_firmware_lock(&self) -> bool { function release_global_lock (line 378) | pub fn release_global_lock(&self) -> Result<(), AmlError> { function do_release_firmware_lock (line 389) | fn do_release_firmware_lock(&self) -> bool { function integer_size (line 410) | pub fn integer_size(&self) -> usize { function do_execute_method (line 414) | fn do_execute_method(&self, mut context: MethodContext) -> Result... function do_logical_op (line 1943) | fn do_logical_op(&self, context: &mut MethodContext, op: OpInFlight) -> ... function do_to_buffer (line 2018) | fn do_to_buffer(&self, context: &mut MethodContext, op: OpInFlight) -> R... function do_to_integer (line 2051) | fn do_to_integer(&self, context: &mut MethodContext, op: OpInFlight) -> ... function do_to_string (line 2097) | fn do_to_string(&self, context: &mut MethodContext, op: OpInFlight) -> R... function do_to_dec_hex_string (line 2125) | fn do_to_dec_hex_string(&self, context: &mut MethodContext, op: OpInFlig... function do_mid (line 2166) | fn do_mid(&self, context: &mut MethodContext, op: OpInFlight) -> Result<... function do_concat (line 2200) | fn do_concat(&self, context: &mut MethodContext, op: OpInFlight) -> Resu... function do_from_bcd (line 2260) | fn do_from_bcd(&self, context: &mut MethodContext, op: OpInFlight) -> Re... function do_to_bcd (line 2277) | fn do_to_bcd(&self, context: &mut MethodContext, op: OpInFlight) -> Resu... function do_size_of (line 2294) | fn do_size_of(&self, context: &mut MethodContext, op: OpInFlight) -> Res... function do_index (line 2310) | fn do_index(&self, context: &mut MethodContext, op: OpInFlight) -> Resul... function do_store (line 2368) | fn do_store(&self, target: WrappedObject, object: WrappedObject) -> Resu... function do_copy_object (line 2450) | fn do_copy_object(&self, target: WrappedObject, object: WrappedObject) -... function do_field_read (line 2481) | fn do_field_read(&self, field: &FieldUnit) -> Result Res... function do_native_region_read (line 2678) | fn do_native_region_read(&self, region: &OpRegion, offset: usize, length... function do_native_region_write (line 2734) | fn do_native_region_write( function pci_address_for_device (line 2799) | fn pci_address_for_device(&self, path: &AmlName) -> Result MethodContext { method new_from_method (line 2990) | fn new_from_method( method last_op (line 3022) | fn last_op(&mut self) -> Result<&mut OpInFlight, AmlError> { method contribute_arg (line 3029) | fn contribute_arg(&mut self, arg: Argument) { method start (line 3038) | fn start(&mut self, op: OpInFlight) { method retire_op (line 3049) | fn retire_op(&mut self, op: OpInFlight) { method start_new_block (line 3053) | fn start_new_block(&mut self, kind: BlockKind, length: usize) { method opcode (line 3063) | fn opcode(&mut self) -> Result { method pkglength (line 3203) | fn pkglength(&mut self) -> Result { method namestring (line 3219) | fn namestring(&mut self) -> Result { method next (line 3281) | fn next(&mut self) -> Result { method next_u16 (line 3292) | fn next_u16(&mut self) -> Result { method next_u32 (line 3296) | fn next_u32(&mut self) -> Result { method next_u64 (line 3300) | fn next_u64(&mut self) -> Result { method peek (line 3313) | fn peek(&self) -> Result { type Block (line 2844) | struct Block { method stream (line 2851) | fn stream(&self) -> &[u8] { type BlockKind (line 2857) | pub enum BlockKind { type ResolveBehaviour (line 2878) | enum ResolveBehaviour { type OpInFlight (line 2906) | struct OpInFlight { method new (line 2926) | pub fn new(op: Opcode, resolve_behaviour: &'static [ResolveBehaviour])... method new_dynamic (line 2933) | pub fn new_dynamic( method new_with_dynamic (line 2943) | pub fn new_with_dynamic( method new_with (line 2956) | pub fn new_with( method resolve_behaviour (line 2965) | fn resolve_behaviour(&self) -> ResolveBehaviour { type Argument (line 2914) | enum Argument { type Opcode (line 3323) | enum Opcode { type Operation (line 3441) | pub enum Operation { type AmlError (line 3468) | pub enum AmlError { FILE: src/aml/namespace.rs type Namespace (line 20) | pub struct Namespace { method new (line 26) | pub fn new(global_lock_mutex: Handle) -> Namespace { method add_level (line 139) | pub fn add_level(&mut self, path: AmlName, kind: NamespaceLevelKind) -... method remove_level (line 157) | pub fn remove_level(&mut self, path: AmlName) -> Result<(), AmlError> { method insert (line 171) | pub fn insert(&mut self, path: AmlName, object: WrappedObject) -> Resu... method create_alias (line 189) | pub fn create_alias(&mut self, path: AmlName, object: WrappedObject) -... method get (line 200) | pub fn get(&mut self, path: AmlName) -> Result { method search (line 214) | pub fn search(&self, path: &AmlName, starting_scope: &AmlName) -> Resu... method search_for_level (line 256) | pub fn search_for_level(&self, level_name: &AmlName, starting_scope: &... method get_level_for_path (line 283) | fn get_level_for_path(&self, path: &AmlName) -> Result<(&NamespaceLeve... method get_level_for_path_mut (line 310) | fn get_level_for_path_mut(&mut self, path: &AmlName) -> Result<(&mut N... method traverse (line 342) | pub fn traverse(&mut self, mut f: F) -> Result<(), AmlError> method fmt (line 370) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type NamespaceLevelKind (line 416) | pub enum NamespaceLevelKind { type NamespaceLevel (line 426) | pub struct NamespaceLevel { method new (line 448) | pub fn new(kind: NamespaceLevelKind) -> NamespaceLevel { type ObjectFlags (line 433) | pub struct ObjectFlags(u8); method new (line 436) | pub fn new(is_alias: bool) -> ObjectFlags { method is_alias (line 442) | pub fn is_alias(&self) -> bool { type AmlName (line 454) | pub struct AmlName(Vec); method root (line 464) | pub fn root() -> AmlName { method from_name_seg (line 468) | pub fn from_name_seg(seg: NameSeg) -> AmlName { method from_components (line 472) | pub fn from_components(components: Vec) -> AmlName { method as_string (line 476) | pub fn as_string(&self) -> String { method is_normal (line 490) | pub fn is_normal(&self) -> bool { method is_absolute (line 494) | pub fn is_absolute(&self) -> bool { method search_rules_apply (line 500) | pub fn search_rules_apply(&self) -> bool { method normalize (line 510) | pub fn normalize(self) -> Result { method parent (line 543) | pub fn parent(&self) -> Result { method resolve (line 559) | pub fn resolve(&self, scope: &AmlName) -> Result { method fmt (line 606) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type NameComponent (line 457) | pub enum NameComponent { type Err (line 573) | type Err = AmlError; method from_str (line 575) | fn from_str(mut string: &str) -> Result { type NameSeg (line 612) | pub struct NameSeg(pub(crate) [u8; 4]); method from_bytes (line 615) | pub fn from_bytes(bytes: [u8; 4]) -> Result { method as_str (line 631) | pub fn as_str(&self) -> &str { method fmt (line 677) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Err (line 638) | type Err = AmlError; method from_str (line 640) | fn from_str(s: &str) -> Result { function is_lead_name_char (line 668) | pub fn is_lead_name_char(c: u8) -> bool { function is_name_char (line 672) | pub fn is_name_char(c: u8) -> bool { FILE: src/aml/object.rs type NativeMethod (line 11) | type NativeMethod = dyn Fn(&[WrappedObject]) -> Result(num_args: u8, f: F) -> Object method fmt (line 48) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method wrap (line 178) | pub fn wrap(self) -> WrappedObject { method as_integer (line 182) | pub fn as_integer(&self) -> Result { method as_string (line 190) | pub fn as_string(&self) -> Result, AmlError> { method as_buffer (line 198) | pub fn as_buffer(&self) -> Result<&[u8], AmlError> { method to_integer (line 206) | pub fn to_integer(&self, allowed_bytes: usize) -> Result { method to_buffer (line 221) | pub fn to_buffer(&self, allowed_bytes: usize) -> Result, AmlEr... method read_buffer_field (line 234) | pub fn read_buffer_field(&self, integer_size: usize) -> Result Result... method typ (line 304) | pub fn typ(&self) -> ObjectType { type ObjectToken (line 93) | pub struct ObjectToken { method create_interpreter_token (line 100) | pub(super) unsafe fn create_interpreter_token() -> ObjectToken { type WrappedObject (line 106) | pub struct WrappedObject(Arc>); method new (line 109) | pub fn new(object: Object) -> WrappedObject { method gain_mut (line 122) | pub unsafe fn gain_mut<'r, 'a, 't>(&'a self, _token: &'t ObjectToken) ... method unwrap_reference (line 130) | pub fn unwrap_reference(self) -> WrappedObject { method unwrap_transparent_reference (line 143) | pub fn unwrap_transparent_reference(self) -> WrappedObject { type Target (line 158) | type Target = Object; method deref (line 160) | fn deref(&self) -> &Self::Target { method fmt (line 172) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FieldUnit (line 333) | pub struct FieldUnit { type FieldUnitKind (line 341) | pub enum FieldUnitKind { type FieldFlags (line 348) | pub struct FieldFlags(pub u8); method access_type (line 368) | pub fn access_type(&self) -> Result { method access_type_bytes (line 380) | pub fn access_type_bytes(&self) -> Result { method lock_rule (line 394) | pub fn lock_rule(&self) -> bool { method update_rule (line 398) | pub fn update_rule(&self) -> FieldUpdateRule { type FieldAccessType (line 351) | pub enum FieldAccessType { type FieldUpdateRule (line 361) | pub enum FieldUpdateRule { type MethodFlags (line 409) | pub struct MethodFlags(pub u8); method arg_count (line 412) | pub fn arg_count(&self) -> usize { method serialize (line 416) | pub fn serialize(&self) -> bool { method sync_level (line 420) | pub fn sync_level(&self) -> u8 { type ReferenceKind (line 426) | pub enum ReferenceKind { type ObjectType (line 436) | pub enum ObjectType { type DeviceStatus (line 458) | pub struct DeviceStatus(pub u64); method present (line 461) | pub fn present(&self) -> bool { method enabled (line 465) | pub fn enabled(&self) -> bool { method show_in_ui (line 469) | pub fn show_in_ui(&self) -> bool { method functioning (line 473) | pub fn functioning(&self) -> bool { method battery_present (line 479) | pub fn battery_present(&self) -> bool { function copy_bits (line 487) | pub(crate) fn copy_bits( function align_down (line 527) | pub(crate) fn align_down(value: usize, align: usize) -> usize { function test_copy_bits (line 551) | fn test_copy_bits() { FILE: src/aml/op_region.rs type OpRegion (line 4) | pub struct OpRegion { type RegionHandler (line 11) | pub trait RegionHandler { method read_u8 (line 12) | fn read_u8(&self, region: &OpRegion) -> Result; method read_u16 (line 13) | fn read_u16(&self, region: &OpRegion) -> Result; method read_u32 (line 14) | fn read_u32(&self, region: &OpRegion) -> Result; method read_u64 (line 15) | fn read_u64(&self, region: &OpRegion) -> Result; method write_u8 (line 17) | fn write_u8(&self, region: &OpRegion, value: u8) -> Result<(), AmlError>; method write_u16 (line 18) | fn write_u16(&self, region: &OpRegion, value: u16) -> Result<(), AmlEr... method write_u32 (line 19) | fn write_u32(&self, region: &OpRegion, value: u32) -> Result<(), AmlEr... method write_u64 (line 20) | fn write_u64(&self, region: &OpRegion, value: u64) -> Result<(), AmlEr... type RegionSpace (line 24) | pub enum RegionSpace { method from (line 40) | fn from(value: u8) -> Self { FILE: src/aml/pci_routing.rs type Pin (line 17) | pub enum Pin { type PciRouteType (line 25) | pub enum PciRouteType { type PciRoute (line 40) | pub struct PciRoute { type PciRoutingTable (line 52) | pub struct PciRoutingTable { method from_prt_path (line 61) | pub fn from_prt_path( method route (line 151) | pub fn route( FILE: src/aml/resource.rs type Resource (line 9) | pub enum Resource { function resource_descriptor_list (line 18) | pub fn resource_descriptor_list(descriptor: WrappedObject) -> Result Result<(Option, &[u8])... type InterruptTrigger (line 146) | pub enum InterruptTrigger { type InterruptPolarity (line 152) | pub enum InterruptPolarity { type AddressSpaceResourceType (line 158) | pub enum AddressSpaceResourceType { type AddressSpaceDecodeType (line 165) | pub enum AddressSpaceDecodeType { type AddressSpaceDescriptor (line 171) | pub struct AddressSpaceDescriptor { type MemoryRangeDescriptor (line 184) | pub enum MemoryRangeDescriptor { function fixed_memory_descriptor (line 188) | fn fixed_memory_descriptor(bytes: &[u8]) -> Result { function address_space_descriptor (line 222) | fn address_space_descriptor(bytes: &[u8]) -> Result Result { type DMASupportedSpeed (line 404) | pub enum DMASupportedSpeed { type DMATransferTypePreference (line 412) | pub enum DMATransferTypePreference { type DMADescriptor (line 419) | pub struct DMADescriptor { function dma_format_descriptor (line 426) | pub fn dma_format_descriptor(bytes: &[u8]) -> Result { type IOPortDescriptor (line 475) | pub struct IOPortDescriptor { function io_port_descriptor (line 482) | fn io_port_descriptor(bytes: &[u8]) -> Result { function extended_interrupt_descriptor (line 516) | fn extended_interrupt_descriptor(bytes: &[u8]) -> Result { function from_rsdp (line 97) | pub unsafe fn from_rsdp(handler: H, rsdp_address: usize) -> Result impl Iterator { function table_headers (line 173) | pub fn table_headers(&self) -> impl Iterator { function find_tables (line 183) | pub fn find_tables(&self) -> impl Iterator> function find_table (line 203) | pub fn find_table(&self) -> Option> function dsdt (line 210) | pub fn dsdt(&self) -> Result { function ssdts (line 220) | pub fn ssdts(&self) -> impl Iterator { type AmlTable (line 232) | pub struct AmlTable { type AcpiTable (line 249) | pub unsafe trait AcpiTable { constant SIGNATURE (line 250) | const SIGNATURE: Signature; method header (line 252) | fn header(&self) -> &SdtHeader; method validate (line 254) | fn validate(&self) -> Result<(), AcpiError> { type AcpiError (line 261) | pub enum AcpiError { type PhysicalMapping (line 297) | pub struct PhysicalMapping function get (line 325) | pub fn get(&self) -> Pin<&T> { function fmt (line 334) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Target (line 352) | type Target = T; method deref (line 354) | fn deref(&self) -> &T { method deref_mut (line 364) | fn deref_mut(&mut self) -> &mut T { method drop (line 373) | fn drop(&mut self) { type Handle (line 385) | pub struct Handle(pub u32); type Handler (line 399) | pub trait Handler: Clone { method map_physical_region (line 410) | unsafe fn map_physical_region(&self, physical_address: usize, size:... method unmap_physical_region (line 415) | fn unmap_physical_region(region: &PhysicalMapping); method read_u8 (line 419) | fn read_u8(&self, address: usize) -> u8; method read_u16 (line 420) | fn read_u16(&self, address: usize) -> u16; method read_u32 (line 421) | fn read_u32(&self, address: usize) -> u32; method read_u64 (line 422) | fn read_u64(&self, address: usize) -> u64; method write_u8 (line 424) | fn write_u8(&self, address: usize, value: u8); method write_u16 (line 425) | fn write_u16(&self, address: usize, value: u16); method write_u32 (line 426) | fn write_u32(&self, address: usize, value: u32); method write_u64 (line 427) | fn write_u64(&self, address: usize, value: u64); method read_io_u8 (line 430) | fn read_io_u8(&self, port: u16) -> u8; method read_io_u16 (line 431) | fn read_io_u16(&self, port: u16) -> u16; method read_io_u32 (line 432) | fn read_io_u32(&self, port: u16) -> u32; method write_io_u8 (line 434) | fn write_io_u8(&self, port: u16, value: u8); method write_io_u16 (line 435) | fn write_io_u16(&self, port: u16, value: u16); method write_io_u32 (line 436) | fn write_io_u32(&self, port: u16, value: u32); method read_pci_u8 (line 438) | fn read_pci_u8(&self, address: PciAddress, offset: u16) -> u8; method read_pci_u16 (line 439) | fn read_pci_u16(&self, address: PciAddress, offset: u16) -> u16; method read_pci_u32 (line 440) | fn read_pci_u32(&self, address: PciAddress, offset: u16) -> u32; method write_pci_u8 (line 442) | fn write_pci_u8(&self, address: PciAddress, offset: u16, value: u8); method write_pci_u16 (line 443) | fn write_pci_u16(&self, address: PciAddress, offset: u16, value: u16); method write_pci_u32 (line 444) | fn write_pci_u32(&self, address: PciAddress, offset: u16, value: u32); method nanos_since_boot (line 447) | fn nanos_since_boot(&self) -> u64; method stall (line 452) | fn stall(&self, microseconds: u64); method sleep (line 456) | fn sleep(&self, milliseconds: u64); method create_mutex (line 459) | fn create_mutex(&self) -> Handle; method acquire (line 471) | fn acquire(&self, mutex: Handle, timeout: u16) -> Result<(), aml::AmlE... method release (line 473) | fn release(&self, mutex: Handle); method breakpoint (line 476) | fn breakpoint(&self) {} method handle_debug (line 479) | fn handle_debug(&self, _object: &aml::object::Object) {} method handle_fatal_error (line 482) | fn handle_fatal_error(&self, fatal_type: u8, fatal_code: u32, fatal_ar... function test_physical_mapping_send_sync (line 496) | fn test_physical_mapping_send_sync() { FILE: src/platform/interrupt.rs type InterruptModel (line 20) | pub enum InterruptModel { function new (line 32) | pub fn new( function new_in (line 40) | pub fn new_in( function from_apic_model_in (line 77) | fn from_apic_model_in( type IoApic (line 253) | pub struct IoApic { type NmiLine (line 262) | pub struct NmiLine { type LocalInterruptLine (line 270) | pub enum LocalInterruptLine { type NmiProcessor (line 276) | pub enum NmiProcessor { type InterruptSourceOverride (line 286) | pub struct InterruptSourceOverride { type NmiSource (line 296) | pub struct NmiSource { type Apic (line 303) | pub struct Apic { function new (line 317) | pub(crate) fn new( FILE: src/platform/mod.rs type AcpiPlatform (line 26) | pub struct AcpiPlatform { function new (line 56) | pub fn new(tables: AcpiTables, handler: H) -> Result { function new_in (line 62) | pub fn new_in(tables: AcpiTables, handler: H, allocator: A) -> Result... function initialize_events (line 83) | pub fn initialize_events(&self) -> Result<(), AcpiError> { function read_mode (line 100) | pub fn read_mode(&self) -> Result { function enter_acpi_mode (line 119) | pub fn enter_acpi_mode(&self) -> Result<(), AcpiError> { function wake_aps (line 154) | pub unsafe fn wake_aps(&self, apic_id: u32, wakeup_vector: u64, timeout_... type ProcessorState (line 199) | pub enum ProcessorState { type Processor (line 212) | pub struct Processor { type ProcessorInfo (line 230) | pub struct ProcessorInfo { function new_in (line 237) | pub(crate) fn new_in(boot_processor: Processor, application_processors: ... type PmTimer (line 244) | pub struct PmTimer { method new (line 252) | pub fn new(fadt: &Fadt) -> Result, AcpiError> { type AcpiMode (line 261) | pub enum AcpiMode { FILE: src/platform/numa.rs type NumaInfo (line 15) | pub struct NumaInfo { function new (line 23) | pub fn new(tables: AcpiTables) -> NumaInfo { function new_in (line 29) | pub fn new_in(tables: AcpiTables, allocator: A) -> NumaInf... function distance_matrix (line 68) | pub fn distance_matrix(&self) -> DistanceMatrix<'_> { type ProcessorAffinity (line 74) | pub struct ProcessorAffinity { type MemoryAffinity (line 81) | pub struct MemoryAffinity { FILE: src/platform/pci.rs type PciConfigRegions (line 21) | pub struct PciConfigRegions { function new (line 26) | pub fn new(tables: &AcpiTables) -> Result... function new_in (line 35) | pub fn new_in(tables: &AcpiTables, allocator: A) -> Result { function new (line 13) | pub fn new(fadt: &Fadt, handler: H) -> Result, AcpiErr... type Pm1EventRegisterBlock (line 43) | pub struct Pm1EventRegisterBlock { type Pm1Event (line 51) | pub enum Pm1Event { function set_event_enabled (line 65) | pub fn set_event_enabled(&self, event: Pm1Event, enabled: bool) -> Resul... function read (line 90) | pub fn read(&self) -> Result { type Pm1ControlRegisterBlock (line 100) | pub struct Pm1ControlRegisterBlock { type Pm1ControlBit (line 106) | pub enum Pm1ControlBit { function read_bit (line 127) | pub fn read_bit(&self, bit: Pm1ControlBit) -> Result { function set_bit (line 141) | pub fn set_bit(&self, bit: Pm1ControlBit, set: bool) -> Result<(), AcpiE... function set_sleep_typ (line 162) | pub fn set_sleep_typ(&self, value: u8) -> Result<(), AcpiError> { FILE: src/rsdp.rs constant RSDP_V1_LENGTH (line 5) | const RSDP_V1_LENGTH: usize = 20; constant RSDP_V2_EXT_LENGTH (line 7) | const RSDP_V2_EXT_LENGTH: usize = mem::size_of::() - RSDP_V1_LENGTH; type Rsdp (line 24) | pub struct Rsdp { method search_for_on_bios (line 55) | pub unsafe fn search_for_on_bios(handler: H) -> Result Result<(), AcpiError> { method signature (line 135) | pub fn signature(&self) -> [u8; 8] { method checksum (line 139) | pub fn checksum(&self) -> u8 { method oem_id (line 143) | pub fn oem_id(&self) -> Result<&str, AcpiError> { method revision (line 147) | pub fn revision(&self) -> u8 { method rsdt_address (line 151) | pub fn rsdt_address(&self) -> u32 { method length (line 155) | pub fn length(&self) -> u32 { method xsdt_address (line 160) | pub fn xsdt_address(&self) -> u64 { method ext_checksum (line 165) | pub fn ext_checksum(&self) -> u8 { function find_search_areas (line 172) | fn find_search_areas(handler: H) -> [Range; 2] constant EBDA_START_SEGMENT_PTR (line 203) | const EBDA_START_SEGMENT_PTR: usize = 0x40e; constant EBDA_EARLIEST_START (line 205) | const EBDA_EARLIEST_START: usize = 0x80000; constant EBDA_END (line 207) | const EBDA_END: usize = 0x9ffff; constant RSDP_BIOS_AREA_START (line 209) | const RSDP_BIOS_AREA_START: usize = 0xe0000; constant RSDP_BIOS_AREA_END (line 211) | const RSDP_BIOS_AREA_END: usize = 0xfffff; constant RSDP_SIGNATURE (line 213) | const RSDP_SIGNATURE: [u8; 8] = *b"RSD PTR "; FILE: src/sdt/bgrt.rs type Bgrt (line 11) | pub struct Bgrt { method image_type (line 30) | pub fn image_type(&self) -> ImageType { method orientation_offset (line 40) | pub fn orientation_offset(&self) -> u16 { method was_displayed (line 51) | pub fn was_displayed(&self) -> bool { method image_offset (line 56) | pub fn image_offset(&self) -> (u32, u32) { constant SIGNATURE (line 22) | const SIGNATURE: Signature = Signature::BGRT; method header (line 24) | fn header(&self) -> &SdtHeader { type ImageType (line 65) | pub enum ImageType { FILE: src/sdt/facs.rs type Facs (line 5) | pub struct Facs { FILE: src/sdt/fadt.rs type PowerProfile (line 10) | pub enum PowerProfile { type Fadt (line 32) | pub struct Fadt { method validate (line 129) | pub fn validate(&self) -> Result<(), AcpiError> { method facs_address (line 133) | pub fn facs_address(&self) -> Result { method dsdt_address (line 145) | pub fn dsdt_address(&self) -> Result { method power_profile (line 157) | pub fn power_profile(&self) -> PowerProfile { method pm1a_event_block (line 172) | pub fn pm1a_event_block(&self) -> Result { method pm1b_event_block (line 188) | pub fn pm1b_event_block(&self) -> Result, AcpiE... method pm1a_control_block (line 208) | pub fn pm1a_control_block(&self) -> Result { method pm1b_control_block (line 224) | pub fn pm1b_control_block(&self) -> Result, Acp... method pm2_control_block (line 244) | pub fn pm2_control_block(&self) -> Result, Acpi... method pm_timer_block (line 266) | pub fn pm_timer_block(&self) -> Result, AcpiErr... method gpe0_block (line 291) | pub fn gpe0_block(&self) -> Result, AcpiError> { method gpe1_block (line 311) | pub fn gpe1_block(&self) -> Result, AcpiError> { method reset_register (line 331) | pub fn reset_register(&self) -> Result { method sleep_control_register (line 335) | pub fn sleep_control_register(&self) -> Result,... method sleep_status_register (line 343) | pub fn sleep_status_register(&self) -> Result, ... constant SIGNATURE (line 121) | const SIGNATURE: Signature = Signature::FADT; method header (line 123) | fn header(&self) -> &SdtHeader { type FixedFeatureFlags (line 353) | pub struct FixedFeatureFlags(u32); method supports_equivalent_to_wbinvd (line 359) | pub fn supports_equivalent_to_wbinvd(&self) -> bool { method wbinvd_flushes_all_caches (line 364) | pub fn wbinvd_flushes_all_caches(&self) -> bool { method all_procs_support_c1_power_state (line 369) | pub fn all_procs_support_c1_power_state(&self) -> bool { method c2_configured_for_mp_system (line 374) | pub fn c2_configured_for_mp_system(&self) -> bool { method power_button_is_control_method (line 380) | pub fn power_button_is_control_method(&self) -> bool { method sleep_button_is_control_method (line 386) | pub fn sleep_button_is_control_method(&self) -> bool { method no_rtc_wake_in_fixed_register_space (line 391) | pub fn no_rtc_wake_in_fixed_register_space(&self) -> bool { method rtc_wakes_system_from_s4 (line 396) | pub fn rtc_wakes_system_from_s4(&self) -> bool { method pm_timer_is_32_bit (line 402) | pub fn pm_timer_is_32_bit(&self) -> bool { method supports_docking (line 407) | pub fn supports_docking(&self) -> bool { method supports_system_reset_via_fadt (line 412) | pub fn supports_system_reset_via_fadt(&self) -> bool { method case_is_sealed (line 417) | pub fn case_is_sealed(&self) -> bool { method system_is_headless (line 422) | pub fn system_is_headless(&self) -> bool { method use_instr_after_write_to_slp_typx (line 427) | pub fn use_instr_after_write_to_slp_typx(&self) -> bool { method supports_pciexp_wake_in_pm1 (line 432) | pub fn supports_pciexp_wake_in_pm1(&self) -> bool { method use_pm_or_hpet_for_monotonically_decreasing_timers (line 437) | pub fn use_pm_or_hpet_for_monotonically_decreasing_timers(&self) -> bo... method rtc_sts_is_valid_after_wakeup_from_s4 (line 442) | pub fn rtc_sts_is_valid_after_wakeup_from_s4(&self) -> bool { method ospm_may_leave_gpe_wake_events_armed_before_s5 (line 447) | pub fn ospm_may_leave_gpe_wake_events_armed_before_s5(&self) -> bool { method lapics_must_use_cluster_model_for_logical_mode (line 452) | pub fn lapics_must_use_cluster_model_for_logical_mode(&self) -> bool { method local_xapics_must_use_physical_destination_mode (line 457) | pub fn local_xapics_must_use_physical_destination_mode(&self) -> bool { method system_is_hw_reduced_acpi (line 462) | pub fn system_is_hw_reduced_acpi(&self) -> bool { method no_benefit_to_s3 (line 467) | pub fn no_benefit_to_s3(&self) -> bool { type IaPcBootArchFlags (line 473) | pub struct IaPcBootArchFlags(u16); method legacy_devices_are_accessible (line 477) | pub fn legacy_devices_are_accessible(&self) -> bool { method motherboard_implements_8042 (line 482) | pub fn motherboard_implements_8042(&self) -> bool { method dont_probe_vga (line 488) | pub fn dont_probe_vga(&self) -> bool { method dont_enable_msi (line 493) | pub fn dont_enable_msi(&self) -> bool { method dont_enable_pcie_aspm (line 498) | pub fn dont_enable_pcie_aspm(&self) -> bool { method use_time_and_alarm_namespace_for_rtc (line 504) | pub fn use_time_and_alarm_namespace_for_rtc(&self) -> bool { type ArmBootArchFlags (line 510) | pub struct ArmBootArchFlags(u16); method implements_psci (line 514) | pub fn implements_psci(&self) -> bool { method use_hvc_as_psci_conduit (line 519) | pub fn use_hvc_as_psci_conduit(&self) -> bool { FILE: src/sdt/hpet.rs type PageProtection (line 13) | pub enum PageProtection { type HpetInfo (line 24) | pub struct HpetInfo { method new (line 38) | pub fn new(tables: &AcpiTables) -> Result type HpetTable (line 71) | pub struct HpetTable { constant SIGNATURE (line 82) | const SIGNATURE: Signature = Signature::HPET; method header (line 84) | fn header(&self) -> &SdtHeader { FILE: src/sdt/madt.rs type MadtError (line 15) | pub enum MadtError { type Madt (line 39) | pub struct Madt { method entries (line 55) | pub fn entries(self: Pin<&Self>) -> MadtEntryIter<'_> { method supports_8259 (line 64) | pub fn supports_8259(&self) -> bool { method get_mpwk_mailbox_addr (line 68) | pub fn get_mpwk_mailbox_addr(self: Pin<&Self>) -> Result &SdtHeader { type MadtEntryIter (line 79) | pub struct MadtEntryIter<'a> { type MadtEntry (line 90) | pub enum MadtEntry<'a> { type Item (line 111) | type Item = MadtEntry<'a>; method next (line 113) | fn next(&mut self) -> Option { type EntryHeader (line 188) | pub struct EntryHeader { type LocalApicEntry (line 195) | pub struct LocalApicEntry { type IoApicEntry (line 204) | pub struct IoApicEntry { type InterruptSourceOverrideEntry (line 214) | pub struct InterruptSourceOverrideEntry { type NmiSourceEntry (line 224) | pub struct NmiSourceEntry { type LocalApicNmiEntry (line 232) | pub struct LocalApicNmiEntry { type LocalApicAddressOverrideEntry (line 241) | pub struct LocalApicAddressOverrideEntry { type IoSapicEntry (line 251) | pub struct IoSapicEntry { type LocalSapicEntry (line 261) | pub struct LocalSapicEntry { type PlatformInterruptSourceEntry (line 279) | pub struct PlatformInterruptSourceEntry { type LocalX2ApicEntry (line 292) | pub struct LocalX2ApicEntry { type X2ApicNmiEntry (line 302) | pub struct X2ApicNmiEntry { type GiccEntry (line 315) | pub struct GiccEntry { type GicdEntry (line 342) | pub struct GicdEntry { type GicMsiFrameEntry (line 362) | pub struct GicMsiFrameEntry { type GicRedistributorEntry (line 374) | pub struct GicRedistributorEntry { type GicInterruptTranslationServiceEntry (line 383) | pub struct GicInterruptTranslationServiceEntry { type MultiprocessorWakeupEntry (line 393) | pub struct MultiprocessorWakeupEntry { type MpProtectedModeWakeupCommand (line 401) | pub enum MpProtectedModeWakeupCommand { method from (line 409) | fn from(value: u16) -> Self { type MultiprocessorWakeupMailbox (line 421) | pub struct MultiprocessorWakeupMailbox { type Polarity (line 432) | pub enum Polarity { type TriggerMode (line 449) | pub enum TriggerMode { function parse_mps_inti_flags (line 455) | pub fn parse_mps_inti_flags(flags: u16) -> Result<(Polarity, TriggerMode... FILE: src/sdt/mcfg.rs type Mcfg (line 8) | pub struct Mcfg { method entries (line 26) | pub fn entries(&self) -> &[McfgEntry] { method fmt (line 41) | fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { constant SIGNATURE (line 16) | const SIGNATURE: Signature = Signature::MCFG; method header (line 18) | fn header(&self) -> &SdtHeader { type McfgEntry (line 48) | pub struct McfgEntry { FILE: src/sdt/mod.rs type ExtendedField (line 18) | pub struct ExtendedField(MaybeUninit); function access (line 25) | pub unsafe fn access(&self, revision: u8) -> Option { type SdtHeader (line 106) | pub struct SdtHeader { method validate (line 127) | pub unsafe fn validate(&self, signature: Signature) -> Result<(), Acpi... method length (line 155) | pub fn length(&self) -> u32 { method revision (line 160) | pub fn revision(&self) -> u8 { method checksum (line 165) | pub fn checksum(&self) -> u8 { method oem_id (line 169) | pub fn oem_id(&self) -> Result<&str, AcpiError> { method oem_table_id (line 173) | pub fn oem_table_id(&self) -> Result<&str, AcpiError> { method oem_revision (line 178) | pub fn oem_revision(&self) -> u32 { method creator_id (line 183) | pub fn creator_id(&self) -> Result<&str, AcpiError> { method creator_revision (line 188) | pub fn creator_revision(&self) -> u32 { type Signature (line 195) | pub struct Signature([u8; 4]); constant RSDT (line 198) | pub const RSDT: Signature = Signature(*b"RSDT"); constant XSDT (line 199) | pub const XSDT: Signature = Signature(*b"XSDT"); constant FADT (line 200) | pub const FADT: Signature = Signature(*b"FACP"); constant HPET (line 201) | pub const HPET: Signature = Signature(*b"HPET"); constant MADT (line 202) | pub const MADT: Signature = Signature(*b"APIC"); constant MCFG (line 203) | pub const MCFG: Signature = Signature(*b"MCFG"); constant SSDT (line 204) | pub const SSDT: Signature = Signature(*b"SSDT"); constant BERT (line 205) | pub const BERT: Signature = Signature(*b"BERT"); constant BGRT (line 206) | pub const BGRT: Signature = Signature(*b"BGRT"); constant CPEP (line 207) | pub const CPEP: Signature = Signature(*b"CPEP"); constant DSDT (line 208) | pub const DSDT: Signature = Signature(*b"DSDT"); constant ECDT (line 209) | pub const ECDT: Signature = Signature(*b"ECDT"); constant EINJ (line 210) | pub const EINJ: Signature = Signature(*b"EINJ"); constant ERST (line 211) | pub const ERST: Signature = Signature(*b"ERST"); constant FACS (line 212) | pub const FACS: Signature = Signature(*b"FACS"); constant FPDT (line 213) | pub const FPDT: Signature = Signature(*b"FPDT"); constant GTDT (line 214) | pub const GTDT: Signature = Signature(*b"GTDT"); constant HEST (line 215) | pub const HEST: Signature = Signature(*b"HEST"); constant MSCT (line 216) | pub const MSCT: Signature = Signature(*b"MSCT"); constant MPST (line 217) | pub const MPST: Signature = Signature(*b"MPST"); constant NFIT (line 218) | pub const NFIT: Signature = Signature(*b"NFIT"); constant PCCT (line 219) | pub const PCCT: Signature = Signature(*b"PCCT"); constant PHAT (line 220) | pub const PHAT: Signature = Signature(*b"PHAT"); constant PMTT (line 221) | pub const PMTT: Signature = Signature(*b"PMTT"); constant PSDT (line 222) | pub const PSDT: Signature = Signature(*b"PSDT"); constant RASF (line 223) | pub const RASF: Signature = Signature(*b"RASF"); constant SBST (line 224) | pub const SBST: Signature = Signature(*b"SBST"); constant SDEV (line 225) | pub const SDEV: Signature = Signature(*b"SDEV"); constant SLIT (line 226) | pub const SLIT: Signature = Signature(*b"SLIT"); constant SRAT (line 227) | pub const SRAT: Signature = Signature(*b"SRAT"); constant AEST (line 228) | pub const AEST: Signature = Signature(*b"AEST"); constant BDAT (line 229) | pub const BDAT: Signature = Signature(*b"BDAT"); constant CDIT (line 230) | pub const CDIT: Signature = Signature(*b"CDIT"); constant CEDT (line 231) | pub const CEDT: Signature = Signature(*b"CEDT"); constant CRAT (line 232) | pub const CRAT: Signature = Signature(*b"CRAT"); constant CSRT (line 233) | pub const CSRT: Signature = Signature(*b"CSRT"); constant DBGP (line 234) | pub const DBGP: Signature = Signature(*b"DBGP"); constant DBG2 (line 235) | pub const DBG2: Signature = Signature(*b"DBG2"); constant DMAR (line 236) | pub const DMAR: Signature = Signature(*b"DMAR"); constant DRTM (line 237) | pub const DRTM: Signature = Signature(*b"DRTM"); constant ETDT (line 238) | pub const ETDT: Signature = Signature(*b"ETDT"); constant IBFT (line 239) | pub const IBFT: Signature = Signature(*b"IBFT"); constant IORT (line 240) | pub const IORT: Signature = Signature(*b"IORT"); constant IVRS (line 241) | pub const IVRS: Signature = Signature(*b"IVRS"); constant LPIT (line 242) | pub const LPIT: Signature = Signature(*b"LPIT"); constant MCHI (line 243) | pub const MCHI: Signature = Signature(*b"MCHI"); constant MPAM (line 244) | pub const MPAM: Signature = Signature(*b"MPAM"); constant MSDM (line 245) | pub const MSDM: Signature = Signature(*b"MSDM"); constant PRMT (line 246) | pub const PRMT: Signature = Signature(*b"PRMT"); constant RGRT (line 247) | pub const RGRT: Signature = Signature(*b"RGRT"); constant SDEI (line 248) | pub const SDEI: Signature = Signature(*b"SDEI"); constant SLIC (line 249) | pub const SLIC: Signature = Signature(*b"SLIC"); constant SPCR (line 250) | pub const SPCR: Signature = Signature(*b"SPCR"); constant SPMI (line 251) | pub const SPMI: Signature = Signature(*b"SPMI"); constant STAO (line 252) | pub const STAO: Signature = Signature(*b"STAO"); constant SVKL (line 253) | pub const SVKL: Signature = Signature(*b"SVKL"); constant TCPA (line 254) | pub const TCPA: Signature = Signature(*b"TCPA"); constant TPM2 (line 255) | pub const TPM2: Signature = Signature(*b"TPM2"); constant UEFI (line 256) | pub const UEFI: Signature = Signature(*b"UEFI"); constant WAET (line 257) | pub const WAET: Signature = Signature(*b"WAET"); constant WDAT (line 258) | pub const WDAT: Signature = Signature(*b"WDAT"); constant WDRT (line 259) | pub const WDRT: Signature = Signature(*b"WDRT"); constant WPBT (line 260) | pub const WPBT: Signature = Signature(*b"WPBT"); constant WSMT (line 261) | pub const WSMT: Signature = Signature(*b"WSMT"); constant XENV (line 262) | pub const XENV: Signature = Signature(*b"XENV"); method as_str (line 264) | pub fn as_str(&self) -> &str { method fmt (line 270) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 276) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/sdt/slit.rs type Slit (line 14) | pub struct Slit { method matrix (line 29) | pub fn matrix(self: Pin<&Self>) -> DistanceMatrix<'_> { method matrix_raw (line 33) | pub fn matrix_raw(self: Pin<&Self>) -> &[u8] { constant SIGNATURE (line 21) | const SIGNATURE: Signature = Signature::SLIT; method header (line 23) | fn header(&self) -> &SdtHeader { type DistanceMatrix (line 49) | pub struct DistanceMatrix<'a> { function distance (line 55) | pub fn distance(&self, i: u32, j: u32) -> Option { FILE: src/sdt/spcr.rs type Spcr (line 25) | pub struct Spcr { method interface_type (line 66) | pub fn interface_type(&self) -> SpcrInterfaceType { method base_address (line 72) | pub fn base_address(&self) -> Option> { method configured_baud_rate (line 76) | fn configured_baud_rate(&self) -> Option { method baud_rate (line 87) | pub fn baud_rate(&self) -> Option { method flow_control (line 92) | pub fn flow_control(&self) -> SpcrFlowControl { method interrupt_type (line 97) | pub fn interrupt_type(&self) -> SpcrInterruptType { method irq (line 103) | pub fn irq(&self) -> Option { method global_system_interrupt (line 110) | pub fn global_system_interrupt(&self) -> Option { method terminal_type (line 118) | pub fn terminal_type(&self) -> SpcrTerminalType { method pci_device_id (line 123) | pub fn pci_device_id(&self) -> Option { method pci_vendor_id (line 128) | pub fn pci_vendor_id(&self) -> Option { method pci_bus_number (line 133) | pub fn pci_bus_number(&self) -> Option { method pci_device_number (line 138) | pub fn pci_device_number(&self) -> Option { method pci_function_number (line 143) | pub fn pci_function_number(&self) -> Option { method uart_clock_frequency (line 148) | pub const fn uart_clock_frequency(&self) -> Option { method namespace_string (line 159) | pub fn namespace_string(&self) -> Result<&str, Utf8Error> { constant SIGNATURE (line 57) | const SIGNATURE: Signature = Signature::SPCR; method header (line 59) | fn header(&self) -> &SdtHeader { type SpcrInterfaceType (line 212) | pub enum SpcrInterfaceType { method from (line 260) | fn from(val: u8) -> Self { FILE: src/sdt/srat.rs type Srat (line 18) | pub struct Srat { method entries (line 34) | pub fn entries(self: Pin<&Self>) -> SratEntryIter<'_> { constant SIGNATURE (line 26) | const SIGNATURE: Signature = Signature::SRAT; method header (line 28) | fn header(&self) -> &SdtHeader { type SratEntryIter (line 45) | pub struct SratEntryIter<'a> { type SratEntry (line 56) | pub enum SratEntry<'a> { type Item (line 66) | type Item = SratEntry<'a>; method next (line 68) | fn next(&mut self) -> Option { type EntryHeader (line 114) | pub struct EntryHeader { type LocalApicAffinity (line 121) | pub struct LocalApicAffinity { method proximity_domain (line 139) | pub fn proximity_domain(&self) -> u32 { type MemoryAffinity (line 151) | pub struct MemoryAffinity { method base_address (line 174) | pub fn base_address(&self) -> u64 { method length (line 180) | pub fn length(&self) -> u64 { type LocalApicX2Affinity (line 189) | pub struct LocalApicX2Affinity { type GiccAffinity (line 201) | pub struct GiccAffinity { type GicItsAffinity (line 211) | pub struct GicItsAffinity { type GicInitiatorAffinity (line 220) | pub struct GicInitiatorAffinity { FILE: tests/bank_fields.rs function test_basic_bank_store_and_load (line 15) | fn test_basic_bank_store_and_load() { FILE: tests/index_fields.rs function test_basic_index_store_and_load_8_bit (line 16) | fn test_basic_index_store_and_load_8_bit() { function test_basic_index_store_and_load_16_bit (line 70) | fn test_basic_index_store_and_load_16_bit() { function test_index_multiple_aligned_reads (line 124) | fn test_index_multiple_aligned_reads() { function test_index_narrower_than_data (line 173) | fn test_index_narrower_than_data() { function test_index_misaligned_field (line 224) | fn test_index_misaligned_field() { FILE: tests/name_search.rs function test_name_search_1 (line 6) | fn test_name_search_1() { function test_name_search_2 (line 28) | fn test_name_search_2() { FILE: tests/normal_fields.rs function test_basic_store_and_load (line 18) | fn test_basic_store_and_load() { function test_narrow_access_store_and_load (line 48) | fn test_narrow_access_store_and_load() { function test_unaligned_field_store (line 81) | fn test_unaligned_field_store() { FILE: tests/operation_region.rs function test_region_in_top_level (line 7) | fn test_region_in_top_level() { function test_region_in_device (line 39) | fn test_region_in_device() { function test_region_in_method (line 75) | fn test_region_in_method() { function test_buffer_field_implicit_conv (line 119) | fn test_buffer_field_implicit_conv() { function test_region_in_pci_device (line 144) | fn test_region_in_pci_device() { FILE: tests/test_infra/mod.rs function run_aml_test (line 10) | pub fn run_aml_test(asl: &'static str, handler: impl Handler) { FILE: tests/uacpi_examples.rs function expressions_with_package (line 16) | fn expressions_with_package() { function package_outside_of_control_method (line 36) | fn package_outside_of_control_method() { function reference_rebind_semantics (line 53) | fn reference_rebind_semantics() { function increment_decrement (line 74) | fn increment_decrement() { function multilevel_references (line 91) | fn multilevel_references() { function implicit_case_semantics (line 109) | fn implicit_case_semantics() { function buffer_size_mutability (line 125) | fn buffer_size_mutability() { function ref_to_local (line 145) | fn ref_to_local() { function copy_object_to_self (line 174) | fn copy_object_to_self() { FILE: tools/acpi_dumper/src/main.rs function main (line 2) | fn main() { function main (line 100) | fn main() { FILE: tools/aml_test_tools/src/handlers/check_cmd_handler.rs type AcpiCommands (line 18) | pub enum AcpiCommands { type CheckCommandHandler (line 52) | pub struct CheckCommandHandler function new (line 65) | pub fn new(commands: Vec, next_handler: H) -> Self { function check_command (line 69) | fn check_command(&self, command: AcpiCommands) { method drop (line 85) | fn drop(&mut self) { method map_physical_region (line 101) | unsafe fn map_physical_region(&self, physical_address: usize, size: u... method unmap_physical_region (line 116) | fn unmap_physical_region(region: &PhysicalMapping) { method read_u8 (line 141) | fn read_u8(&self, address: usize) -> u8 { method read_u16 (line 146) | fn read_u16(&self, address: usize) -> u16 { method read_u32 (line 151) | fn read_u32(&self, address: usize) -> u32 { method read_u64 (line 156) | fn read_u64(&self, address: usize) -> u64 { method write_u8 (line 161) | fn write_u8(&self, address: usize, value: u8) { method write_u16 (line 166) | fn write_u16(&self, address: usize, value: u16) { method write_u32 (line 171) | fn write_u32(&self, address: usize, value: u32) { method write_u64 (line 176) | fn write_u64(&self, address: usize, value: u64) { method read_io_u8 (line 181) | fn read_io_u8(&self, port: u16) -> u8 { method read_io_u16 (line 186) | fn read_io_u16(&self, port: u16) -> u16 { method read_io_u32 (line 191) | fn read_io_u32(&self, port: u16) -> u32 { method write_io_u8 (line 196) | fn write_io_u8(&self, port: u16, value: u8) { method write_io_u16 (line 201) | fn write_io_u16(&self, port: u16, value: u16) { method write_io_u32 (line 206) | fn write_io_u32(&self, port: u16, value: u32) { method read_pci_u8 (line 211) | fn read_pci_u8(&self, address: PciAddress, offset: u16) -> u8 { method read_pci_u16 (line 216) | fn read_pci_u16(&self, address: PciAddress, offset: u16) -> u16 { method read_pci_u32 (line 221) | fn read_pci_u32(&self, address: PciAddress, offset: u16) -> u32 { method write_pci_u8 (line 226) | fn write_pci_u8(&self, address: PciAddress, offset: u16, value: u8) { method write_pci_u16 (line 231) | fn write_pci_u16(&self, address: PciAddress, offset: u16, value: u16) { method write_pci_u32 (line 236) | fn write_pci_u32(&self, address: PciAddress, offset: u16, value: u32) { method nanos_since_boot (line 241) | fn nanos_since_boot(&self) -> u64 { method stall (line 246) | fn stall(&self, microseconds: u64) { method sleep (line 251) | fn sleep(&self, milliseconds: u64) { method create_mutex (line 256) | fn create_mutex(&self) -> Handle { method acquire (line 261) | fn acquire(&self, mutex: Handle, timeout: u16) -> Result<(), AmlError> { method release (line 266) | fn release(&self, mutex: Handle) { function handler_basic_functions (line 278) | fn handler_basic_functions() { function handler_fails_for_wrong_command (line 288) | fn handler_fails_for_wrong_command() { function handler_fails_for_too_many_commands (line 300) | fn handler_fails_for_too_many_commands() { function handler_fails_for_too_few_commands (line 311) | fn handler_fails_for_too_few_commands() { function check_handler_fails_gracefully_for_no_commands (line 320) | fn check_handler_fails_gracefully_for_no_commands() { FILE: tools/aml_test_tools/src/handlers/listed_response_handler.rs type AcpiCommands (line 15) | pub enum AcpiCommands { type ListedResponseHandler (line 35) | pub struct ListedResponseHandler { method new (line 41) | pub fn new(commands: Vec) -> Self { method get_next_command (line 45) | fn get_next_command(&self) -> AcpiCommands { method drop (line 75) | fn drop(&mut self) { method map_physical_region (line 88) | unsafe fn map_physical_region(&self, _physical_address: usize, _size:... method unmap_physical_region (line 93) | fn unmap_physical_region(_region: &PhysicalMapping) {} method read_u8 (line 95) | fn read_u8(&self, _address: usize) -> u8 { method read_u16 (line 99) | fn read_u16(&self, _address: usize) -> u16 { method read_u32 (line 103) | fn read_u32(&self, _address: usize) -> u32 { method read_u64 (line 107) | fn read_u64(&self, _address: usize) -> u64 { method write_u8 (line 111) | fn write_u8(&self, _address: usize, _value: u8) { method write_u16 (line 115) | fn write_u16(&self, _address: usize, _value: u16) { method write_u32 (line 119) | fn write_u32(&self, _address: usize, _value: u32) { method write_u64 (line 123) | fn write_u64(&self, _address: usize, _value: u64) { method read_io_u8 (line 127) | fn read_io_u8(&self, _port: u16) -> u8 { method read_io_u16 (line 131) | fn read_io_u16(&self, _port: u16) -> u16 { method read_io_u32 (line 135) | fn read_io_u32(&self, _port: u16) -> u32 { method write_io_u8 (line 139) | fn write_io_u8(&self, _port: u16, _value: u8) { method write_io_u16 (line 143) | fn write_io_u16(&self, _port: u16, _value: u16) { method write_io_u32 (line 147) | fn write_io_u32(&self, _port: u16, _value: u32) { method read_pci_u8 (line 151) | fn read_pci_u8(&self, _address: PciAddress, _offset: u16) -> u8 { method read_pci_u16 (line 155) | fn read_pci_u16(&self, _address: PciAddress, _offset: u16) -> u16 { method read_pci_u32 (line 159) | fn read_pci_u32(&self, _address: PciAddress, _offset: u16) -> u32 { method write_pci_u8 (line 163) | fn write_pci_u8(&self, _address: PciAddress, _offset: u16, _value: u8) { method write_pci_u16 (line 167) | fn write_pci_u16(&self, _address: PciAddress, _offset: u16, _value: u16) { method write_pci_u32 (line 171) | fn write_pci_u32(&self, _address: PciAddress, _offset: u16, _value: u32) { method nanos_since_boot (line 175) | fn nanos_since_boot(&self) -> u64 { method stall (line 179) | fn stall(&self, _microseconds: u64) { method sleep (line 183) | fn sleep(&self, _milliseconds: u64) { method create_mutex (line 187) | fn create_mutex(&self) -> Handle { method acquire (line 192) | fn acquire(&self, _mutex: Handle, _timeout: u16) -> Result<(), AmlError> { method release (line 197) | fn release(&self, _mutex: Handle) { function handler_basic_functions (line 207) | fn handler_basic_functions() { function handler_fails_for_wrong_command (line 217) | fn handler_fails_for_wrong_command() { function handler_fails_for_too_many_commands (line 229) | fn handler_fails_for_too_many_commands() { function handler_fails_for_too_few_commands (line 240) | fn handler_fails_for_too_few_commands() { function check_handler_fails_gracefully_for_no_commands (line 249) | fn check_handler_fails_gracefully_for_no_commands() { FILE: tools/aml_test_tools/src/handlers/logging_handler.rs type LoggingHandler (line 12) | pub struct LoggingHandler { function new (line 20) | pub fn new(next_handler: H) -> Self { method map_physical_region (line 29) | unsafe fn map_physical_region(&self, physical_address: usize, size: u... method unmap_physical_region (line 44) | fn unmap_physical_region(region: &PhysicalMapping) { method read_u8 (line 60) | fn read_u8(&self, address: usize) -> u8 { method read_u16 (line 66) | fn read_u16(&self, address: usize) -> u16 { method read_u32 (line 72) | fn read_u32(&self, address: usize) -> u32 { method read_u64 (line 78) | fn read_u64(&self, address: usize) -> u64 { method write_u8 (line 84) | fn write_u8(&self, address: usize, value: u8) { method write_u16 (line 89) | fn write_u16(&self, address: usize, value: u16) { method write_u32 (line 94) | fn write_u32(&self, address: usize, value: u32) { method write_u64 (line 99) | fn write_u64(&self, address: usize, value: u64) { method read_io_u8 (line 104) | fn read_io_u8(&self, port: u16) -> u8 { method read_io_u16 (line 110) | fn read_io_u16(&self, port: u16) -> u16 { method read_io_u32 (line 116) | fn read_io_u32(&self, port: u16) -> u32 { method write_io_u8 (line 122) | fn write_io_u8(&self, port: u16, value: u8) { method write_io_u16 (line 127) | fn write_io_u16(&self, port: u16, value: u16) { method write_io_u32 (line 132) | fn write_io_u32(&self, port: u16, value: u32) { method read_pci_u8 (line 137) | fn read_pci_u8(&self, address: PciAddress, offset: u16) -> u8 { method read_pci_u16 (line 143) | fn read_pci_u16(&self, address: PciAddress, offset: u16) -> u16 { method read_pci_u32 (line 149) | fn read_pci_u32(&self, address: PciAddress, offset: u16) -> u32 { method write_pci_u8 (line 155) | fn write_pci_u8(&self, address: PciAddress, offset: u16, value: u8) { method write_pci_u16 (line 160) | fn write_pci_u16(&self, address: PciAddress, offset: u16, value: u16) { method write_pci_u32 (line 165) | fn write_pci_u32(&self, address: PciAddress, offset: u16, value: u32) { method nanos_since_boot (line 170) | fn nanos_since_boot(&self) -> u64 { method stall (line 175) | fn stall(&self, microseconds: u64) { method sleep (line 180) | fn sleep(&self, milliseconds: u64) { method create_mutex (line 185) | fn create_mutex(&self) -> Handle { method acquire (line 190) | fn acquire(&self, mutex: Handle, timeout: u16) -> Result<(), acpi::aml::... method release (line 195) | fn release(&self, mutex: Handle) { method handle_debug (line 200) | fn handle_debug(&self, object: &Object) { FILE: tools/aml_test_tools/src/handlers/null_handler.rs type NullHandler (line 7) | pub struct NullHandler; method map_physical_region (line 14) | unsafe fn map_physical_region(&self, _physical_address: usize, _size:... method unmap_physical_region (line 19) | fn unmap_physical_region(_region: &PhysicalMapping) {} method read_u8 (line 21) | fn read_u8(&self, _address: usize) -> u8 { method read_u16 (line 25) | fn read_u16(&self, _address: usize) -> u16 { method read_u32 (line 29) | fn read_u32(&self, _address: usize) -> u32 { method read_u64 (line 33) | fn read_u64(&self, _address: usize) -> u64 { method write_u8 (line 37) | fn write_u8(&self, _address: usize, _value: u8) {} method write_u16 (line 39) | fn write_u16(&self, _address: usize, _value: u16) {} method write_u32 (line 41) | fn write_u32(&self, _address: usize, _value: u32) {} method write_u64 (line 43) | fn write_u64(&self, _address: usize, _value: u64) {} method read_io_u8 (line 45) | fn read_io_u8(&self, _port: u16) -> u8 { method read_io_u16 (line 49) | fn read_io_u16(&self, _port: u16) -> u16 { method read_io_u32 (line 53) | fn read_io_u32(&self, _port: u16) -> u32 { method write_io_u8 (line 57) | fn write_io_u8(&self, _port: u16, _value: u8) {} method write_io_u16 (line 59) | fn write_io_u16(&self, _port: u16, _value: u16) {} method write_io_u32 (line 61) | fn write_io_u32(&self, _port: u16, _value: u32) {} method read_pci_u8 (line 63) | fn read_pci_u8(&self, _address: PciAddress, _offset: u16) -> u8 { method read_pci_u16 (line 67) | fn read_pci_u16(&self, _address: PciAddress, _offset: u16) -> u16 { method read_pci_u32 (line 71) | fn read_pci_u32(&self, _address: PciAddress, _offset: u16) -> u32 { method write_pci_u8 (line 75) | fn write_pci_u8(&self, _address: PciAddress, _offset: u16, _value: u8) {} method write_pci_u16 (line 77) | fn write_pci_u16(&self, _address: PciAddress, _offset: u16, _value: u16) {} method write_pci_u32 (line 79) | fn write_pci_u32(&self, _address: PciAddress, _offset: u16, _value: u32) {} method nanos_since_boot (line 81) | fn nanos_since_boot(&self) -> u64 { method stall (line 85) | fn stall(&self, _microseconds: u64) {} method sleep (line 87) | fn sleep(&self, _milliseconds: u64) {} method create_mutex (line 89) | fn create_mutex(&self) -> Handle { method acquire (line 93) | fn acquire(&self, _mutex: Handle, _timeout: u16) -> Result<(), AmlError> { method release (line 97) | fn release(&self, _mutex: Handle) {} FILE: tools/aml_test_tools/src/handlers/std_test_handler.rs type Command (line 15) | pub type Command = (Check, Response); function construct_std_handler (line 21) | pub fn construct_std_handler(commands: Vec) -> impl Handler { function map_physical_region (line 28) | pub const fn map_physical_region(physical_address: usize, size: usize) -... function unmap_physical_region (line 33) | pub const fn unmap_physical_region(region: usize) -> Command { function read_u8 (line 38) | pub const fn read_u8(address: usize, response: u8) -> Command { function read_u16 (line 43) | pub const fn read_u16(address: usize, response: u16) -> Command { function read_u32 (line 48) | pub const fn read_u32(address: usize, response: u32) -> Command { function read_u64 (line 53) | pub const fn read_u64(address: usize, response: u64) -> Command { function write_u8 (line 58) | pub const fn write_u8(address: usize, value: u8) -> Command { function write_u16 (line 63) | pub const fn write_u16(address: usize, value: u16) -> Command { function write_u32 (line 68) | pub const fn write_u32(address: usize, value: u32) -> Command { function write_u64 (line 73) | pub const fn write_u64(address: usize, value: u64) -> Command { function read_io_u8 (line 78) | pub const fn read_io_u8(port: u16, response: u8) -> Command { function read_io_u16 (line 83) | pub const fn read_io_u16(port: u16, response: u16) -> Command { function read_io_u32 (line 88) | pub const fn read_io_u32(port: u16, response: u32) -> Command { function write_io_u8 (line 93) | pub const fn write_io_u8(port: u16, value: u8) -> Command { function write_io_u16 (line 98) | pub const fn write_io_u16(port: u16, value: u16) -> Command { function write_io_u32 (line 103) | pub const fn write_io_u32(port: u16, value: u32) -> Command { function read_pci_u8 (line 108) | pub const fn read_pci_u8(address: PciAddress, offset: u16, response: u8)... function read_pci_u16 (line 113) | pub const fn read_pci_u16(address: PciAddress, offset: u16, response: u1... function read_pci_u32 (line 118) | pub const fn read_pci_u32(address: PciAddress, offset: u16, response: u3... function write_pci_u8 (line 123) | pub const fn write_pci_u8(address: PciAddress, offset: u16, value: u8) -... function write_pci_u16 (line 128) | pub const fn write_pci_u16(address: PciAddress, offset: u16, value: u16)... function write_pci_u32 (line 133) | pub const fn write_pci_u32(address: PciAddress, offset: u16, value: u32)... function nanos_since_boot (line 138) | pub const fn nanos_since_boot(response: u64) -> Command { function stall (line 143) | pub const fn stall(microseconds: u64) -> Command { function sleep (line 148) | pub const fn sleep(milliseconds: u64) -> Command { function create_mutex (line 153) | pub const fn create_mutex() -> Command { function acquire (line 158) | pub const fn acquire(mutex: Handle, timeout: u16) -> Command { function release (line 163) | pub const fn release(mutex: Handle) -> Command { FILE: tools/aml_test_tools/src/lib.rs type RunTestResult (line 40) | pub enum RunTestResult type TestResult (line 56) | pub enum TestResult { method from (line 76) | fn from(result: &RunTestResult) -> Self { type CompilationOutcome (line 86) | pub enum CompilationOutcome { type TestFailureReason (line 106) | pub enum TestFailureReason { type TempScriptFile (line 119) | struct TempScriptFile { function resolve_and_compile (line 135) | pub fn resolve_and_compile(path: &PathBuf, can_compile: bool) -> Compila... function new_interpreter (line 208) | pub fn new_interpreter(handler: T) -> Interpreter function run_test_for_string (line 288) | pub fn run_test_for_string( function run_test_for_file (line 312) | pub fn run_test_for_file( function create_script_file (line 335) | fn create_script_file(asl: &'static str) -> TempScriptFile { function run_test (line 361) | pub fn run_test( FILE: tools/aml_test_tools/src/result.rs type ExpectedResult (line 4) | pub enum ExpectedResult { function result_matches (line 9) | pub fn result_matches(expected: &ExpectedResult, actual: &Object) -> bool { FILE: tools/aml_test_tools/src/tables.rs constant AML_TABLE_HEADER_LENGTH (line 6) | const AML_TABLE_HEADER_LENGTH: usize = 36; type TestAcpiTable (line 11) | pub struct TestAcpiTable { type Error (line 17) | type Error = &'static str; method try_from (line 19) | fn try_from(bytes: &[u8]) -> Result { method content (line 41) | pub fn content(&self) -> &[u8] { method header (line 45) | pub fn header(&self) -> &SdtHeader { function bytes_to_tables (line 51) | pub fn bytes_to_tables(bytes: &[u8]) -> Result, &'sta... FILE: tools/aml_tester/src/main.rs type FinalTestResult (line 40) | enum FinalTestResult { method from (line 48) | fn from(outcome: TestResult) -> Self { function main (line 62) | fn main() -> ExitCode { function find_tests (line 272) | fn find_tests(matches: &clap::ArgMatches) -> std::io::Result impl Handler { FILE: tools/uacpi_test_adapter/src/main.rs function main (line 39) | fn main() -> ExitCode { function get_aml_tester_path (line 68) | fn get_aml_tester_path() -> Option { function get_aml_tester_from_env (line 76) | fn get_aml_tester_from_env() -> Option { function get_aml_tester_from_path_env (line 81) | fn get_aml_tester_from_path_env() -> Option { function get_aml_tester_from_binary_path (line 86) | fn get_aml_tester_from_binary_path() -> Option { function change_exec_name (line 93) | fn change_exec_name(mut path: PathBuf) -> PathBuf { function test_filename_replacement (line 107) | fn test_filename_replacement() {