Lines Matching refs:handle
104 static union acpi_object *amdgpu_atif_call(acpi_handle handle, int function, in amdgpu_atif_call() argument
128 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); in amdgpu_atif_call()
199 static int amdgpu_atif_verify_interface(acpi_handle handle, in amdgpu_atif_verify_interface() argument
207 info = amdgpu_atif_call(handle, ATIF_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atif_verify_interface()
246 static int amdgpu_atif_get_notification_params(acpi_handle handle, in amdgpu_atif_get_notification_params() argument
254 info = amdgpu_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS, NULL); in amdgpu_atif_get_notification_params()
308 static int amdgpu_atif_get_sbios_requests(acpi_handle handle, in amdgpu_atif_get_sbios_requests() argument
315 info = amdgpu_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS, NULL); in amdgpu_atif_get_sbios_requests()
352 acpi_handle handle; in amdgpu_atif_handler() local
367 handle = ACPI_HANDLE(&adev->pdev->dev); in amdgpu_atif_handler()
368 count = amdgpu_atif_get_sbios_requests(handle, &req); in amdgpu_atif_handler()
414 static union acpi_object *amdgpu_atcs_call(acpi_handle handle, int function, in amdgpu_atcs_call() argument
438 status = acpi_evaluate_object(handle, "ATCS", &atcs_arg, &buffer); in amdgpu_atcs_call()
480 static int amdgpu_atcs_verify_interface(acpi_handle handle, in amdgpu_atcs_verify_interface() argument
488 info = amdgpu_atcs_call(handle, ATCS_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atcs_verify_interface()
544 acpi_handle handle; in amdgpu_acpi_pcie_notify_device_ready() local
549 handle = ACPI_HANDLE(&adev->pdev->dev); in amdgpu_acpi_pcie_notify_device_ready()
550 if (!handle) in amdgpu_acpi_pcie_notify_device_ready()
556 info = amdgpu_atcs_call(handle, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL); in amdgpu_acpi_pcie_notify_device_ready()
579 acpi_handle handle; in amdgpu_acpi_pcie_performance_request() local
589 handle = ACPI_HANDLE(&adev->pdev->dev); in amdgpu_acpi_pcie_performance_request()
590 if (!handle) in amdgpu_acpi_pcie_performance_request()
610 info = amdgpu_atcs_call(handle, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, ¶ms); in amdgpu_acpi_pcie_performance_request()
686 acpi_handle handle; in amdgpu_acpi_init() local
692 handle = ACPI_HANDLE(&adev->pdev->dev); in amdgpu_acpi_init()
694 if (!adev->bios || !handle) in amdgpu_acpi_init()
698 ret = amdgpu_atcs_verify_interface(handle, atcs); in amdgpu_acpi_init()
704 ret = amdgpu_atif_verify_interface(handle, atif); in amdgpu_acpi_init()
740 ret = amdgpu_atif_get_notification_params(handle, in amdgpu_acpi_init()