Searched refs:usb32 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-utmi.c | 49 #define USB2_PHY_CTRL(usb32) (usb32 ? 0x20 : 0x4) argument 53 #define RB_USB2PHY_SUSPM(usb32) (usb32 ? BIT(14) : BIT(7)) argument 67 int usb32; member 90 int usb32 = utmi->caps->usb32; in mvebu_a3700_utmi_phy_power_on() local 105 regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32), in mvebu_a3700_utmi_phy_power_on() 106 RB_USB2PHY_SUSPM(usb32) | RB_USB2PHY_PU, in mvebu_a3700_utmi_phy_power_on() 107 RB_USB2PHY_SUSPM(usb32) | RB_USB2PHY_PU); in mvebu_a3700_utmi_phy_power_on() 109 if (usb32) { in mvebu_a3700_utmi_phy_power_on() 122 regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32), in mvebu_a3700_utmi_phy_power_on() 167 int usb32 = utmi->caps->usb32; in mvebu_a3700_utmi_phy_power_off() local [all …]
|
/openbmc/u-boot/drivers/phy/marvell/ |
H A D | comphy_a3700.h | 208 #define USB2_PHY_BASE(usb32) (usb32 == 0 ? USB2PHY2_BASE : USB2PHY_BASE) argument 209 #define USB2_PHY_CTRL_ADDR(usb32) \ argument 210 (usb32 == 0 ? USB2_PHY2_CTRL_ADDR : USB2_OTG_PHY_CTRL_ADDR) 211 #define RB_USB2PHY_SUSPM(usb32) \ argument 212 (usb32 == 0 ? rb_usb2phy2_suspm : rb_usb2phy_suspm) 213 #define RB_USB2PHY_PU(usb32) \ argument 214 (usb32 == 0 ? rb_usb2phy2_pu : rb_usb2phy_pu) 215 #define USB2_PHY_CAL_CTRL_ADDR(usb32) \ argument 216 (usb32 == 0 ? USB2_PHY2_CAL_CTRL_ADDR : USB2_CAL_CTRL_ADDR) 217 #define USB2_PHY_RX_CHAN_CTRL1_ADDR(usb32) \ argument [all …]
|
H A D | comphy_a3700.c | 532 static int comphy_usb2_power_up(u8 usb32) in comphy_usb2_power_up() argument 538 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | armada3700-periph-clock.txt | 47 11 usb32-sub2-sys USB 2 clock 48 12 usb32-ss-sys USB 3 clock
|