Lines Matching refs:support

243 static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, u32 support,
250 support |= root->osc_support_set;
253 capbuf[OSC_SUPPORT_DWORD] = support;
265 root->osc_support_set = support;
342 * @support: _OSC supported capability.
356 u32 support, u32 *cxl_mask,
383 status = acpi_pci_query_osc(root, support, mask, cxl_support,
398 decode_osc_control(root, "platform does not support",
401 decode_cxl_osc_control(root, "CXL platform does not support",
413 decode_osc_control(root, "not requesting control; platform does not support",
437 u32 support;
440 * All supported architectures that use ACPI have support for
441 * PCI domains, so we indicate this in _OSC support capabilities.
443 support = OSC_PCI_SEGMENT_GROUPS_SUPPORT;
444 support |= OSC_PCI_HPX_TYPE_3_SUPPORT;
446 support |= OSC_PCI_EXT_CONFIG_SUPPORT;
448 support |= OSC_PCI_ASPM_SUPPORT | OSC_PCI_CLOCK_PM_SUPPORT;
450 support |= OSC_PCI_MSI_SUPPORT;
452 support |= OSC_PCI_EDR_SUPPORT;
454 return support;
458 * Background on hotplug support, and making it depend on only
462 * there is no existing _OSC for memory hotplug support. The reason is that
477 * not support blocking hotplug, is to require the memory device to be
493 u32 support;
495 support = OSC_CXL_2_0_PORT_DEV_REG_ACCESS_SUPPORT;
496 support |= OSC_CXL_1_1_PORT_REG_ACCESS_SUPPORT;
498 support |= OSC_CXL_PROTOCOL_ERR_REPORTING_SUPPORT;
500 support |= OSC_CXL_NATIVE_HP_SUPPORT;
502 return support;
546 static bool os_control_query_checks(struct acpi_pci_root *root, u32 support)
555 if ((support & ACPI_PCIE_REQ_SUPPORT) != ACPI_PCIE_REQ_SUPPORT) {
566 u32 support, control = 0, requested = 0;
584 support = calculate_support();
586 decode_osc_support(root, "OS supports", support);
588 if (os_control_query_checks(root, support))
597 status = acpi_pci_osc_control_set(handle, &control, support,
801 * Following code to support acpi_pci_root_create() is copied from