Lines Matching +full:self +full:- +full:power
1 // SPDX-License-Identifier: GPL-2.0
3 //! Advanced Configuration and Power Interface abstractions.
29 fn index(&self) -> usize {
30 self.0.driver_data
39 pub const fn new(id: &'static CStr) -> Self {
41 build_assert!(src.len() <= Self::ACPI_ID_LEN, "ID exceeds 16 bytes");
43 // SAFETY: FFI type is valid to be zero-initialized.
51 Self(acpi)