Lines Matching refs:resource_source
286 struct acpi_resource_source * resource_source, in acpi_rs_get_resource_source() argument
309 resource_source->index = aml_resource_source[0]; in acpi_rs_get_resource_source()
311 resource_source->string_ptr = string_ptr; in acpi_rs_get_resource_source()
317 resource_source->string_ptr = in acpi_rs_get_resource_source()
318 ACPI_ADD_PTR(char, resource_source, in acpi_rs_get_resource_source()
335 memset(resource_source->string_ptr, 0, total_length); in acpi_rs_get_resource_source()
339 resource_source->string_length = in acpi_rs_get_resource_source()
340 acpi_rs_strcpy(resource_source->string_ptr, in acpi_rs_get_resource_source()
349 resource_source->index = 0; in acpi_rs_get_resource_source()
350 resource_source->string_length = 0; in acpi_rs_get_resource_source()
351 resource_source->string_ptr = NULL; in acpi_rs_get_resource_source()
375 struct acpi_resource_source *resource_source) in acpi_rs_set_resource_source() argument
386 if (resource_source->string_length) { in acpi_rs_set_resource_source()
394 aml_resource_source[0] = (u8) resource_source->index; in acpi_rs_set_resource_source()
399 resource_source->string_ptr); in acpi_rs_set_resource_source()
406 resource_source->string_length + 1); in acpi_rs_set_resource_source()