Searched refs:RCAR_USB3_DL_CTRL (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-rcar.c | 35 #define RCAR_USB3_DL_CTRL 0x250 /* FW Download Control & Status */ macro 126 if (readl(regs + RCAR_USB3_DL_CTRL) & RCAR_USB3_DL_CTRL_FW_SUCCESS) in xhci_rcar_download_firmware() 135 temp = readl(regs + RCAR_USB3_DL_CTRL); in xhci_rcar_download_firmware() 137 writel(temp, regs + RCAR_USB3_DL_CTRL); in xhci_rcar_download_firmware() 146 temp = readl(regs + RCAR_USB3_DL_CTRL); in xhci_rcar_download_firmware() 148 writel(temp, regs + RCAR_USB3_DL_CTRL); in xhci_rcar_download_firmware() 150 retval = readl_poll_timeout_atomic(regs + RCAR_USB3_DL_CTRL, in xhci_rcar_download_firmware() 157 temp = readl(regs + RCAR_USB3_DL_CTRL); in xhci_rcar_download_firmware() 159 writel(temp, regs + RCAR_USB3_DL_CTRL); in xhci_rcar_download_firmware() 161 retval = readl_poll_timeout_atomic((regs + RCAR_USB3_DL_CTRL), in xhci_rcar_download_firmware()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-rcar.c | 19 #define RCAR_USB3_DL_CTRL 0x250 /* FW Download Control & Status */ macro 50 setbits_le32(regs + RCAR_USB3_DL_CTRL, RCAR_USB3_DL_CTRL_ENABLE); in xhci_rcar_download_fw() 54 setbits_le32(regs + RCAR_USB3_DL_CTRL, in xhci_rcar_download_fw() 57 ret = wait_for_bit_le32(regs + RCAR_USB3_DL_CTRL, in xhci_rcar_download_fw() 64 clrbits_le32(regs + RCAR_USB3_DL_CTRL, RCAR_USB3_DL_CTRL_ENABLE); in xhci_rcar_download_fw() 66 ret = wait_for_bit_le32(regs + RCAR_USB3_DL_CTRL, in xhci_rcar_download_fw()
|