Lines Matching refs:atcs
132 struct amdgpu_atcs atcs; member
541 static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs, in amdgpu_atcs_call() argument
566 status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer); in amdgpu_atcs_call()
611 int amdgpu_atcs_verify_interface(struct amdgpu_atcs *atcs) in amdgpu_atcs_verify_interface() argument
618 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atcs_verify_interface()
637 amdgpu_atcs_parse_functions(&atcs->functions, output.function_bits); in amdgpu_atcs_verify_interface()
655 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_is_pcie_performance_request_supported() local
657 if (atcs->functions.pcie_perf_req && atcs->functions.pcie_dev_rdy) in amdgpu_acpi_is_pcie_performance_request_supported()
672 return amdgpu_acpi_priv.atcs.functions.power_shift_control; in amdgpu_acpi_is_power_shift_control_supported()
677 return amdgpu_acpi_priv.atcs.functions.set_uma_allocation_size; in amdgpu_acpi_is_set_uma_allocation_size_supported()
692 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_notify_device_ready() local
694 if (!atcs->functions.pcie_dev_rdy) in amdgpu_acpi_pcie_notify_device_ready()
697 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL); in amdgpu_acpi_pcie_notify_device_ready()
721 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_pcie_performance_request() local
731 if (!atcs->functions.pcie_perf_req) in amdgpu_acpi_pcie_performance_request()
748 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, ¶ms); in amdgpu_acpi_pcie_performance_request()
798 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_power_shift_control() local
814 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_POWER_SHIFT_CONTROL, ¶ms); in amdgpu_acpi_power_shift_control()
934 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_set_uma_allocation_size() local
948 info = amdgpu_atcs_call(atcs, ATCS_FUNCTION_SET_UMA_ALLOCATION_SIZE, ¶ms); in amdgpu_acpi_set_uma_allocation_size()
1409 amdgpu_acpi_priv.atcs.handle = atcs_handle; in amdgpu_atcs_pci_probe_handle()
1410 acpi_get_name(amdgpu_acpi_priv.atcs.handle, ACPI_FULL_PATHNAME, &buffer); in amdgpu_atcs_pci_probe_handle()
1412 ret = amdgpu_atcs_verify_interface(&amdgpu_acpi_priv.atcs); in amdgpu_atcs_pci_probe_handle()
1414 amdgpu_acpi_priv.atcs.handle = 0; in amdgpu_atcs_pci_probe_handle()
1457 struct amdgpu_atcs *atcs = &amdgpu_acpi_priv.atcs; in amdgpu_acpi_detect() local
1468 if (!atcs->handle) in amdgpu_acpi_detect()