Lines Matching full:acpi
2 /* IIO ACPI helper functions */
4 #include <linux/acpi.h>
11 * iio_read_acpi_mount_matrix() - Read accelerometer mount matrix info from ACPI
14 * @acpi_method: ACPI method name to read the matrix from, usually "ROTM"
17 * ACPI firmware-node. If the device has no ACPI firmware-node; or the method
19 * return data in the ACPI "ROTM" format defined by Microsoft:
20 * https://learn.microsoft.com/en-us/windows-hardware/drivers/sensors/sensors-acpi-entries
21 * This is a Microsoft extension and not part of the official ACPI spec.
23 * matrices in a single ACPI device using separate "ROMK" and "ROMS" methods.
48 dev_err(dev, "Failed to get ACPI mount matrix: %d\n", status); in iio_read_acpi_mount_matrix()
54 dev_err(dev, "Unknown ACPI mount matrix package format\n"); in iio_read_acpi_mount_matrix()
61 dev_err(dev, "Unknown ACPI mount matrix element format\n"); in iio_read_acpi_mount_matrix()
67 dev_err(dev, "Incorrect ACPI mount matrix string format\n"); in iio_read_acpi_mount_matrix()
77 dev_err(dev, "Invalid value in ACPI mount matrix: %d\n", val[j]); in iio_read_acpi_mount_matrix()
93 * iio_get_acpi_device_name_and_data() - Return ACPI device instance name and driver data
97 * When device was enumerated by ACPI ID matching, the user might
99 * the ACPI device instance name might be used. This call may be
105 * Returns: ACPI device instance name or %NULL.