Home
last modified time | relevance | path

Searched refs:op_regs (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci.c107 cmd = readl(&xhci->op_regs->command); in xhci_quiesce()
109 writel(cmd, &xhci->op_regs->command); in xhci_quiesce()
127 ret = xhci_handshake(&xhci->op_regs->status, in xhci_halt()
149 temp = readl(&xhci->op_regs->command);
153 writel(temp, &xhci->op_regs->command); in xhci_start()
159 ret = xhci_handshake(&xhci->op_regs->status, in xhci_start()
187 state = readl(&xhci->op_regs->status);
201 command = readl(&xhci->op_regs->command); in xhci_reset()
203 writel(command, &xhci->op_regs->command); in xhci_reset()
215 ret = xhci_handshake(&xhci->op_regs in xhci_reset()
[all...]
H A Dxhci-tegra.c991 struct xhci_op_regs __iomem *op_regs; in tegra_xusb_wait_for_falcon()
996 op_regs = tegra->regs + HC_LENGTH(readl(&cap_regs->hc_capbase)); in tegra_xusb_wait_for_falcon()
998 ret = readl_poll_timeout(&op_regs->status, value, !(value & STS_CNR), 1000, 200000); in tegra_xusb_wait_for_falcon()
2243 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_enter_elpg()
2245 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_enter_elpg()
2290 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_exit_elpg()
2292 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_exit_elpg()
2362 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_exit_elpg()
2364 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_exit_elpg()
990 struct xhci_op_regs __iomem *op_regs; tegra_xusb_wait_for_falcon() local
H A Dxhci-ring.c514 xhci_write_64(xhci, crcr | CMD_RING_ABORT, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
522 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring()
1740 usbsts = readl(&xhci->op_regs->status); in xhci_handle_command_timeout()
1763 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout()
2059 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status()
3164 status = readl(&xhci->op_regs->status); in xhci_skip_sec_intr_events()
3192 writel(STS_EINT, &xhci->op_regs->status); in xhci_irq()
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c210 halted = readl(&pdev->op_regs->status) & STS_HALT;
214 cmd = readl(&pdev->op_regs->command);
216 writel(cmd, &pdev->op_regs->command);
235 ret = readl_poll_timeout_atomic(&pdev->op_regs->status, val, in cdnsp_halt()
267 temp = readl(&pdev->op_regs->command); in cdnsp_start()
269 writel(temp, &pdev->op_regs->command); in cdnsp_start()
277 ret = readl_poll_timeout_atomic(&pdev->op_regs->status, temp, in cdnsp_start()
301 temp = readl(&pdev->op_regs->status); in cdnsp_reset()
313 command = readl(&pdev->op_regs->command); in cdnsp_reset()
315 writel(command, &pdev->op_regs in cdnsp_reset()
[all...]
H A Dcdnsp-mem.c1202 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS *
1209 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS * in cdnsp_mem_init()
1219 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS * in cdnsp_mem_init()
1249 val = readl(&pdev->op_regs->config_reg); in cdnsp_mem_init()
1251 writel(val, &pdev->op_regs->config_reg); in cdnsp_mem_init()
1264 cdnsp_write_64(dma, &pdev->op_regs->dcbaa_ptr); in cdnsp_mem_init()
1292 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_mem_init()
1296 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_mem_init()
H A Dcdnsp-ring.c831 cmd_regs = readl(&pdev->op_regs->command); in cdnsp_handle_port_status()
1581 status = readl(&pdev->op_regs->status); in cdnsp_irq_handler()
1591 writel(status | STS_EINT, &pdev->op_regs->status); in cdnsp_irq_handler()
H A Dcdnsp-gadget.h1364 * @op_regs: Operational registers.
1416 struct cdnsp_op_regs __iomem *op_regs; member
/linux/drivers/usb/phy/
H A Dphy-mv-usb.h141 struct mv_otg_regs __iomem *op_regs; member