Lines Matching refs:atcs
130 struct amdgpu_atcs atcs; member
522 static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs, in amdgpu_atcs_call() argument
547 status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer); in amdgpu_atcs_call()
589 static int amdgpu_atcs_verify_interface(struct amdgpu_atcs *atcs) in amdgpu_atcs_verify_interface() argument
596 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atcs_verify_interface()
615 amdgpu_atcs_parse_functions(&atcs->functions, output.function_bits); in amdgpu_atcs_verify_interface()
633 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_is_pcie_performance_request_supported() local
635 if (atcs->functions.pcie_perf_req && atcs->functions.pcie_dev_rdy) in amdgpu_acpi_is_pcie_performance_request_supported()
650 return amdgpu_acpi_priv.atcs.functions.power_shift_control; in amdgpu_acpi_is_power_shift_control_supported()
665 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_notify_device_ready() local
667 if (!atcs->functions.pcie_dev_rdy) in amdgpu_acpi_pcie_notify_device_ready()
670 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL); in amdgpu_acpi_pcie_notify_device_ready()
694 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_performance_request() local
704 if (!atcs->functions.pcie_perf_req) in amdgpu_acpi_pcie_performance_request()
721 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, ¶ms); in amdgpu_acpi_pcie_performance_request()
770 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_power_shift_control() local
786 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_POWER_SHIFT_CONTROL, ¶ms); in amdgpu_acpi_power_shift_control()
1340 amdgpu_acpi_priv.atcs.handle = atcs_handle; in amdgpu_atcs_pci_probe_handle()
1341 acpi_get_name(amdgpu_acpi_priv.atcs.handle, ACPI_FULL_PATHNAME, &buffer); in amdgpu_atcs_pci_probe_handle()
1343 ret = amdgpu_atcs_verify_interface(&amdgpu_acpi_priv.atcs); in amdgpu_atcs_pci_probe_handle()
1345 amdgpu_acpi_priv.atcs.handle = 0; in amdgpu_atcs_pci_probe_handle()
1388 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_detect() local
1395 if (!atcs->handle) in amdgpu_acpi_detect()
1402 if (!atcs->handle) in amdgpu_acpi_detect()