Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/acpi/
Dpci_root.c190 const u32 *capbuf, u32 *retval) in acpi_pci_run_osc() argument
196 .cap.pointer = (void *)capbuf, in acpi_pci_run_osc()
213 u32 result, capbuf[3]; in acpi_pci_query_osc() local
218 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_pci_query_osc()
219 capbuf[OSC_SUPPORT_DWORD] = support; in acpi_pci_query_osc()
222 capbuf[OSC_CONTROL_DWORD] = *control | root->osc_control_set; in acpi_pci_query_osc()
225 capbuf[OSC_CONTROL_DWORD] = root->osc_control_set; in acpi_pci_query_osc()
228 status = acpi_pci_run_osc(root->device->handle, capbuf, &result); in acpi_pci_query_osc()
373 u32 ctrl, capbuf[3]; in acpi_pci_osc_control_set() local
412 capbuf[OSC_QUERY_DWORD] = 0; in acpi_pci_osc_control_set()
[all …]
Dbus.c300 u32 capbuf[2]; in acpi_bus_osc_support() local
305 .cap.pointer = capbuf, in acpi_bus_osc_support()
309 capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; in acpi_bus_osc_support()
310 capbuf[OSC_SUPPORT_DWORD] = OSC_SB_PR3_SUPPORT; /* _PR3 is in use */ in acpi_bus_osc_support()
312 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PAD_SUPPORT; in acpi_bus_osc_support()
314 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PPC_OST_SUPPORT; in acpi_bus_osc_support()
316 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT; in acpi_bus_osc_support()
317 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT; in acpi_bus_osc_support()
321 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_CPC_SUPPORT; in acpi_bus_osc_support()
322 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_CPCV2_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()
/Linux-v4.19/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()
/Linux-v4.19/drivers/ide/
Dide-cd.c900 } capbuf; in cdrom_read_capacity() local
904 unsigned len = sizeof(capbuf); in cdrom_read_capacity()
912 stat = ide_cd_queue_pc(drive, cmd, 0, &capbuf, &len, NULL, 0, in cdrom_read_capacity()
922 blocklen = be32_to_cpu(capbuf.blocklen); in cdrom_read_capacity()
938 *capacity = 1 + be32_to_cpu(capbuf.lba); in cdrom_read_capacity()