Lines Matching refs:atcs
91 struct amdgpu_atcs atcs; member
485 static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs, in amdgpu_atcs_call() argument
510 status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer); in amdgpu_atcs_call()
552 static int amdgpu_atcs_verify_interface(struct amdgpu_atcs *atcs) in amdgpu_atcs_verify_interface() argument
559 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atcs_verify_interface()
578 amdgpu_atcs_parse_functions(&atcs->functions, output.function_bits); in amdgpu_atcs_verify_interface()
596 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_is_pcie_performance_request_supported() local
598 if (atcs->functions.pcie_perf_req && atcs->functions.pcie_dev_rdy) in amdgpu_acpi_is_pcie_performance_request_supported()
613 return amdgpu_acpi_priv.atcs.functions.power_shift_control; in amdgpu_acpi_is_power_shift_control_supported()
628 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_notify_device_ready() local
630 if (!atcs->functions.pcie_dev_rdy) in amdgpu_acpi_pcie_notify_device_ready()
633 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL); in amdgpu_acpi_pcie_notify_device_ready()
657 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_performance_request() local
667 if (!atcs->functions.pcie_perf_req) in amdgpu_acpi_pcie_performance_request()
684 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, ¶ms); in amdgpu_acpi_pcie_performance_request()
733 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_power_shift_control() local
749 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_POWER_SHIFT_CONTROL, ¶ms); in amdgpu_acpi_power_shift_control()
966 amdgpu_acpi_priv.atcs.handle = atcs_handle; in amdgpu_atcs_pci_probe_handle()
967 acpi_get_name(amdgpu_acpi_priv.atcs.handle, ACPI_FULL_PATHNAME, &buffer); in amdgpu_atcs_pci_probe_handle()
969 ret = amdgpu_atcs_verify_interface(&amdgpu_acpi_priv.atcs); in amdgpu_atcs_pci_probe_handle()
971 amdgpu_acpi_priv.atcs.handle = 0; in amdgpu_atcs_pci_probe_handle()
986 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_detect() local
993 if (!atcs->handle) in amdgpu_acpi_detect()
1000 if (!atcs->handle) in amdgpu_acpi_detect()