12 #include <soc/iomap.h>
15 #include <soc/pattrs.h>
16 #include <soc/pci_devs.h>
18 #include <soc/ramstage.h>
26 ~0x00700000, 0x00500000),
28 ~0x001f0000, 0x000A0000),
30 ~0x0000000f, 0x0000000b),
32 ~0x000000f0, 0x000000f0),
34 ~0x000001c0, 0x00000000),
36 ~0x00000070, 0x00000020),
38 ~0x00000002, 0x00000002),
40 ~0x00000000, 0x00040000),
139 struct reg_script reset_port_usb3_script[] = {
158 static const struct reg_script xhci_route_all_script[] = {
179 if (port_disabled & (1 <<
port))
227 if (
config->usb_route_to_xhci)
239 static const struct pci_driver baytrail_xhci
__pci_driver = {
static int acpi_is_wakeup_s3(void)
#define USHPHY_CDN_PLL_CONTROL
#define USHPHY_OFFSET_COR_CONFIG_DIAG
#define USHPHY_PEAKING_AMP_CONFIG_DIAG
uint32_t iosf_ushphy_read(int reg)
void iosf_ushphy_write(int reg, uint32_t val)
#define USHPHY_REE_DAC_CONTROL
#define USHPHY_CDN_U1_POWER_STATE_DEF
#define USHPHY_CDN_VCO_START_CAL_POINT
#define USHPHY_VGA_GAIN_CONFIG_DIAG
static const struct pattrs * pattrs_get(void)
#define printk(level,...)
static DEVTREE_CONST void * config_of(const struct device *dev)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
#define ACPI_BASE_ADDRESS
#define BIOS_INFO
BIOS_INFO - Expected events.
#define PCI_BASE_ADDRESS_0
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
void pci_dev_set_resources(struct device *dev)
#define REG_RES_RMW32(bar_, reg_, mask_, value_)
#define REG_RES_POLL32(bar_, reg_, mask_, value_, timeout_)
#define REG_PCI_RMW16(reg_, mask_, value_)
#define REG_SCRIPT_NEXT(next_)
void reg_script_run_on_dev(struct device *dev, const struct reg_script *step)
#define REG_PCI_RMW8(reg_, mask_, value_)
#define REG_IO_RMW16(reg_, mask_, value_)
#define REG_RES_OR32(bar_, reg_, value_)
#define REG_PCI_RMW32(reg_, mask_, value_)
#define REG_PCI_WRITE16(reg_, value_)
#define REG_PCI_WRITE32(reg_, value_)
struct pci_operations soc_pci_ops
#define BYTM_USB3_PORT_COUNT
#define XHCI_USB3_PORTSC_PED
#define XHCI_USB3_PORTSC_WPR
#define BYTM_USB3_PORT_MAP
#define BYTM_USB2_PORT_MAP
#define XHCI_USB3_PORTSC_CHST
#define XHCI_RESET_TIMEOUT
#define XHCI_USB3_PORTSC_WRC
#define XHCI_USB3_PORTSC(port)
const struct reg_script xhci_init_boot_script[]
const struct reg_script xhci_clock_gating_script[]
struct reg_script usb3_phy_script[]
const struct reg_script xhci_init_script[]
static struct device_operations xhci_device_ops
static void xhci_route_all(struct device *dev)
static void xhci_reset_port_usb3(struct device *dev, int port)
const struct reg_script xhci_init_resume_script[]
static const struct pci_driver baytrail_xhci __pci_driver
static void xhci_init(struct device *dev)
void(* read_resources)(struct device *dev)