Home
last modified time | relevance | path

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

/drivers/acpi/
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()
358 u32 ctrl, capbuf[3]; in acpi_pci_osc_control_set() local
397 capbuf[OSC_QUERY_DWORD] = 0; in acpi_pci_osc_control_set()
[all …]
Dbus.c287 u32 capbuf[2]; in acpi_bus_osc_support() local
292 .cap.pointer = capbuf, in acpi_bus_osc_support()
296 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_bus_osc_support()
297 capbuf[OSC_SUPPORT_DWORD] = OSC_SB_PR3_SUPPORT; /* _PR3 is in use */ in acpi_bus_osc_support()
299 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PAD_SUPPORT; in acpi_bus_osc_support()
301 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PPC_OST_SUPPORT; in acpi_bus_osc_support()
303 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT; in acpi_bus_osc_support()
304 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT; in acpi_bus_osc_support()
307 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT; in acpi_bus_osc_support()
310 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT; in acpi_bus_osc_support()
[all …]
Dacpi_processor.c499 u32 capbuf[2]; in acpi_hwp_native_thermal_lvt_osc() local
504 .cap.pointer = capbuf, in acpi_hwp_native_thermal_lvt_osc()
510 capbuf[0] = 0x0000; in acpi_hwp_native_thermal_lvt_osc()
511 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()
/drivers/ide/
Dide-cd.c990 } capbuf; in cdrom_read_capacity() local
994 unsigned len = sizeof(capbuf); in cdrom_read_capacity()
1002 stat = ide_cd_queue_pc(drive, cmd, 0, &capbuf, &len, NULL, 0, in cdrom_read_capacity()
1012 blocklen = be32_to_cpu(capbuf.blocklen); in cdrom_read_capacity()
1028 *capacity = 1 + be32_to_cpu(capbuf.lba); in cdrom_read_capacity()