10 #define CRPORT_TX_OVRD_DRV_LO 0x1002
11 #define CRPORT_RX_OVRD_IN_HI 0x1006
12 #define CRPORT_TX_ALT_BLOCK 0x102d
164 write32(acknowledge_bit, 0x1 << 0);
165 while (
read32(acknowledge_bit) && --usec)
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
#define printk(level,...)
#define setbits32(addr, set)
#define clrbits32(addr, clear)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
#define USB_HOST1_PHY_BASE
#define USB_HOST2_PHY_BASE
#define USB_HOST2_DWC3_BASE
check_member(utmip_ctlr, pmc_wakeup, 0x84c - 0x800)
void setup_usb_host1(void)
static void setup_phy(struct usb_qc_phy *phy)
static struct usb_dwc3 *const usb_host2_dwc3
#define CRPORT_TX_OVRD_DRV_LO
void setup_usb_host2(void)
static void setup_dwc3(struct usb_dwc3 *dwc3)
#define CRPORT_TX_ALT_BLOCK
static u32 *const tcsr_usb_sel
static void crport_handshake(void *capture_reg, void *acknowledge_bit, u32 data)
static void crport_write(struct usb_qc_phy *phy, u16 addr, u16 data)
static struct usb_dwc3 *const usb_host1_dwc3
#define CRPORT_RX_OVRD_IN_HI
static struct usb_qc_phy *const usb_host2_phy
static struct usb_qc_phy *const usb_host1_phy
static void tune_phy(struct usb_qc_phy *phy)
#define USB_HOST1_DWC3_BASE