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 acpi_gbl_aml_resource_serial_bus_sizes[resource-> in acpi_rs_get_aml_length()
332 resource->data. in acpi_rs_get_aml_length()
336 resource->data. in acpi_rs_get_aml_length()
345 (resource->data. in acpi_rs_get_aml_length()
348 resource->data.pin_config. in acpi_rs_get_aml_length()
351 resource->data.pin_config. in acpi_rs_get_aml_length()
359 (resource->data.pin_group. in acpi_rs_get_aml_length()
361 resource->data.pin_group. in acpi_rs_get_aml_length()
364 resource->data.pin_group. in acpi_rs_get_aml_length()
372 resource->data. in acpi_rs_get_aml_length()
376 resource->data. in acpi_rs_get_aml_length()
380 resource->data. in acpi_rs_get_aml_length()
389 resource->data. in acpi_rs_get_aml_length()
393 resource->data. in acpi_rs_get_aml_length()
397 resource->data. in acpi_rs_get_aml_length()
414 resource = in acpi_rs_get_aml_length()
415 ACPI_ADD_PTR(struct acpi_resource, resource, in acpi_rs_get_aml_length()
416 resource->length); in acpi_rs_get_aml_length()