Searched refs:op_regs (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 91 epctrlx = readl(&udc->op_regs->epctrlx[0]); in ep0_reset() 103 writel(epctrlx, &udc->op_regs->epctrlx[0]); in ep0_reset() 113 epctrlx = readl(&udc->op_regs->epctrlx[0]); in ep0_stall() 115 writel(epctrlx, &udc->op_regs->epctrlx[0]); in ep0_stall() 190 while (readl(&udc->op_regs->epstatus) & bit_pos) in process_ep_req() 275 if (readl(&udc->op_regs->epprime) & bit_pos) in queue_dtd() 281 usbcmd = readl(&udc->op_regs->usbcmd); in queue_dtd() 283 writel(usbcmd, &udc->op_regs->usbcmd); in queue_dtd() 286 epstatus = readl(&udc->op_regs->epstatus) & bit_pos; in queue_dtd() 295 if (readl(&udc->op_regs->usbcmd) in queue_dtd() [all …]
|
D | mv_u3d_core.c | 263 iowrite32(tmp, &u3d->op_regs->doorbell); in mv_u3d_queue_trb() 1026 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_stop() 1028 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_stop() 1030 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_stop() 1054 iowrite32(MV_U3D_CMD_RUN_STOP, &u3d->op_regs->usbcmd); in mv_u3d_controller_start() 1056 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_start() 1065 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_reset() 1067 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset() 1070 iowrite32(MV_U3D_CMD_CTRL_RESET, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset() 1074 while (ioread32(&u3d->op_regs->usbcmd) & MV_U3D_CMD_CTRL_RESET) { in mv_u3d_controller_reset() [all …]
|
D | mv_udc.h | 178 struct mv_op_regs __iomem *op_regs; member
|
D | mv_u3d.h | 249 struct mv_u3d_op_regs __iomem *op_regs; member
|
/Linux-v4.19/drivers/usb/phy/ |
D | phy-mv-usb.c | 142 tmp = readl(&mvotg->op_regs->usbcmd); in mv_otg_reset() 144 writel(tmp, &mvotg->op_regs->usbcmd); in mv_otg_reset() 147 writel(USBCMD_CTRL_RESET, &mvotg->op_regs->usbcmd); in mv_otg_reset() 150 while (readl(&mvotg->op_regs->usbcmd) & USBCMD_CTRL_RESET) { in mv_otg_reset() 160 writel(0x0, &mvotg->op_regs->usbintr); in mv_otg_reset() 161 tmp = readl(&mvotg->op_regs->usbsts); in mv_otg_reset() 162 writel(tmp, &mvotg->op_regs->usbsts); in mv_otg_reset() 188 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq() 190 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq() 295 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs() [all …]
|
D | phy-mv-usb.h | 141 struct mv_otg_regs __iomem *op_regs; member
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci.c | 96 halted = readl(&xhci->op_regs->status) & STS_HALT; in xhci_quiesce() 100 cmd = readl(&xhci->op_regs->command); in xhci_quiesce() 102 writel(cmd, &xhci->op_regs->command); in xhci_quiesce() 119 ret = xhci_handshake(&xhci->op_regs->status, in xhci_halt() 138 temp = readl(&xhci->op_regs->command); in xhci_start() 142 writel(temp, &xhci->op_regs->command); in xhci_start() 148 ret = xhci_handshake(&xhci->op_regs->status, in xhci_start() 174 state = readl(&xhci->op_regs->status); in xhci_reset() 187 command = readl(&xhci->op_regs->command); in xhci_reset() 189 writel(command, &xhci->op_regs->command); in xhci_reset() [all …]
|
D | ehci-mv.c | 26 void __iomem *op_regs; member 188 ehci_mv->op_regs = in mv_ehci_probe() 193 hcd->regs = ehci_mv->op_regs; in mv_ehci_probe() 243 pdata->private_init(ehci_mv->op_regs, ehci_mv->phy_regs); in mv_ehci_probe()
|
D | xhci-hub.c | 1600 temp = readl(&xhci->op_regs->command); in xhci_bus_resume() 1602 writel(temp, &xhci->op_regs->command); in xhci_bus_resume() 1674 (void) readl(&xhci->op_regs->command); in xhci_bus_resume() 1678 temp = readl(&xhci->op_regs->command); in xhci_bus_resume() 1680 writel(temp, &xhci->op_regs->command); in xhci_bus_resume() 1681 temp = readl(&xhci->op_regs->command); in xhci_bus_resume()
|
D | xhci-mem.c | 2276 xhci->hw_ports[i].addr = &xhci->op_regs->port_status_base + in xhci_setup_port_arrays() 2374 page_size = readl(&xhci->op_regs->page_size); in xhci_mem_init() 2400 val2 = readl(&xhci->op_regs->config_reg); in xhci_mem_init() 2404 writel(val, &xhci->op_regs->config_reg); in xhci_mem_init() 2419 xhci_write_64(xhci, dma, &xhci->op_regs->dcbaa_ptr); in xhci_mem_init() 2463 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2469 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2554 temp = readl(&xhci->op_regs->dev_notification); in xhci_mem_init() 2557 writel(temp, &xhci->op_regs->dev_notification); in xhci_mem_init()
|
D | xhci-ring.c | 349 temp_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring() 351 &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring() 359 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring() 1325 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout() 1573 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status() 2650 status = readl(&xhci->op_regs->status); in xhci_irq() 2673 writel(status, &xhci->op_regs->status); in xhci_irq()
|
D | xhci.h | 1715 struct xhci_op_regs __iomem *op_regs; member
|