dwc3-pci.c (17deb9c2db01c7813611291d251d8c7dbdfd3c9d) | dwc3-pci.c (85601f8cf67c56a561a6dd5e130e65fdc179047d) |
---|---|
1/** 2 * dwc3-pci.c - PCI Specific glue layer 3 * 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com 5 * 6 * Authors: Felipe Balbi <balbi@ti.com>, 7 * Sebastian Andrzej Siewior <bigeasy@linutronix.de> 8 * --- 14 unchanged lines hidden (view full) --- 23#include <linux/platform_device.h> 24 25#include <linux/usb/otg.h> 26#include <linux/usb/usb_phy_gen_xceiv.h> 27 28/* FIXME define these in <linux/pci_ids.h> */ 29#define PCI_VENDOR_ID_SYNOPSYS 0x16c3 30#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd | 1/** 2 * dwc3-pci.c - PCI Specific glue layer 3 * 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com 5 * 6 * Authors: Felipe Balbi <balbi@ti.com>, 7 * Sebastian Andrzej Siewior <bigeasy@linutronix.de> 8 * --- 14 unchanged lines hidden (view full) --- 23#include <linux/platform_device.h> 24 25#include <linux/usb/otg.h> 26#include <linux/usb/usb_phy_gen_xceiv.h> 27 28/* FIXME define these in <linux/pci_ids.h> */ 29#define PCI_VENDOR_ID_SYNOPSYS 0x16c3 30#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd |
31#define PCI_DEVICE_ID_INTEL_BYT 0x0f37 32#define PCI_DEVICE_ID_INTEL_MRFLD 0x119e |
|
31 32struct dwc3_pci { 33 struct device *dev; 34 struct platform_device *dwc3; 35 struct platform_device *usb2_phy; 36 struct platform_device *usb3_phy; 37}; 38 --- 143 unchanged lines hidden (view full) --- 182 pci_disable_device(pci); 183} 184 185static DEFINE_PCI_DEVICE_TABLE(dwc3_pci_id_table) = { 186 { 187 PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, 188 PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3), 189 }, | 33 34struct dwc3_pci { 35 struct device *dev; 36 struct platform_device *dwc3; 37 struct platform_device *usb2_phy; 38 struct platform_device *usb3_phy; 39}; 40 --- 143 unchanged lines hidden (view full) --- 184 pci_disable_device(pci); 185} 186 187static DEFINE_PCI_DEVICE_TABLE(dwc3_pci_id_table) = { 188 { 189 PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, 190 PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3), 191 }, |
192 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BYT), }, 193 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_MRFLD), }, |
|
190 { } /* Terminating Entry */ 191}; 192MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table); 193 194#ifdef CONFIG_PM_SLEEP 195static int dwc3_pci_suspend(struct device *dev) 196{ 197 struct pci_dev *pci = to_pci_dev(dev); --- 42 unchanged lines hidden --- | 194 { } /* Terminating Entry */ 195}; 196MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table); 197 198#ifdef CONFIG_PM_SLEEP 199static int dwc3_pci_suspend(struct device *dev) 200{ 201 struct pci_dev *pci = to_pci_dev(dev); --- 42 unchanged lines hidden --- |