diff options
Diffstat (limited to 'include/acpi/acresrc.h')
-rw-r--r-- | include/acpi/acresrc.h | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/include/acpi/acresrc.h b/include/acpi/acresrc.h index 38e798b05d08..ce2cf72fd4c8 100644 --- a/include/acpi/acresrc.h +++ b/include/acpi/acresrc.h | |||
@@ -110,7 +110,7 @@ acpi_rs_byte_stream_to_list(u8 * byte_stream_buffer, | |||
110 | u32 byte_stream_buffer_length, u8 * output_buffer); | 110 | u32 byte_stream_buffer_length, u8 * output_buffer); |
111 | 111 | ||
112 | acpi_status | 112 | acpi_status |
113 | acpi_rs_list_to_byte_stream(struct acpi_resource *linked_list, | 113 | acpi_rs_list_to_byte_stream(struct acpi_resource *resource, |
114 | acpi_size byte_stream_size_needed, | 114 | acpi_size byte_stream_size_needed, |
115 | u8 * output_buffer); | 115 | u8 * output_buffer); |
116 | 116 | ||
@@ -125,11 +125,11 @@ acpi_rs_fixed_io_resource(u8 * byte_stream_buffer, | |||
125 | u8 ** output_buffer, acpi_size * structure_size); | 125 | u8 ** output_buffer, acpi_size * structure_size); |
126 | 126 | ||
127 | acpi_status | 127 | acpi_status |
128 | acpi_rs_io_stream(struct acpi_resource *linked_list, | 128 | acpi_rs_io_stream(struct acpi_resource *resource, |
129 | u8 ** output_buffer, acpi_size * bytes_consumed); | 129 | u8 ** output_buffer, acpi_size * bytes_consumed); |
130 | 130 | ||
131 | acpi_status | 131 | acpi_status |
132 | acpi_rs_fixed_io_stream(struct acpi_resource *linked_list, | 132 | acpi_rs_fixed_io_stream(struct acpi_resource *resource, |
133 | u8 ** output_buffer, acpi_size * bytes_consumed); | 133 | u8 ** output_buffer, acpi_size * bytes_consumed); |
134 | 134 | ||
135 | acpi_status | 135 | acpi_status |
@@ -138,7 +138,7 @@ acpi_rs_irq_resource(u8 * byte_stream_buffer, | |||
138 | u8 ** output_buffer, acpi_size * structure_size); | 138 | u8 ** output_buffer, acpi_size * structure_size); |
139 | 139 | ||
140 | acpi_status | 140 | acpi_status |
141 | acpi_rs_irq_stream(struct acpi_resource *linked_list, | 141 | acpi_rs_irq_stream(struct acpi_resource *resource, |
142 | u8 ** output_buffer, acpi_size * bytes_consumed); | 142 | u8 ** output_buffer, acpi_size * bytes_consumed); |
143 | 143 | ||
144 | acpi_status | 144 | acpi_status |
@@ -147,7 +147,7 @@ acpi_rs_dma_resource(u8 * byte_stream_buffer, | |||
147 | u8 ** output_buffer, acpi_size * structure_size); | 147 | u8 ** output_buffer, acpi_size * structure_size); |
148 | 148 | ||
149 | acpi_status | 149 | acpi_status |
150 | acpi_rs_dma_stream(struct acpi_resource *linked_list, | 150 | acpi_rs_dma_stream(struct acpi_resource *resource, |
151 | u8 ** output_buffer, acpi_size * bytes_consumed); | 151 | u8 ** output_buffer, acpi_size * bytes_consumed); |
152 | 152 | ||
153 | acpi_status | 153 | acpi_status |
@@ -156,7 +156,7 @@ acpi_rs_address16_resource(u8 * byte_stream_buffer, | |||
156 | u8 ** output_buffer, acpi_size * structure_size); | 156 | u8 ** output_buffer, acpi_size * structure_size); |
157 | 157 | ||
158 | acpi_status | 158 | acpi_status |
159 | acpi_rs_address16_stream(struct acpi_resource *linked_list, | 159 | acpi_rs_address16_stream(struct acpi_resource *resource, |
160 | u8 ** output_buffer, acpi_size * bytes_consumed); | 160 | u8 ** output_buffer, acpi_size * bytes_consumed); |
161 | 161 | ||
162 | acpi_status | 162 | acpi_status |
@@ -165,7 +165,7 @@ acpi_rs_address32_resource(u8 * byte_stream_buffer, | |||
165 | u8 ** output_buffer, acpi_size * structure_size); | 165 | u8 ** output_buffer, acpi_size * structure_size); |
166 | 166 | ||
167 | acpi_status | 167 | acpi_status |
168 | acpi_rs_address32_stream(struct acpi_resource *linked_list, | 168 | acpi_rs_address32_stream(struct acpi_resource *resource, |
169 | u8 ** output_buffer, acpi_size * bytes_consumed); | 169 | u8 ** output_buffer, acpi_size * bytes_consumed); |
170 | 170 | ||
171 | acpi_status | 171 | acpi_status |
@@ -174,7 +174,7 @@ acpi_rs_address64_resource(u8 * byte_stream_buffer, | |||
174 | u8 ** output_buffer, acpi_size * structure_size); | 174 | u8 ** output_buffer, acpi_size * structure_size); |
175 | 175 | ||
176 | acpi_status | 176 | acpi_status |
177 | acpi_rs_address64_stream(struct acpi_resource *linked_list, | 177 | acpi_rs_address64_stream(struct acpi_resource *resource, |
178 | u8 ** output_buffer, acpi_size * bytes_consumed); | 178 | u8 ** output_buffer, acpi_size * bytes_consumed); |
179 | 179 | ||
180 | acpi_status | 180 | acpi_status |
@@ -190,12 +190,12 @@ acpi_rs_end_depend_fns_resource(u8 * byte_stream_buffer, | |||
190 | acpi_size * structure_size); | 190 | acpi_size * structure_size); |
191 | 191 | ||
192 | acpi_status | 192 | acpi_status |
193 | acpi_rs_start_depend_fns_stream(struct acpi_resource *linked_list, | 193 | acpi_rs_start_depend_fns_stream(struct acpi_resource *resource, |
194 | u8 ** output_buffer, | 194 | u8 ** output_buffer, |
195 | acpi_size * bytes_consumed); | 195 | acpi_size * bytes_consumed); |
196 | 196 | ||
197 | acpi_status | 197 | acpi_status |
198 | acpi_rs_end_depend_fns_stream(struct acpi_resource *linked_list, | 198 | acpi_rs_end_depend_fns_stream(struct acpi_resource *resource, |
199 | u8 ** output_buffer, acpi_size * bytes_consumed); | 199 | u8 ** output_buffer, acpi_size * bytes_consumed); |
200 | 200 | ||
201 | acpi_status | 201 | acpi_status |
@@ -204,7 +204,7 @@ acpi_rs_memory24_resource(u8 * byte_stream_buffer, | |||
204 | u8 ** output_buffer, acpi_size * structure_size); | 204 | u8 ** output_buffer, acpi_size * structure_size); |
205 | 205 | ||
206 | acpi_status | 206 | acpi_status |
207 | acpi_rs_memory24_stream(struct acpi_resource *linked_list, | 207 | acpi_rs_memory24_stream(struct acpi_resource *resource, |
208 | u8 ** output_buffer, acpi_size * bytes_consumed); | 208 | u8 ** output_buffer, acpi_size * bytes_consumed); |
209 | 209 | ||
210 | acpi_status | 210 | acpi_status |
@@ -220,11 +220,11 @@ acpi_rs_fixed_memory32_resource(u8 * byte_stream_buffer, | |||
220 | acpi_size * structure_size); | 220 | acpi_size * structure_size); |
221 | 221 | ||
222 | acpi_status | 222 | acpi_status |
223 | acpi_rs_memory32_range_stream(struct acpi_resource *linked_list, | 223 | acpi_rs_memory32_range_stream(struct acpi_resource *resource, |
224 | u8 ** output_buffer, acpi_size * bytes_consumed); | 224 | u8 ** output_buffer, acpi_size * bytes_consumed); |
225 | 225 | ||
226 | acpi_status | 226 | acpi_status |
227 | acpi_rs_fixed_memory32_stream(struct acpi_resource *linked_list, | 227 | acpi_rs_fixed_memory32_stream(struct acpi_resource *resource, |
228 | u8 ** output_buffer, acpi_size * bytes_consumed); | 228 | u8 ** output_buffer, acpi_size * bytes_consumed); |
229 | 229 | ||
230 | acpi_status | 230 | acpi_status |
@@ -233,7 +233,7 @@ acpi_rs_extended_irq_resource(u8 * byte_stream_buffer, | |||
233 | u8 ** output_buffer, acpi_size * structure_size); | 233 | u8 ** output_buffer, acpi_size * structure_size); |
234 | 234 | ||
235 | acpi_status | 235 | acpi_status |
236 | acpi_rs_extended_irq_stream(struct acpi_resource *linked_list, | 236 | acpi_rs_extended_irq_stream(struct acpi_resource *resource, |
237 | u8 ** output_buffer, acpi_size * bytes_consumed); | 237 | u8 ** output_buffer, acpi_size * bytes_consumed); |
238 | 238 | ||
239 | acpi_status | 239 | acpi_status |
@@ -242,7 +242,7 @@ acpi_rs_end_tag_resource(u8 * byte_stream_buffer, | |||
242 | u8 ** output_buffer, acpi_size * structure_size); | 242 | u8 ** output_buffer, acpi_size * structure_size); |
243 | 243 | ||
244 | acpi_status | 244 | acpi_status |
245 | acpi_rs_end_tag_stream(struct acpi_resource *linked_list, | 245 | acpi_rs_end_tag_stream(struct acpi_resource *resource, |
246 | u8 ** output_buffer, acpi_size * bytes_consumed); | 246 | u8 ** output_buffer, acpi_size * bytes_consumed); |
247 | 247 | ||
248 | acpi_status | 248 | acpi_status |
@@ -251,9 +251,23 @@ acpi_rs_vendor_resource(u8 * byte_stream_buffer, | |||
251 | u8 ** output_buffer, acpi_size * structure_size); | 251 | u8 ** output_buffer, acpi_size * structure_size); |
252 | 252 | ||
253 | acpi_status | 253 | acpi_status |
254 | acpi_rs_vendor_stream(struct acpi_resource *linked_list, | 254 | acpi_rs_vendor_stream(struct acpi_resource *resource, |
255 | u8 ** output_buffer, acpi_size * bytes_consumed); | 255 | u8 ** output_buffer, acpi_size * bytes_consumed); |
256 | 256 | ||
257 | u8 acpi_rs_get_resource_type(u8 resource_start_byte); | 257 | u8 acpi_rs_get_resource_type(u8 resource_start_byte); |
258 | 258 | ||
259 | /* | ||
260 | * rsmisc | ||
261 | */ | ||
262 | acpi_status | ||
263 | acpi_rs_generic_register_resource(u8 * byte_stream_buffer, | ||
264 | acpi_size * bytes_consumed, | ||
265 | u8 ** output_buffer, | ||
266 | acpi_size * structure_size); | ||
267 | |||
268 | acpi_status | ||
269 | acpi_rs_generic_register_stream(struct acpi_resource *resource, | ||
270 | u8 ** output_buffer, | ||
271 | acpi_size * bytes_consumed); | ||
272 | |||
259 | #endif /* __ACRESRC_H__ */ | 273 | #endif /* __ACRESRC_H__ */ |