Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.c118 union acpi_object atif_arg_elements[2]; in radeon_atif_call() local
123 atif_arg.pointer = &atif_arg_elements[0]; in radeon_atif_call()
125 atif_arg_elements[0].type = ACPI_TYPE_INTEGER; in radeon_atif_call()
126 atif_arg_elements[0].integer.value = function; in radeon_atif_call()
129 atif_arg_elements[1].type = ACPI_TYPE_BUFFER; in radeon_atif_call()
130 atif_arg_elements[1].buffer.length = params->length; in radeon_atif_call()
131 atif_arg_elements[1].buffer.pointer = params->pointer; in radeon_atif_call()
134 atif_arg_elements[1].type = ACPI_TYPE_INTEGER; in radeon_atif_call()
135 atif_arg_elements[1].integer.value = 0; in radeon_atif_call()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c151 union acpi_object atif_arg_elements[2]; in amdgpu_atif_call() local
156 atif_arg.pointer = &atif_arg_elements[0]; in amdgpu_atif_call()
158 atif_arg_elements[0].type = ACPI_TYPE_INTEGER; in amdgpu_atif_call()
159 atif_arg_elements[0].integer.value = function; in amdgpu_atif_call()
162 atif_arg_elements[1].type = ACPI_TYPE_BUFFER; in amdgpu_atif_call()
163 atif_arg_elements[1].buffer.length = params->length; in amdgpu_atif_call()
164 atif_arg_elements[1].buffer.pointer = params->pointer; in amdgpu_atif_call()
167 atif_arg_elements[1].type = ACPI_TYPE_INTEGER; in amdgpu_atif_call()
168 atif_arg_elements[1].integer.value = 0; in amdgpu_atif_call()