Home
last modified time | relevance | path

Searched refs:atcs_arg_elements (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.c441 union acpi_object atcs_arg_elements[2]; in radeon_atcs_call() local
446 atcs_arg.pointer = &atcs_arg_elements[0]; in radeon_atcs_call()
448 atcs_arg_elements[0].type = ACPI_TYPE_INTEGER; in radeon_atcs_call()
449 atcs_arg_elements[0].integer.value = function; in radeon_atcs_call()
452 atcs_arg_elements[1].type = ACPI_TYPE_BUFFER; in radeon_atcs_call()
453 atcs_arg_elements[1].buffer.length = params->length; in radeon_atcs_call()
454 atcs_arg_elements[1].buffer.pointer = params->pointer; in radeon_atcs_call()
457 atcs_arg_elements[1].type = ACPI_TYPE_INTEGER; in radeon_atcs_call()
458 atcs_arg_elements[1].integer.value = 0; in radeon_atcs_call()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c536 union acpi_object atcs_arg_elements[2]; in amdgpu_atcs_call() local
541 atcs_arg.pointer = &atcs_arg_elements[0]; in amdgpu_atcs_call()
543 atcs_arg_elements[0].type = ACPI_TYPE_INTEGER; in amdgpu_atcs_call()
544 atcs_arg_elements[0].integer.value = function; in amdgpu_atcs_call()
547 atcs_arg_elements[1].type = ACPI_TYPE_BUFFER; in amdgpu_atcs_call()
548 atcs_arg_elements[1].buffer.length = params->length; in amdgpu_atcs_call()
549 atcs_arg_elements[1].buffer.pointer = params->pointer; in amdgpu_atcs_call()
552 atcs_arg_elements[1].type = ACPI_TYPE_INTEGER; in amdgpu_atcs_call()
553 atcs_arg_elements[1].integer.value = 0; in amdgpu_atcs_call()