Lines Matching +full:0 +full:x820
22 #define RT_SYSC_REG_SYSCFG1 0x014
23 #define RT_SYSC_REG_CLKCFG1 0x030
24 #define RT_SYSC_REG_USB_PHY_CFG 0x05c
26 #define OFS_U2_PHY_AC0 0x800
27 #define OFS_U2_PHY_AC1 0x804
28 #define OFS_U2_PHY_AC2 0x808
29 #define OFS_U2_PHY_ACR0 0x810
30 #define OFS_U2_PHY_ACR1 0x814
31 #define OFS_U2_PHY_ACR2 0x818
32 #define OFS_U2_PHY_ACR3 0x81C
33 #define OFS_U2_PHY_ACR4 0x820
34 #define OFS_U2_PHY_AMON0 0x824
35 #define OFS_U2_PHY_DCR0 0x860
36 #define OFS_U2_PHY_DCR1 0x864
37 #define OFS_U2_PHY_DTM0 0x868
38 #define OFS_U2_PHY_DTM1 0x86C
50 #define UDEV_WAKEUP BIT(0)
77 u2_phy_w32(phy, 0x00ffff02, OFS_U2_PHY_DCR0); in ralink_usb_phy_init()
79 u2_phy_w32(phy, 0x00555502, OFS_U2_PHY_DCR0); in ralink_usb_phy_init()
81 u2_phy_w32(phy, 0x00aaaa02, OFS_U2_PHY_DCR0); in ralink_usb_phy_init()
83 u2_phy_w32(phy, 0x00000402, OFS_U2_PHY_DCR0); in ralink_usb_phy_init()
85 u2_phy_w32(phy, 0x0048086a, OFS_U2_PHY_AC0); in ralink_usb_phy_init()
86 u2_phy_w32(phy, 0x4400001c, OFS_U2_PHY_AC1); in ralink_usb_phy_init()
87 u2_phy_w32(phy, 0xc0200000, OFS_U2_PHY_ACR3); in ralink_usb_phy_init()
88 u2_phy_w32(phy, 0x02000000, OFS_U2_PHY_DTM0); in ralink_usb_phy_init()
127 return 0; in ralink_usb_phy_power_on()
136 phy->clk, 0); in ralink_usb_phy_power_off()
142 return 0; in ralink_usb_phy_power_off()
191 phy->base = devm_platform_ioremap_resource(pdev, 0); in ralink_usb_phy_probe()