Scroll to navigation

ACPI_DEVICE_IS_FIRST(9) Device drivers infrastructure ACPI_DEVICE_IS_FIRST(9)

NAME

acpi_device_is_first_physical_node - Is given dev first physical node

SYNOPSIS

bool acpi_device_is_first_physical_node(struct acpi_device * adev, const struct device * dev);

ARGUMENTS

adev

ACPI companion device

dev

Physical device to check

DESCRIPTION

Function checks if given dev is the first physical devices attached to the ACPI companion device. This distinction is needed in some cases where the same companion device is shared between many physical devices.

Note that the caller have to provide valid adev pointer.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10