Searched refs:usb32 (Results 1 – 2 of 2) sorted by relevance
208 #define USB2_PHY_BASE(usb32) (usb32 == 0 ? USB2PHY2_BASE : USB2PHY_BASE) argument209 #define USB2_PHY_CTRL_ADDR(usb32) \ argument210 (usb32 == 0 ? USB2_PHY2_CTRL_ADDR : USB2_OTG_PHY_CTRL_ADDR)211 #define RB_USB2PHY_SUSPM(usb32) \ argument212 (usb32 == 0 ? rb_usb2phy2_suspm : rb_usb2phy_suspm)213 #define RB_USB2PHY_PU(usb32) \ argument214 (usb32 == 0 ? rb_usb2phy2_pu : rb_usb2phy_pu)215 #define USB2_PHY_CAL_CTRL_ADDR(usb32) \ argument216 (usb32 == 0 ? USB2_PHY2_CAL_CTRL_ADDR : USB2_CAL_CTRL_ADDR)217 #define USB2_PHY_RX_CHAN_CTRL1_ADDR(usb32) \ argument[all …]
532 static int comphy_usb2_power_up(u8 usb32) in comphy_usb2_power_up() argument538 if (usb32 != 0 && usb32 != 1) { in comphy_usb2_power_up()540 usb32); in comphy_usb2_power_up()550 reg_set(USB2_PHY_BASE(usb32), 5 | (96 << 16), in comphy_usb2_power_up()557 reg_set(USB2_PHY_CTRL_ADDR(usb32), in comphy_usb2_power_up()558 RB_USB2PHY_SUSPM(usb32) | RB_USB2PHY_PU(usb32), 0); in comphy_usb2_power_up()560 if (usb32 != 0) { in comphy_usb2_power_up()575 ret = comphy_poll_reg(USB2_PHY_CAL_CTRL_ADDR(usb32), in comphy_usb2_power_up()583 ret = comphy_poll_reg(USB2_PHY_CAL_CTRL_ADDR(usb32), in comphy_usb2_power_up()591 ret = comphy_poll_reg(USB2_PHY_RX_CHAN_CTRL1_ADDR(usb32), in comphy_usb2_power_up()[all …]