Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A Dxhci.c110 halted = readl(&xhci->op_regs->status) & STS_HALT; in xhci_quiesce()
114 cmd = readl(&xhci->op_regs->command); in xhci_quiesce()
116 writel(cmd, &xhci->op_regs->command); in xhci_quiesce()
134 ret = xhci_handshake(&xhci->op_regs->status, in xhci_halt()
156 temp = readl(&xhci->op_regs->command); in xhci_start()
160 writel(temp, &xhci->op_regs->command); in xhci_start()
166 ret = xhci_handshake(&xhci->op_regs->status, in xhci_start()
194 state = readl(&xhci->op_regs->status); in xhci_reset()
208 command = readl(&xhci->op_regs->command); in xhci_reset()
210 writel(command, &xhci->op_regs->command); in xhci_reset()
[all …]
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()
3185 status = readl(&xhci->op_regs->status); in xhci_irq()
3213 writel(STS_EINT, &xhci->op_regs->status); in xhci_irq()
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c202 halted = readl(&pdev->op_regs->status) & STS_HALT; in cdnsp_quiesce()
206 cmd = readl(&pdev->op_regs->command); in cdnsp_quiesce()
208 writel(cmd, &pdev->op_regs->command); in cdnsp_quiesce()
227 ret = readl_poll_timeout_atomic(&pdev->op_regs->status, val, in cdnsp_halt()
259 temp = readl(&pdev->op_regs->command); in cdnsp_start()
261 writel(temp, &pdev->op_regs->command); in cdnsp_start()
269 ret = readl_poll_timeout_atomic(&pdev->op_regs->status, temp, in cdnsp_start()
293 temp = readl(&pdev->op_regs->status); in cdnsp_reset()
305 command = readl(&pdev->op_regs->command); in cdnsp_reset()
307 writel(command, &pdev->op_regs->command); in cdnsp_reset()
[all …]
H A Dcdnsp-mem.c1190 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS * in cdnsp_setup_port_arrays()
1194 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS * in cdnsp_setup_port_arrays()
1222 val = readl(&pdev->op_regs->config_reg); in cdnsp_mem_init()
1224 writel(val, &pdev->op_regs->config_reg); in cdnsp_mem_init()
1237 cdnsp_write_64(dma, &pdev->op_regs->dcbaa_ptr); in cdnsp_mem_init()
1265 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_mem_init()
1269 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_mem_init()
H A Dcdnsp-ring.c828 cmd_regs = readl(&pdev->op_regs->command); in cdnsp_handle_port_status()
1578 status = readl(&pdev->op_regs->status); in cdnsp_irq_handler()
1588 writel(status | STS_EINT, &pdev->op_regs->status); in cdnsp_irq_handler()
H A Dcdnsp-gadget.h1416 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