Lines Matching defs:handle
61 * @handle: the ACPI CA node in question.
66 int acpi_is_root_bridge(acpi_handle handle)
68 struct acpi_device *device = acpi_fetch_acpi_dev(handle);
102 static acpi_status try_get_root_bridge_busnr(acpi_handle handle,
109 acpi_walk_resources(handle, METHOD_NAME__CRS,
233 status = acpi_run_osc(root->device->handle, &context);
282 struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle)
284 struct acpi_device *device = acpi_fetch_acpi_dev(handle);
298 acpi_handle handle;
302 * acpi_get_pci_dev - convert ACPI CA handle to struct pci_dev
303 * @handle: the handle in question
305 * Given an ACPI CA handle, the desired PCI device is located in the
313 struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
315 struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
340 * @handle: ACPI handle of a PCI root bridge (or PCIe Root Complex).
355 static acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 *mask,
367 root = acpi_pci_find_root(handle);
570 acpi_handle handle = device->handle;
597 status = acpi_pci_osc_control_set(handle, &control, support,
619 * properly handle PCIe 1.1 devices. So we set this
651 acpi_handle handle = device->handle;
661 status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL,
671 status = try_get_root_bridge_busnr(handle, &root->secondary);
682 status = acpi_evaluate_integer(handle, METHOD_NAME__BBN,
701 if (hotadd && dmar_device_add(handle)) {
710 root->mcfg_addr = acpi_pci_root_get_mcfg_addr(handle);
762 acpi_ioapic_add(root->device->handle);
772 dmar_device_remove(handle);
793 dmar_device_remove(device->handle);
1008 int node = acpi_get_node(device->handle);