14 #ifdef __SIMPLE_DEVICE__
52 if (bar0_base == 0 || bar0_base == (
u8 *)0xffffffff)
160 static struct pci_operations
lops_pci = {
179 static const struct pci_driver pch_usb_ehci
__pci_driver = {
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
#define printk(level,...)
static __always_inline void pci_or_config32(const struct device *dev, u16 reg, u32 ormask)
static __always_inline void pci_write_config32(const struct device *dev, u16 reg, u32 val)
static __always_inline void pci_and_config16(const struct device *dev, u16 reg, u16 andmask)
static __always_inline u16 pci_read_config16(const struct device *dev, u16 reg)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
static __always_inline u8 pci_read_config8(const struct device *dev, u16 reg)
static __always_inline void pci_write_config16(const struct device *dev, u16 reg, u16 val)
static __always_inline void pci_update_config16(const struct device *dev, u16 reg, u16 mask, u16 or)
static __always_inline void pci_write_config8(const struct device *dev, u16 reg, u8 val)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define PCI_COMMAND_MASTER
#define PCI_COMMAND_MEMORY
#define PCI_BASE_ADDRESS_0
void pci_dev_set_subsystem(struct device *dev, unsigned int vendor, unsigned int device)
void pci_dev_enable_resources(struct device *dev)
void pci_dev_set_resources(struct device *dev)
#define pci_ehci_read_resources
#define PCI_DID_INTEL_LPT_LP_EHCI
#define PCI_DID_INTEL_LPT_H_EHCI_2
#define PCI_DID_INTEL_LPT_H_EHCI_1
#define EHCI_PORTSC_ENABLED
#define EHCI_PORTSC_SUSPEND
#define EHCI_PORTSC(port)
#define PCH_DISABLE_EHCI1
#define PCH_DISABLE_EHCI2
void pch_iobp_update(u32 address, u32 andvalue, u32 orvalue)
#define PWR_CTL_ENABLE_PME
void usb_ehci_disable(pci_devfn_t dev)
void usb_ehci_sleep_prepare(pci_devfn_t dev, u8 slp_typ)
static struct pci_operations lops_pci
static void usb_ehci_set_subsystem(struct device *dev, unsigned int vendor, unsigned int device)
static void usb_ehci_clock_gating(struct device *dev)
static const struct pci_driver pch_usb_ehci __pci_driver
static const unsigned short pci_device_ids[]
static struct device_operations usb_ehci_ops
static void usb_ehci_init(struct device *dev)
void(* read_resources)(struct device *dev)