Lines Matching refs:wrl
26 #define wrl(off, val) writel_relaxed((val), hcd->regs + (off)) macro
79 wrl(USB_CAUSE, 0); in orion_usb_phy_v1_setup()
80 wrl(USB_MASK, 0); in orion_usb_phy_v1_setup()
85 wrl(USB_CMD, rdl(USB_CMD) | USB_CMD_RESET); in orion_usb_phy_v1_setup()
92 wrl(USB_IPG, (rdl(USB_IPG) & ~0x7f00) | 0xc00); in orion_usb_phy_v1_setup()
98 wrl(USB_PHY_PWR_CTRL, (rdl(USB_PHY_PWR_CTRL) & ~0xc0)| 0x40); in orion_usb_phy_v1_setup()
104 wrl(USB_PHY_TX_CTRL, (rdl(USB_PHY_TX_CTRL) & ~0x78) | 0x202040); in orion_usb_phy_v1_setup()
111 wrl(USB_PHY_RX_CTRL, (rdl(USB_PHY_RX_CTRL) & ~0xc2003f0) | 0xc0000010); in orion_usb_phy_v1_setup()
117 wrl(USB_PHY_IVREF_CTRL, (rdl(USB_PHY_IVREF_CTRL) & ~0x80003 ) | 0x32); in orion_usb_phy_v1_setup()
123 wrl(USB_PHY_TST_GRP_CTRL, rdl(USB_PHY_TST_GRP_CTRL) & ~0x8000); in orion_usb_phy_v1_setup()
128 wrl(USB_CMD, rdl(USB_CMD) & ~USB_CMD_RUN); in orion_usb_phy_v1_setup()
129 wrl(USB_CMD, rdl(USB_CMD) | USB_CMD_RESET); in orion_usb_phy_v1_setup()
137 wrl(USB_MODE, USB_MODE_SDIS | USB_MODE_HOST); in orion_usb_phy_v1_setup()
147 wrl(USB_WINDOW_CTRL(i), 0); in ehci_orion_conf_mbus_windows()
148 wrl(USB_WINDOW_BASE(i), 0); in ehci_orion_conf_mbus_windows()
154 wrl(USB_WINDOW_CTRL(i), ((cs->size - 1) & 0xffff0000) | in ehci_orion_conf_mbus_windows()
157 wrl(USB_WINDOW_BASE(i), cs->base); in ehci_orion_conf_mbus_windows()
178 wrl(USB_SBUSCFG, USB_SBUSCFG_DEF_VAL); in ehci_orion_drv_reset()