Lines Matching refs:reg_base
613 uintptr_t reg_base = 0; in mvebu_a3700_comphy_usb3_power_on() local
631 reg_base = COMPHY_INDIRECT_REG; in mvebu_a3700_comphy_usb3_power_on()
635 reg_base = USB3_GBE1_PHY; in mvebu_a3700_comphy_usb3_power_on()
648 usb3_reg_set(reg_base, COMPHY_REG_LANE_CFG0_ADDR, PRD_TXDEEMPH0_MASK, in mvebu_a3700_comphy_usb3_power_on()
661 usb3_reg_set(reg_base, COMPHY_REG_LANE_CFG1_ADDR, data, mask); in mvebu_a3700_comphy_usb3_power_on()
666 usb3_reg_set(reg_base, COMPHY_REG_LANE_CFG4_ADDR, in mvebu_a3700_comphy_usb3_power_on()
673 usb3_reg_set(reg_base, COMPHY_REG_TEST_MODE_CTRL_ADDR, in mvebu_a3700_comphy_usb3_power_on()
680 usb3_reg_set(reg_base, COMPHY_REG_GLOB_CLK_SRC_LO_ADDR, 0x0, in mvebu_a3700_comphy_usb3_power_on()
687 usb3_reg_set(reg_base, COMPHY_REG_GEN2_SET_2, in mvebu_a3700_comphy_usb3_power_on()
696 usb3_reg_set(reg_base, COMPHY_REG_GEN2_SET_3, in mvebu_a3700_comphy_usb3_power_on()
718 usb3_reg_set(reg_base, COMPHY_POWER_PLL_CTRL, data, mask); in mvebu_a3700_comphy_usb3_power_on()
723 usb3_reg_set(reg_base, COMPHY_REG_PWR_MGM_TIM1_ADDR, data, mask); in mvebu_a3700_comphy_usb3_power_on()
729 usb3_reg_set(reg_base, COMPHY_REG_UNIT_CTRL_ADDR, data, REG_16_BIT_MASK); in mvebu_a3700_comphy_usb3_power_on()
735 usb3_reg_set(reg_base, COMPHY_MISC_REG0_ADDR, data, REG_16_BIT_MASK); in mvebu_a3700_comphy_usb3_power_on()
740 usb3_reg_set(reg_base, COMPHY_LOOPBACK_REG0, DATA_WIDTH_20BIT, in mvebu_a3700_comphy_usb3_power_on()
746 usb3_reg_set(reg_base, COMPHY_KVCO_CAL_CTRL, in mvebu_a3700_comphy_usb3_power_on()
761 usb3_reg_set(reg_base, COMPHY_SYNC_PATTERN_REG, data, mask); in mvebu_a3700_comphy_usb3_power_on()
766 usb3_reg_set(reg_base, COMPHY_SYNC_MASK_GEN_REG, PHY_GEN_USB3_5G, in mvebu_a3700_comphy_usb3_power_on()
772 usb3_reg_set(reg_base, COMPHY_REG_GEN3_SETTINGS_3, in mvebu_a3700_comphy_usb3_power_on()
779 usb3_reg_set(reg_base, COMPHY_REG_GLOB_PHY_CTRL0_ADDR, data, in mvebu_a3700_comphy_usb3_power_on()
787 mmio_write_32(reg_base + COMPHY_LANE2_INDIR_ADDR_OFFSET, in mvebu_a3700_comphy_usb3_power_on()
790 addr = reg_base + COMPHY_LANE2_INDIR_DATA_OFFSET; in mvebu_a3700_comphy_usb3_power_on()
794 ret = polling_with_timeout(LANE_STATUS1_ADDR(USB3) + reg_base, in mvebu_a3700_comphy_usb3_power_on()