Lines Matching +full:resource +full:- +full:id
4 * SPDX-License-Identifier: Apache-2.0
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
31 /** IO mapped Resource type */
33 /** Memory mapped Resource type */
35 /** Unknown Resource type */
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
135 * @brief Retrieve the current resource settings of a device.
138 * @param res the list of acpi resource list
144 * @brief Retrieve possible resource settings of a device.
147 * @param res the list of acpi resource list
153 * @brief Free current resource list memory which is retrieved by
156 * @param res the list of acpi resource list
162 * @brief Parse resource table for a given resource type.
164 * @param res the list of acpi resource list
165 * @param res_type the acpi resource type
166 * @return resource list for the given type on success or NULL
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
189 * @brief Parse resource table for irq info.
191 * @param res_lst the list of acpi resource list
192 * @return irq resource list on success or NULL
198 return res ? &res->Data.Irq : NULL; in acpi_irq_res_get()
202 * @brief Parse resource table for irq info.
205 * @param irq_res irq resource info
211 * @brief Parse resource table for MMIO info.
214 * @param mmio_res MMIO resource info
220 * @brief Parse resource table for identify resource type.
222 * @param res the list of acpi resource list
223 * @return resource type on success or invalid resource type
230 * @param signature pointer to the 4-character ACPI signature for the requested table
250 * @param tables pointer to the dmar id structure
277 * @brief Retrieve IOAPIC id
279 * @param ioapic_id IOAPIC id