blob: 4b28939da311ff15d6eb3b8b2edef68af32b3f3a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/******************************************************************************
2 *
3 * Name: acresrc.h - Resource Manager function prototypes
4 *
5 *****************************************************************************/
6
7/*
Bob Moore7735ca02017-02-08 11:00:08 +08008 * Copyright (C) 2000 - 2017, Intel Corp.
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.
17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 * substantially similar to the "NO WARRANTY" disclaimer below
19 * ("Disclaimer") and any redistribution must be conditioned upon
20 * including a substantially similar Disclaimer requirement for further
21 * binary redistribution.
22 * 3. Neither the names of the above-listed copyright holders nor the names
23 * of any contributors may be used to endorse or promote products derived
24 * from this software without specific prior written permission.
25 *
26 * Alternatively, this software may be distributed under the terms of the
27 * GNU General Public License ("GPL") version 2 as published by the Free
28 * Software Foundation.
29 *
30 * NO WARRANTY
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 * POSSIBILITY OF SUCH DAMAGES.
42 */
43
44#ifndef __ACRESRC_H__
45#define __ACRESRC_H__
46
Bob Moore50eca3e2005-09-30 19:03:00 -040047/* Need the AML resource descriptor structs */
48
49#include "amlresrc.h"
50
51/*
Bob Moore08978312005-10-21 00:00:00 -040052 * If possible, pack the following structures to byte alignment, since we
Bob Mooref6dd9222006-07-07 20:44:38 -040053 * don't care about performance for debug output. Two cases where we cannot
54 * pack the structures:
55 *
56 * 1) Hardware does not support misaligned memory transfers
57 * 2) Compiler does not support pointers within packed structures
Bob Moore08978312005-10-21 00:00:00 -040058 */
Bob Mooref6dd9222006-07-07 20:44:38 -040059#if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED))
Bob Moore08978312005-10-21 00:00:00 -040060#pragma pack(1)
61#endif
62
63/*
64 * Individual entry for the resource conversion tables
65 */
66typedef const struct acpi_rsconvert_info {
67 u8 opcode;
68 u8 resource_offset;
69 u8 aml_offset;
70 u8 value;
71
72} acpi_rsconvert_info;
73
74/* Resource conversion opcodes */
75
Lin Minge0fe0a82011-11-16 14:38:13 +080076typedef enum {
77 ACPI_RSC_INITGET = 0,
78 ACPI_RSC_INITSET,
79 ACPI_RSC_FLAGINIT,
80 ACPI_RSC_1BITFLAG,
81 ACPI_RSC_2BITFLAG,
82 ACPI_RSC_3BITFLAG,
83 ACPI_RSC_ADDRESS,
84 ACPI_RSC_BITMASK,
85 ACPI_RSC_BITMASK16,
86 ACPI_RSC_COUNT,
87 ACPI_RSC_COUNT16,
88 ACPI_RSC_COUNT_GPIO_PIN,
89 ACPI_RSC_COUNT_GPIO_RES,
90 ACPI_RSC_COUNT_GPIO_VEN,
91 ACPI_RSC_COUNT_SERIAL_RES,
92 ACPI_RSC_COUNT_SERIAL_VEN,
93 ACPI_RSC_DATA8,
94 ACPI_RSC_EXIT_EQ,
95 ACPI_RSC_EXIT_LE,
96 ACPI_RSC_EXIT_NE,
97 ACPI_RSC_LENGTH,
98 ACPI_RSC_MOVE_GPIO_PIN,
99 ACPI_RSC_MOVE_GPIO_RES,
100 ACPI_RSC_MOVE_SERIAL_RES,
101 ACPI_RSC_MOVE_SERIAL_VEN,
102 ACPI_RSC_MOVE8,
103 ACPI_RSC_MOVE16,
104 ACPI_RSC_MOVE32,
105 ACPI_RSC_MOVE64,
106 ACPI_RSC_SET8,
107 ACPI_RSC_SOURCE,
108 ACPI_RSC_SOURCEX
109} ACPI_RSCONVERT_OPCODES;
Bob Moore08978312005-10-21 00:00:00 -0400110
111/* Resource Conversion sub-opcodes */
112
113#define ACPI_RSC_COMPARE_AML_LENGTH 0
114#define ACPI_RSC_COMPARE_VALUE 1
115
116#define ACPI_RSC_TABLE_SIZE(d) (sizeof (d) / sizeof (struct acpi_rsconvert_info))
117
118#define ACPI_RS_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_resource,f)
119#define AML_OFFSET(f) (u8) ACPI_OFFSET (union aml_resource,f)
120
Lin Minge0fe0a82011-11-16 14:38:13 +0800121/*
122 * Individual entry for the resource dump tables
123 */
Bob Moore08978312005-10-21 00:00:00 -0400124typedef const struct acpi_rsdump_info {
125 u8 opcode;
126 u8 offset;
Bob Moore0dfaaa32016-03-24 09:40:40 +0800127 const char *name;
Bob Moore96db2552005-11-02 00:00:00 -0500128 const char **pointer;
Bob Moore50eca3e2005-09-30 19:03:00 -0400129
Bob Moore08978312005-10-21 00:00:00 -0400130} acpi_rsdump_info;
Bob Moore50eca3e2005-09-30 19:03:00 -0400131
Bob Moore08978312005-10-21 00:00:00 -0400132/* Values for the Opcode field above */
Bob Moore50eca3e2005-09-30 19:03:00 -0400133
Lin Minge0fe0a82011-11-16 14:38:13 +0800134typedef enum {
135 ACPI_RSD_TITLE = 0,
136 ACPI_RSD_1BITFLAG,
137 ACPI_RSD_2BITFLAG,
138 ACPI_RSD_3BITFLAG,
139 ACPI_RSD_ADDRESS,
140 ACPI_RSD_DWORDLIST,
141 ACPI_RSD_LITERAL,
142 ACPI_RSD_LONGLIST,
143 ACPI_RSD_SHORTLIST,
144 ACPI_RSD_SHORTLISTX,
145 ACPI_RSD_SOURCE,
146 ACPI_RSD_STRING,
147 ACPI_RSD_UINT8,
148 ACPI_RSD_UINT16,
149 ACPI_RSD_UINT32,
150 ACPI_RSD_UINT64,
Mika Westerbergfdaa0982017-06-05 16:39:25 +0800151 ACPI_RSD_WORDLIST,
152 ACPI_RSD_LABEL,
Mika Westerbergf8a6c862017-06-05 16:39:31 +0800153 ACPI_RSD_SOURCE_LABEL,
Mika Westerbergfdaa0982017-06-05 16:39:25 +0800154
Lin Minge0fe0a82011-11-16 14:38:13 +0800155} ACPI_RSDUMP_OPCODES;
Bob Moore50eca3e2005-09-30 19:03:00 -0400156
Bob Moore08978312005-10-21 00:00:00 -0400157/* restore default alignment */
Bob Moore50eca3e2005-09-30 19:03:00 -0400158
Bob Moore08978312005-10-21 00:00:00 -0400159#pragma pack()
Bob Moore50eca3e2005-09-30 19:03:00 -0400160
Bob Moore08978312005-10-21 00:00:00 -0400161/* Resource tables indexed by internal resource type */
162
163extern const u8 acpi_gbl_aml_resource_sizes[];
Lin Minge0fe0a82011-11-16 14:38:13 +0800164extern const u8 acpi_gbl_aml_resource_serial_bus_sizes[];
Bob Moore08978312005-10-21 00:00:00 -0400165extern struct acpi_rsconvert_info *acpi_gbl_set_resource_dispatch[];
166
167/* Resource tables indexed by raw AML resource descriptor type */
Bob Moore50eca3e2005-09-30 19:03:00 -0400168
Bob Moorec51a4de2005-11-17 13:07:00 -0500169extern const u8 acpi_gbl_resource_struct_sizes[];
Lin Minge0fe0a82011-11-16 14:38:13 +0800170extern const u8 acpi_gbl_resource_struct_serial_bus_sizes[];
Bob Moore96db2552005-11-02 00:00:00 -0500171extern struct acpi_rsconvert_info *acpi_gbl_get_resource_dispatch[];
172
Lin Minge0fe0a82011-11-16 14:38:13 +0800173extern struct acpi_rsconvert_info
174 *acpi_gbl_convert_resource_serial_bus_dispatch[];
175
Bob Moorec51a4de2005-11-17 13:07:00 -0500176struct acpi_vendor_walk_info {
177 struct acpi_vendor_uuid *uuid;
178 struct acpi_buffer *buffer;
179 acpi_status status;
180};
Bob Moore50eca3e2005-09-30 19:03:00 -0400181
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182/*
Bob Moore08978312005-10-21 00:00:00 -0400183 * rscreate
184 */
185acpi_status
186acpi_rs_create_resource_list(union acpi_operand_object *aml_buffer,
187 struct acpi_buffer *output_buffer);
188
189acpi_status
Lv Zheng9a0a3592013-11-21 12:17:34 +0800190acpi_rs_create_aml_resources(struct acpi_buffer *resource_list,
Bob Moore08978312005-10-21 00:00:00 -0400191 struct acpi_buffer *output_buffer);
192
193acpi_status
194acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object,
195 struct acpi_buffer *output_buffer);
196
197/*
198 * rsutils
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700200
201acpi_status
Bob Moore41195322006-05-26 16:36:00 -0400202acpi_rs_get_prt_method_data(struct acpi_namespace_node *node,
203 struct acpi_buffer *ret_buffer);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205acpi_status
Bob Moore41195322006-05-26 16:36:00 -0400206acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
207 struct acpi_buffer *ret_buffer);
208
209acpi_status
210acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
211 struct acpi_buffer *ret_buffer);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212
213acpi_status
Len Brown4be44fc2005-08-05 00:44:28 -0400214acpi_rs_get_method_data(acpi_handle handle,
Bob Moore0dfaaa32016-03-24 09:40:40 +0800215 const char *path, struct acpi_buffer *ret_buffer);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216
217acpi_status
Bob Moore41195322006-05-26 16:36:00 -0400218acpi_rs_set_srs_method_data(struct acpi_namespace_node *node,
219 struct acpi_buffer *ret_buffer);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220
Bob Moorea91cdde2011-11-16 14:46:57 +0800221acpi_status
222acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
223 struct acpi_buffer *ret_buffer);
224
Robert Moore44f6c012005-04-18 22:49:35 -0400225/*
226 * rscalc
227 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228acpi_status
Lv Zhengf5c1e1c2016-05-05 12:57:53 +0800229acpi_rs_get_list_length(u8 *aml_buffer,
230 u32 aml_buffer_length, acpi_size *size_needed);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231
232acpi_status
Lv Zheng9a0a3592013-11-21 12:17:34 +0800233acpi_rs_get_aml_length(struct acpi_resource *resource_list,
Lv Zhengf5c1e1c2016-05-05 12:57:53 +0800234 acpi_size resource_list_size, acpi_size *size_needed);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700235
236acpi_status
Len Brown4be44fc2005-08-05 00:44:28 -0400237acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object,
Lv Zhengf5c1e1c2016-05-05 12:57:53 +0800238 acpi_size *buffer_size_needed);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700239
240acpi_status
Bob Moore616861242006-03-17 16:44:00 -0500241acpi_rs_convert_aml_to_resources(u8 * aml,
242 u32 length,
243 u32 offset, u8 resource_index, void **context);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244
245acpi_status
Bob Moore50eca3e2005-09-30 19:03:00 -0400246acpi_rs_convert_resources_to_aml(struct acpi_resource *resource,
247 acpi_size aml_size_needed, u8 * output_buffer);
248
249/*
Bob Moore50eca3e2005-09-30 19:03:00 -0400250 * rsaddr
251 */
Bob Moore08978312005-10-21 00:00:00 -0400252void
253acpi_rs_set_address_common(union aml_resource *aml,
Bob Moore50eca3e2005-09-30 19:03:00 -0400254 struct acpi_resource *resource);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255
Bob Moore08978312005-10-21 00:00:00 -0400256u8
257acpi_rs_get_address_common(struct acpi_resource *resource,
Bob Moore50eca3e2005-09-30 19:03:00 -0400258 union aml_resource *aml);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259
Robert Moorebda663d2005-09-16 16:51:15 -0400260/*
261 * rsmisc
262 */
263acpi_status
Bob Moore08978312005-10-21 00:00:00 -0400264acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
265 union aml_resource *aml,
266 struct acpi_rsconvert_info *info);
Robert Moorebda663d2005-09-16 16:51:15 -0400267
268acpi_status
Bob Moore08978312005-10-21 00:00:00 -0400269acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
270 union aml_resource *aml,
271 struct acpi_rsconvert_info *info);
Bob Moore50eca3e2005-09-30 19:03:00 -0400272
273/*
274 * rsutils
275 */
276void
277acpi_rs_move_data(void *destination,
278 void *source, u16 item_count, u8 move_type);
279
Bob Moore08978312005-10-21 00:00:00 -0400280u8 acpi_rs_decode_bitmask(u16 mask, u8 * list);
Bob Moore50eca3e2005-09-30 19:03:00 -0400281
Bob Moore08978312005-10-21 00:00:00 -0400282u16 acpi_rs_encode_bitmask(u8 * list, u8 count);
Bob Moore50eca3e2005-09-30 19:03:00 -0400283
Bob Moore08978312005-10-21 00:00:00 -0400284acpi_rs_length
285acpi_rs_get_resource_source(acpi_rs_length resource_length,
286 acpi_rs_length minimum_length,
Bob Moore50eca3e2005-09-30 19:03:00 -0400287 struct acpi_resource_source *resource_source,
288 union aml_resource *aml, char *string_ptr);
289
Bob Moore08978312005-10-21 00:00:00 -0400290acpi_rsdesc_size
Bob Moore50eca3e2005-09-30 19:03:00 -0400291acpi_rs_set_resource_source(union aml_resource *aml,
Bob Moore08978312005-10-21 00:00:00 -0400292 acpi_rs_length minimum_length,
Bob Moore50eca3e2005-09-30 19:03:00 -0400293 struct acpi_resource_source *resource_source);
294
Bob Moore50eca3e2005-09-30 19:03:00 -0400295void
296acpi_rs_set_resource_header(u8 descriptor_type,
Bob Moore08978312005-10-21 00:00:00 -0400297 acpi_rsdesc_size total_length,
298 union aml_resource *aml);
299
300void
301acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
302 union aml_resource *aml);
Bob Moore50eca3e2005-09-30 19:03:00 -0400303
Bob Moore50eca3e2005-09-30 19:03:00 -0400304/*
Bob Moore39239fe2015-04-13 11:50:08 +0800305 * rsdump - Debugger support
Bob Moore50eca3e2005-09-30 19:03:00 -0400306 */
Bob Moore39239fe2015-04-13 11:50:08 +0800307#ifdef ACPI_DEBUGGER
Bob Moore08978312005-10-21 00:00:00 -0400308void acpi_rs_dump_resource_list(struct acpi_resource *resource);
Bob Moore50eca3e2005-09-30 19:03:00 -0400309
Lv Zheng18ae9022015-04-13 11:48:12 +0800310void acpi_rs_dump_irq_list(u8 *route_table);
Lv Zheng27c481f2015-04-13 11:49:47 +0800311#endif
Bob Moore50eca3e2005-09-30 19:03:00 -0400312
Bob Moore08978312005-10-21 00:00:00 -0400313/*
314 * Resource conversion tables
315 */
316extern struct acpi_rsconvert_info acpi_rs_convert_dma[];
317extern struct acpi_rsconvert_info acpi_rs_convert_end_dpf[];
318extern struct acpi_rsconvert_info acpi_rs_convert_io[];
319extern struct acpi_rsconvert_info acpi_rs_convert_fixed_io[];
320extern struct acpi_rsconvert_info acpi_rs_convert_end_tag[];
321extern struct acpi_rsconvert_info acpi_rs_convert_memory24[];
322extern struct acpi_rsconvert_info acpi_rs_convert_generic_reg[];
323extern struct acpi_rsconvert_info acpi_rs_convert_memory32[];
324extern struct acpi_rsconvert_info acpi_rs_convert_fixed_memory32[];
325extern struct acpi_rsconvert_info acpi_rs_convert_address32[];
326extern struct acpi_rsconvert_info acpi_rs_convert_address16[];
327extern struct acpi_rsconvert_info acpi_rs_convert_ext_irq[];
328extern struct acpi_rsconvert_info acpi_rs_convert_address64[];
329extern struct acpi_rsconvert_info acpi_rs_convert_ext_address64[];
Lin Minge0fe0a82011-11-16 14:38:13 +0800330extern struct acpi_rsconvert_info acpi_rs_convert_gpio[];
331extern struct acpi_rsconvert_info acpi_rs_convert_fixed_dma[];
332extern struct acpi_rsconvert_info acpi_rs_convert_i2c_serial_bus[];
333extern struct acpi_rsconvert_info acpi_rs_convert_spi_serial_bus[];
334extern struct acpi_rsconvert_info acpi_rs_convert_uart_serial_bus[];
Mika Westerberg2b726932017-06-05 16:39:14 +0800335extern struct acpi_rsconvert_info acpi_rs_convert_pin_function[];
Mika Westerberg97028ce2017-06-05 16:39:19 +0800336extern struct acpi_rsconvert_info acpi_rs_convert_pin_config[];
Mika Westerbergfdaa0982017-06-05 16:39:25 +0800337extern struct acpi_rsconvert_info acpi_rs_convert_pin_group[];
Mika Westerbergf8a6c862017-06-05 16:39:31 +0800338extern struct acpi_rsconvert_info acpi_rs_convert_pin_group_function[];
Bob Moore50eca3e2005-09-30 19:03:00 -0400339
Bob Moore08978312005-10-21 00:00:00 -0400340/* These resources require separate get/set tables */
Bob Moore50eca3e2005-09-30 19:03:00 -0400341
Bob Moore08978312005-10-21 00:00:00 -0400342extern struct acpi_rsconvert_info acpi_rs_get_irq[];
343extern struct acpi_rsconvert_info acpi_rs_get_start_dpf[];
344extern struct acpi_rsconvert_info acpi_rs_get_vendor_small[];
345extern struct acpi_rsconvert_info acpi_rs_get_vendor_large[];
Bob Moore50eca3e2005-09-30 19:03:00 -0400346
Bob Moore08978312005-10-21 00:00:00 -0400347extern struct acpi_rsconvert_info acpi_rs_set_irq[];
348extern struct acpi_rsconvert_info acpi_rs_set_start_dpf[];
349extern struct acpi_rsconvert_info acpi_rs_set_vendor[];
Bob Moore50eca3e2005-09-30 19:03:00 -0400350
Bob Moore08978312005-10-21 00:00:00 -0400351#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
352/*
353 * rsinfo
354 */
355extern struct acpi_rsdump_info *acpi_gbl_dump_resource_dispatch[];
Lin Minge0fe0a82011-11-16 14:38:13 +0800356extern struct acpi_rsdump_info *acpi_gbl_dump_serial_bus_dispatch[];
Bob Moore50eca3e2005-09-30 19:03:00 -0400357
Bob Moore08978312005-10-21 00:00:00 -0400358/*
Bob Moore42f8fb72013-01-11 13:08:51 +0100359 * rsdumpinfo
Bob Moore08978312005-10-21 00:00:00 -0400360 */
361extern struct acpi_rsdump_info acpi_rs_dump_irq[];
Bob Moore42f8fb72013-01-11 13:08:51 +0100362extern struct acpi_rsdump_info acpi_rs_dump_prt[];
Bob Moore08978312005-10-21 00:00:00 -0400363extern struct acpi_rsdump_info acpi_rs_dump_dma[];
364extern struct acpi_rsdump_info acpi_rs_dump_start_dpf[];
365extern struct acpi_rsdump_info acpi_rs_dump_end_dpf[];
366extern struct acpi_rsdump_info acpi_rs_dump_io[];
Bob Moore42f8fb72013-01-11 13:08:51 +0100367extern struct acpi_rsdump_info acpi_rs_dump_io_flags[];
Bob Moore08978312005-10-21 00:00:00 -0400368extern struct acpi_rsdump_info acpi_rs_dump_fixed_io[];
369extern struct acpi_rsdump_info acpi_rs_dump_vendor[];
370extern struct acpi_rsdump_info acpi_rs_dump_end_tag[];
371extern struct acpi_rsdump_info acpi_rs_dump_memory24[];
372extern struct acpi_rsdump_info acpi_rs_dump_memory32[];
Bob Moore42f8fb72013-01-11 13:08:51 +0100373extern struct acpi_rsdump_info acpi_rs_dump_memory_flags[];
Bob Moore08978312005-10-21 00:00:00 -0400374extern struct acpi_rsdump_info acpi_rs_dump_fixed_memory32[];
375extern struct acpi_rsdump_info acpi_rs_dump_address16[];
376extern struct acpi_rsdump_info acpi_rs_dump_address32[];
377extern struct acpi_rsdump_info acpi_rs_dump_address64[];
378extern struct acpi_rsdump_info acpi_rs_dump_ext_address64[];
379extern struct acpi_rsdump_info acpi_rs_dump_ext_irq[];
380extern struct acpi_rsdump_info acpi_rs_dump_generic_reg[];
Lin Minge0fe0a82011-11-16 14:38:13 +0800381extern struct acpi_rsdump_info acpi_rs_dump_gpio[];
Mika Westerberg2b726932017-06-05 16:39:14 +0800382extern struct acpi_rsdump_info acpi_rs_dump_pin_function[];
Lin Minge0fe0a82011-11-16 14:38:13 +0800383extern struct acpi_rsdump_info acpi_rs_dump_fixed_dma[];
384extern struct acpi_rsdump_info acpi_rs_dump_common_serial_bus[];
385extern struct acpi_rsdump_info acpi_rs_dump_i2c_serial_bus[];
386extern struct acpi_rsdump_info acpi_rs_dump_spi_serial_bus[];
387extern struct acpi_rsdump_info acpi_rs_dump_uart_serial_bus[];
Bob Moore42f8fb72013-01-11 13:08:51 +0100388extern struct acpi_rsdump_info acpi_rs_dump_general_flags[];
Mika Westerberg97028ce2017-06-05 16:39:19 +0800389extern struct acpi_rsdump_info acpi_rs_dump_pin_config[];
Mika Westerbergfdaa0982017-06-05 16:39:25 +0800390extern struct acpi_rsdump_info acpi_rs_dump_pin_group[];
Mika Westerbergf8a6c862017-06-05 16:39:31 +0800391extern struct acpi_rsdump_info acpi_rs_dump_pin_group_function[];
Bob Moore50eca3e2005-09-30 19:03:00 -0400392#endif
Robert Moorebda663d2005-09-16 16:51:15 -0400393
Len Brown4be44fc2005-08-05 00:44:28 -0400394#endif /* __ACRESRC_H__ */