Lines Matching +full:acpi +full:- +full:hid

4  * SPDX-License-Identifier: Apache-2.0
8 #include <acpica/source/include/acpi.h>
18 #define ACPI_MMIO_GET(res) (res)->reg_base[0].mmio
19 #define ACPI_IO_GET(res) (res)->reg_base[0].port
20 #define ACPI_RESOURCE_SIZE_GET(res) (res)->reg_base[0].length
21 #define ACPI_RESOURCE_TYPE_GET(res) (res)->reg_base[0].type
23 #define ACPI_MULTI_MMIO_GET(res, idx) (res)->reg_base[idx].mmio
24 #define ACPI_MULTI_IO_GET(res, idx) (res)->reg_base[idx].port
25 #define ACPI_MULTI_RESOURCE_SIZE_GET(res, idx) (res)->reg_base[idx].length
26 #define ACPI_MULTI_RESOURCE_TYPE_GET(res, idx) (res)->reg_base[idx].type
28 #define ACPI_RESOURCE_COUNT_GET(res) (res)->mmio_max
84 * @brief Get the ACPI HID for a node
87 * @return The HID of the ACPI node
92 * @brief Get the ACPI UID for a node if one exist
95 * @return The UID of the ACPI node else NULL if does not exist
100 * @brief check whether the node has ACPI HID property or not
103 * @return 1 if the node has the HID, 0 otherwise.
108 * @brief check whether the node has ACPI UID property or not
116 * @brief Init legacy interrupt routing table information from ACPI.
119 * @param hid the hardware id of the ACPI child device
120 * @param uid the unique id of the ACPI child device. The uid can be
121 * NULL if only one device with given hid present in the platform.
124 int acpi_legacy_irq_init(const char *hid, const char *uid);
138 * @param res the list of acpi resource list
147 * @param res the list of acpi resource list
156 * @param res the list of acpi resource list
164 * @param res the list of acpi resource list
165 * @param res_type the acpi resource type
171 * @brief Retrieve ACPI device info for given hardware id and unique id.
173 * @param hid the hardware id of the ACPI child device
174 * @param uid the unique id of the ACPI child device. The uid can be
175 * NULL if only one device with given HID present in the platform.
176 * @return ACPI child device info on success or NULL
178 struct acpi_dev *acpi_device_get(const char *hid, const char *uid);
181 * @brief Retrieve acpi device info from the index.
183 * @param index the device index of an acpi child device
184 * @return acpi child device info on success or NULL
191 * @param res_lst the list of acpi resource list
198 return res ? &res->Data.Irq : NULL; in acpi_irq_res_get()
204 * @param child_dev the device object of the ACPI node
213 * @param child_dev the device object of the ACPI node
222 * @param res the list of acpi resource list
228 * @brief Retrieve acpi table for the given signature.
230 * @param signature pointer to the 4-character ACPI signature for the requested table
232 * @return acpi_table pointer to the acpi table on success else return NULL
237 * @brief retrieve acpi MAD table for the given type.
256 * @brief retrieve acpi DRHD info for the given scope.
293 * @brief invoke an ACPI method and return the result.
295 * @param path the path name of the ACPI object
297 * @param ret_obj the ACPI result to be return