1ACPI_DEVICE_IS_FIRST(9)  Device drivers infrastructure ACPI_DEVICE_IS_FIRST(9)
2
3
4

NAME

6       acpi_device_is_first_physical_node - Is given dev first physical node
7

SYNOPSIS

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

ARGUMENTS

13       adev
14           ACPI companion device
15
16       dev
17           Physical device to check
18

DESCRIPTION

20       Function checks if given dev is the first physical devices attached to
21       the ACPI companion device. This distinction is needed in some cases
22       where the same companion device is shared between many physical
23       devices.
24
25       Note that the caller have to provide valid adev pointer.
26
28Kernel Hackers Manual 3.10         June 2019           ACPI_DEVICE_IS_FIRST(9)
Impressum