Home
last modified time | relevance | path

Searched refs:capbuf (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/acpi/
Dbus.c304 u32 capbuf[2], *capbuf_ret; in acpi_bus_osc_negotiate_platform_control() local
309 .cap.pointer = capbuf, in acpi_bus_osc_negotiate_platform_control()
313 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_bus_osc_negotiate_platform_control()
314 capbuf[OSC_SUPPORT_DWORD] = OSC_SB_PR3_SUPPORT; /* _PR3 is in use */ in acpi_bus_osc_negotiate_platform_control()
316 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PAD_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
318 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PPC_OST_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
320 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
321 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
323 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PRM_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
325 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_FFH_OPR_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
[all …]
Dpci_root.c222 const u32 *capbuf, u32 *pci_control, in acpi_pci_run_osc() argument
229 .cap.pointer = (void *)capbuf, in acpi_pci_run_osc()
248 u32 pci_result, cxl_result, capbuf[OSC_CXL_CAPABILITY_DWORDS]; in acpi_pci_query_osc() local
252 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_pci_query_osc()
253 capbuf[OSC_SUPPORT_DWORD] = support; in acpi_pci_query_osc()
254 capbuf[OSC_CONTROL_DWORD] = *control | root->osc_control_set; in acpi_pci_query_osc()
258 capbuf[OSC_EXT_SUPPORT_DWORD] = cxl_support; in acpi_pci_query_osc()
259 capbuf[OSC_EXT_CONTROL_DWORD] = *cxl_control | root->osc_ext_control_set; in acpi_pci_query_osc()
263 status = acpi_pci_run_osc(root, capbuf, &pci_result, &cxl_result); in acpi_pci_query_osc()
362 u32 ctrl, cxl_ctrl = 0, capbuf[OSC_CXL_CAPABILITY_DWORDS]; in acpi_pci_osc_control_set() local
[all …]
Dacpi_processor.c570 u32 capbuf[2] = {}; in acpi_processor_osc() local
575 .cap.pointer = capbuf, in acpi_processor_osc()
582 arch_acpi_set_proc_cap_bits(&capbuf[OSC_SUPPORT_DWORD]); in acpi_processor_osc()
/linux-6.6.21/drivers/acpi/apei/
Dapei-base.c780 u32 capbuf[3]; in apei_osc_setup() local
784 .cap.length = sizeof(capbuf), in apei_osc_setup()
785 .cap.pointer = capbuf, in apei_osc_setup()
788 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in apei_osc_setup()
789 capbuf[OSC_SUPPORT_DWORD] = 1; in apei_osc_setup()
790 capbuf[OSC_CONTROL_DWORD] = 0; in apei_osc_setup()