Searched refs:usb32 (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/marvell/ |
| H A D | comphy_a3700.c | 474 static int comphy_usb2_power_up(u8 usb32) in comphy_usb2_power_up() argument 480 if (usb32 != 0 && usb32 != 1) { in comphy_usb2_power_up() 482 usb32); in comphy_usb2_power_up() 492 reg_set((void __iomem *)USB2_PHY_BASE(usb32), in comphy_usb2_power_up() 499 reg_set((void __iomem *)USB2_PHY_CTRL_ADDR(usb32), in comphy_usb2_power_up() 500 RB_USB2PHY_SUSPM(usb32) | RB_USB2PHY_PU(usb32), 0); in comphy_usb2_power_up() 502 if (usb32 != 0) { in comphy_usb2_power_up() 517 ret = comphy_poll_reg((void *)USB2_PHY_CAL_CTRL_ADDR(usb32), in comphy_usb2_power_up() 526 ret = comphy_poll_reg((void *)USB2_PHY_CAL_CTRL_ADDR(usb32), in comphy_usb2_power_up() 535 ret = comphy_poll_reg((void *)USB2_PHY_RX_CHAN_CTRL1_ADDR(usb32), in comphy_usb2_power_up() [all …]
|
| H A D | comphy_a3700.h | 219 #define USB2_PHY_BASE(usb32) (usb32 == 0 ? USB2PHY2_BASE : USB2PHY_BASE) argument 220 #define USB2_PHY_CTRL_ADDR(usb32) \ argument 221 (usb32 == 0 ? USB2_PHY2_CTRL_ADDR : USB2_OTG_PHY_CTRL_ADDR) 222 #define RB_USB2PHY_SUSPM(usb32) \ argument 223 (usb32 == 0 ? rb_usb2phy2_suspm : rb_usb2phy_suspm) 224 #define RB_USB2PHY_PU(usb32) \ argument 225 (usb32 == 0 ? rb_usb2phy2_pu : rb_usb2phy_pu) 226 #define USB2_PHY_CAL_CTRL_ADDR(usb32) \ argument 227 (usb32 == 0 ? USB2_PHY2_CAL_CTRL_ADDR : USB2_CAL_CTRL_ADDR) 228 #define USB2_PHY_RX_CHAN_CTRL1_ADDR(usb32) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/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
|