Home
last modified time | relevance | path

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

/drivers/acpi/
Dbus.c289 u32 capbuf[2], *capbuf_ret; in acpi_bus_osc_negotiate_platform_control() local
294 .cap.pointer = capbuf, in acpi_bus_osc_negotiate_platform_control()
298 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_bus_osc_negotiate_platform_control()
299 capbuf[OSC_SUPPORT_DWORD] = OSC_SB_PR3_SUPPORT; /* _PR3 is in use */ in acpi_bus_osc_negotiate_platform_control()
301 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PAD_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
303 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PPC_OST_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
305 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
306 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
308 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PRM_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
311 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT; in acpi_bus_osc_negotiate_platform_control()
[all …]
Dpci_root.c175 const u32 *capbuf, u32 *retval) in acpi_pci_run_osc() argument
181 .cap.pointer = (void *)capbuf, in acpi_pci_run_osc()
198 u32 result, capbuf[3]; in acpi_pci_query_osc() local
203 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_pci_query_osc()
204 capbuf[OSC_SUPPORT_DWORD] = support; in acpi_pci_query_osc()
207 capbuf[OSC_CONTROL_DWORD] = *control | root->osc_control_set; in acpi_pci_query_osc()
210 capbuf[OSC_CONTROL_DWORD] = root->osc_control_set; in acpi_pci_query_osc()
213 status = acpi_pci_run_osc(root->device->handle, capbuf, &result); in acpi_pci_query_osc()
353 u32 ctrl, capbuf[3]; in acpi_pci_osc_control_set() local
389 capbuf[OSC_QUERY_DWORD] = 0; in acpi_pci_osc_control_set()
[all …]
Dacpi_processor.c482 u32 capbuf[2]; in acpi_hwp_native_thermal_lvt_osc() local
487 .cap.pointer = capbuf, in acpi_hwp_native_thermal_lvt_osc()
493 capbuf[0] = 0x0000; in acpi_hwp_native_thermal_lvt_osc()
494 capbuf[1] = 0x1000; /* set bit 12 */ in acpi_hwp_native_thermal_lvt_osc()
/drivers/acpi/apei/
Dapei-base.c783 u32 capbuf[3]; in apei_osc_setup() local
787 .cap.length = sizeof(capbuf), in apei_osc_setup()
788 .cap.pointer = capbuf, in apei_osc_setup()
791 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in apei_osc_setup()
792 capbuf[OSC_SUPPORT_DWORD] = 1; in apei_osc_setup()
793 capbuf[OSC_CONTROL_DWORD] = 0; in apei_osc_setup()