Lines Matching +defs:output +defs:buffer
145 * Returns a pointer to the acpi output buffer.
155 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
165 atif_arg_elements[1].buffer.length = params->length;
166 atif_arg_elements[1].buffer.pointer = params->pointer;
174 &buffer);
175 obj = (union acpi_object *)buffer.pointer;
249 struct atif_verify_interface output;
257 memset(&output, 0, sizeof(output));
259 size = *(u16 *) info->buffer.pointer;
261 DRM_INFO("ATIF buffer is too small: %zu\n", size);
265 size = min(sizeof(output), size);
267 memcpy(&output, info->buffer.pointer, size);
270 DRM_DEBUG_DRIVER("ATIF version %u\n", output.version);
272 amdgpu_atif_parse_notification(&atif->notifications, output.notification_mask);
273 amdgpu_atif_parse_functions(&atif->functions, output.function_bits);
306 size = *(u16 *) info->buffer.pointer;
314 memcpy(¶ms, info->buffer.pointer, size);
382 size = *(u16 *) info->buffer.pointer;
390 memcpy(&characteristics, info->buffer.pointer, size);
425 size = *(u16 *)info->buffer.pointer;
433 memcpy(req, info->buffer.pointer, size);
531 * Returns a pointer to the acpi output buffer.
540 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
550 atcs_arg_elements[1].buffer.length = params->length;
551 atcs_arg_elements[1].buffer.pointer = params->pointer;
558 status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer);
564 kfree(buffer.pointer);
568 return buffer.pointer;
603 struct atcs_verify_interface output;
611 memset(&output, 0, sizeof(output));
613 size = *(u16 *) info->buffer.pointer;
615 DRM_INFO("ATCS buffer is too small: %zu\n", size);
619 size = min(sizeof(output), size);
621 memcpy(&output, info->buffer.pointer, size);
624 DRM_DEBUG_DRIVER("ATCS version %u\n", output.version);
626 amdgpu_atcs_parse_functions(&atcs->functions, output.function_bits);
738 size = *(u16 *) info->buffer.pointer;
740 DRM_INFO("ATCS buffer is too small: %zu\n", size);
746 memcpy(&atcs_output, info->buffer.pointer, size);
1315 struct acpi_buffer buffer = {sizeof(acpi_method_name), acpi_method_name};
1329 acpi_get_name(amdgpu_acpi_priv.atif.handle, ACPI_FULL_PATHNAME, &buffer);
1350 struct acpi_buffer buffer = { sizeof(acpi_method_name), acpi_method_name };
1364 acpi_get_name(amdgpu_acpi_priv.atcs.handle, ACPI_FULL_PATHNAME, &buffer);