47 const int efuse_bits = 3;
50 u32 bit_mask = (1 << efuse_bits) - 1;
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
#define printk(level,...)
#define setbits32(addr, set)
#define clrsetbits32(addr, clear, set)
#define clrbits32(addr, clear)
#define wait_us(timeout_us, condition)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
void hs_usb_phy_init(void *board_data)
static void qusb2_phy_override_phy_params(struct hs_usb_phy_reg *hs_phy_reg)
static void qusb2_phy_set_tune_param(struct hs_usb_phy_reg *hs_phy_reg)
static struct qfprom_corr *const qfprom_corr_efuse
static void tune_phy(struct hs_usb_phy_reg *hs_phy_reg)
struct hs_usb_phy_reg qusb_phy
#define QUSB_PRIM_PHY_DIG_BASE
#define QUSB2PHY_PORT_TUNE3
#define QUSB2PHY_PORT_TUNE2
#define VSTATUS_PLL_LOCK_STATUS_MASK
#define QUSB2PHY_PLL_LOCK_DELAY
#define QUSB2PHY_PLL_CMODE
#define QUSB2PHY_PLL_BIAS_CONTROL_2
#define QUSB2PHY_IMP_CTRL2
#define QUSB2PHY_PLL_DIGITAL_TIMERS_TWO
#define QUSB2PHY_PORT_TUNE1
#define QUSB2PHY_PLL_BIAS_CONTROL_1
#define QUSB2PHY_PORT_TUNE4
#define QUSB_PRIM_PHY_BASE
#define QUSB2PHY_PORT_TUNE5
#define QUSB2PHY_PWR_CTRL2
#define QUSB2PHY_IMP_CTRL1
#define QUSB2PHY_PLL_ANALOG_CONTROLS_TWO
#define QUSB2PHY_PLL_CLOCK_INVERTERS
#define DEBUG_CTRL2_MUX_PLL_LOCK_STATUS
struct hs_usb_phy_reg * hs_phy_reg
struct usb_board_data * board_data
struct usb_qusb_phy_dig * phy_dig
struct usb_qusb_phy_pll * phy_pll