Lines Matching refs:resource

154 acpi_rs_get_aml_length(struct acpi_resource *resource,  in acpi_rs_get_aml_length()  argument
166 ACPI_ADD_PTR(struct acpi_resource, resource, resource_list_size); in acpi_rs_get_aml_length()
167 while (resource < resource_end) { in acpi_rs_get_aml_length()
171 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_get_aml_length()
177 if (!resource->length) { in acpi_rs_get_aml_length()
183 total_size = acpi_gbl_aml_resource_sizes[resource->type]; in acpi_rs_get_aml_length()
189 switch (resource->type) { in acpi_rs_get_aml_length()
194 if (resource->data.irq.descriptor_length == 2) { in acpi_rs_get_aml_length()
203 if (resource->data.irq.descriptor_length == 0) { in acpi_rs_get_aml_length()
215 if (resource->data.vendor.byte_length > 7) { in acpi_rs_get_aml_length()
226 (total_size + resource->data.vendor.byte_length); in acpi_rs_get_aml_length()
247 (&resource->data. in acpi_rs_get_aml_length()
259 (&resource->data. in acpi_rs_get_aml_length()
271 (&resource->data. in acpi_rs_get_aml_length()
283 ((resource->data. in acpi_rs_get_aml_length()
289 (&resource->data. in acpi_rs_get_aml_length()
297 (resource->data.gpio. in acpi_rs_get_aml_length()
299 resource->data.gpio. in acpi_rs_get_aml_length()
302 resource->data.gpio. in acpi_rs_get_aml_length()
310 (resource->data. in acpi_rs_get_aml_length()
313 resource->data. in acpi_rs_get_aml_length()
317 resource->data. in acpi_rs_get_aml_length()
326 resource->data. in acpi_rs_get_aml_length()
336 acpi_gbl_aml_resource_serial_bus_sizes[resource-> in acpi_rs_get_aml_length()
342 resource->data. in acpi_rs_get_aml_length()
346 resource->data. in acpi_rs_get_aml_length()
355 (resource->data. in acpi_rs_get_aml_length()
358 resource->data.pin_config. in acpi_rs_get_aml_length()
361 resource->data.pin_config. in acpi_rs_get_aml_length()
369 (resource->data.pin_group. in acpi_rs_get_aml_length()
371 resource->data.pin_group. in acpi_rs_get_aml_length()
374 resource->data.pin_group. in acpi_rs_get_aml_length()
382 resource->data. in acpi_rs_get_aml_length()
386 resource->data. in acpi_rs_get_aml_length()
390 resource->data. in acpi_rs_get_aml_length()
399 resource->data. in acpi_rs_get_aml_length()
403 resource->data. in acpi_rs_get_aml_length()
407 resource->data. in acpi_rs_get_aml_length()
424 resource = in acpi_rs_get_aml_length()
425 ACPI_ADD_PTR(struct acpi_resource, resource, in acpi_rs_get_aml_length()
426 resource->length); in acpi_rs_get_aml_length()