Lines Matching refs:atcs
90 struct amdgpu_atcs atcs; member
482 static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs, in amdgpu_atcs_call() argument
507 status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer); in amdgpu_atcs_call()
549 static int amdgpu_atcs_verify_interface(struct amdgpu_atcs *atcs) in amdgpu_atcs_verify_interface() argument
556 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atcs_verify_interface()
575 amdgpu_atcs_parse_functions(&atcs->functions, output.function_bits); in amdgpu_atcs_verify_interface()
593 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_is_pcie_performance_request_supported() local
595 if (atcs->functions.pcie_perf_req && atcs->functions.pcie_dev_rdy) in amdgpu_acpi_is_pcie_performance_request_supported()
610 return amdgpu_acpi_priv.atcs.functions.power_shift_control; in amdgpu_acpi_is_power_shift_control_supported()
625 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_notify_device_ready() local
627 if (!atcs->functions.pcie_dev_rdy) in amdgpu_acpi_pcie_notify_device_ready()
630 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL); in amdgpu_acpi_pcie_notify_device_ready()
654 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_performance_request() local
664 if (!atcs->functions.pcie_perf_req) in amdgpu_acpi_pcie_performance_request()
681 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, ¶ms); in amdgpu_acpi_pcie_performance_request()
730 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_power_shift_control() local
746 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_POWER_SHIFT_CONTROL, ¶ms); in amdgpu_acpi_power_shift_control()
963 amdgpu_acpi_priv.atcs.handle = atcs_handle; in amdgpu_atcs_pci_probe_handle()
964 acpi_get_name(amdgpu_acpi_priv.atcs.handle, ACPI_FULL_PATHNAME, &buffer); in amdgpu_atcs_pci_probe_handle()
966 ret = amdgpu_atcs_verify_interface(&amdgpu_acpi_priv.atcs); in amdgpu_atcs_pci_probe_handle()
968 amdgpu_acpi_priv.atcs.handle = 0; in amdgpu_atcs_pci_probe_handle()
983 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_detect() local
990 if (!atcs->handle) in amdgpu_acpi_detect()
997 if (!atcs->handle) in amdgpu_acpi_detect()