Lines Matching refs:support

243 static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, u32 support,  in acpi_pci_query_osc()  argument
250 support |= root->osc_support_set; in acpi_pci_query_osc()
253 capbuf[OSC_SUPPORT_DWORD] = support; in acpi_pci_query_osc()
265 root->osc_support_set = support; in acpi_pci_query_osc()
356 u32 support, u32 *cxl_mask, in acpi_pci_osc_control_set() argument
383 status = acpi_pci_query_osc(root, support, mask, cxl_support, in acpi_pci_osc_control_set()
437 u32 support; in calculate_support() local
443 support = OSC_PCI_SEGMENT_GROUPS_SUPPORT; in calculate_support()
444 support |= OSC_PCI_HPX_TYPE_3_SUPPORT; in calculate_support()
446 support |= OSC_PCI_EXT_CONFIG_SUPPORT; in calculate_support()
448 support |= OSC_PCI_ASPM_SUPPORT | OSC_PCI_CLOCK_PM_SUPPORT; in calculate_support()
450 support |= OSC_PCI_MSI_SUPPORT; in calculate_support()
452 support |= OSC_PCI_EDR_SUPPORT; in calculate_support()
454 return support; in calculate_support()
493 u32 support; in calculate_cxl_support() local
495 support = OSC_CXL_2_0_PORT_DEV_REG_ACCESS_SUPPORT; in calculate_cxl_support()
496 support |= OSC_CXL_1_1_PORT_REG_ACCESS_SUPPORT; in calculate_cxl_support()
498 support |= OSC_CXL_PROTOCOL_ERR_REPORTING_SUPPORT; in calculate_cxl_support()
500 support |= OSC_CXL_NATIVE_HP_SUPPORT; in calculate_cxl_support()
502 return support; in calculate_cxl_support()
546 static bool os_control_query_checks(struct acpi_pci_root *root, u32 support) in os_control_query_checks() argument
555 if ((support & ACPI_PCIE_REQ_SUPPORT) != ACPI_PCIE_REQ_SUPPORT) { in os_control_query_checks()
566 u32 support, control = 0, requested = 0; in negotiate_os_control() local
584 support = calculate_support(); in negotiate_os_control()
586 decode_osc_support(root, "OS supports", support); in negotiate_os_control()
588 if (os_control_query_checks(root, support)) in negotiate_os_control()
597 status = acpi_pci_osc_control_set(handle, &control, support, in negotiate_os_control()