xhci-pci.c (4c7aba46c9e82aa236502760a677e666589afead) xhci-pci.c (94116f8126de9762751fd92731581b73b56292e5)
1/*
2 * xHCI host controller driver PCI Bus Glue.
3 *
4 * Copyright (C) 2008 Intel Corp.
5 *
6 * Author: Sarah Sharp
7 * Some code borrowed from the Linux EHCI driver.
8 *

--- 199 unchanged lines hidden (view full) ---

208 if (xhci->quirks & XHCI_RESET_ON_RESUME)
209 xhci_dbg_trace(xhci, trace_xhci_dbg_quirks,
210 "QUIRK: Resetting on resume");
211}
212
213#ifdef CONFIG_ACPI
214static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev)
215{
1/*
2 * xHCI host controller driver PCI Bus Glue.
3 *
4 * Copyright (C) 2008 Intel Corp.
5 *
6 * Author: Sarah Sharp
7 * Some code borrowed from the Linux EHCI driver.
8 *

--- 199 unchanged lines hidden (view full) ---

208 if (xhci->quirks & XHCI_RESET_ON_RESUME)
209 xhci_dbg_trace(xhci, trace_xhci_dbg_quirks,
210 "QUIRK: Resetting on resume");
211}
212
213#ifdef CONFIG_ACPI
214static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev)
215{
216 static const u8 intel_dsm_uuid[] = {
217 0xb7, 0x0c, 0x34, 0xac, 0x01, 0xe9, 0xbf, 0x45,
218 0xb7, 0xe6, 0x2b, 0x34, 0xec, 0x93, 0x1e, 0x23,
219 };
216 static const guid_t intel_dsm_guid =
217 GUID_INIT(0xac340cb7, 0xe901, 0x45bf,
218 0xb7, 0xe6, 0x2b, 0x34, 0xec, 0x93, 0x1e, 0x23);
220 union acpi_object *obj;
221
219 union acpi_object *obj;
220
222 obj = acpi_evaluate_dsm(ACPI_HANDLE(&dev->dev), intel_dsm_uuid, 3, 1,
221 obj = acpi_evaluate_dsm(ACPI_HANDLE(&dev->dev), &intel_dsm_guid, 3, 1,
223 NULL);
224 ACPI_FREE(obj);
225}
226#else
227static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
228#endif /* CONFIG_ACPI */
229
230/* called during probe() after chip reset completes */

--- 272 unchanged lines hidden ---
222 NULL);
223 ACPI_FREE(obj);
224}
225#else
226static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
227#endif /* CONFIG_ACPI */
228
229/* called during probe() after chip reset completes */

--- 272 unchanged lines hidden ---