Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dmv_udc_core.c90 epctrlx = readl(&udc->op_regs->epctrlx[0]); in ep0_reset()
102 writel(epctrlx, &udc->op_regs->epctrlx[0]); in ep0_reset()
112 epctrlx = readl(&udc->op_regs->epctrlx[0]); in ep0_stall()
114 writel(epctrlx, &udc->op_regs->epctrlx[0]); in ep0_stall()
189 while (readl(&udc->op_regs->epstatus) & bit_pos) in process_ep_req()
274 if (readl(&udc->op_regs->epprime) & bit_pos) in queue_dtd()
280 usbcmd = readl(&udc->op_regs->usbcmd); in queue_dtd()
282 writel(usbcmd, &udc->op_regs->usbcmd); in queue_dtd()
285 epstatus = readl(&udc->op_regs->epstatus) & bit_pos; in queue_dtd()
294 if (readl(&udc->op_regs->usbcmd) in queue_dtd()
[all …]
Dmv_u3d_core.c262 iowrite32(tmp, &u3d->op_regs->doorbell); in mv_u3d_queue_trb()
1025 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_stop()
1027 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_stop()
1029 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_stop()
1053 iowrite32(MV_U3D_CMD_RUN_STOP, &u3d->op_regs->usbcmd); in mv_u3d_controller_start()
1055 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_start()
1064 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1066 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1069 iowrite32(MV_U3D_CMD_CTRL_RESET, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1073 while (ioread32(&u3d->op_regs->usbcmd) & MV_U3D_CMD_CTRL_RESET) { in mv_u3d_controller_reset()
[all …]
Dmv_udc.h178 struct mv_op_regs __iomem *op_regs; member
Dmv_u3d.h249 struct mv_u3d_op_regs __iomem *op_regs; member
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-mv-usb.c143 tmp = readl(&mvotg->op_regs->usbcmd); in mv_otg_reset()
145 writel(tmp, &mvotg->op_regs->usbcmd); in mv_otg_reset()
148 writel(USBCMD_CTRL_RESET, &mvotg->op_regs->usbcmd); in mv_otg_reset()
150 ret = readl_poll_timeout_atomic(&mvotg->op_regs->usbcmd, tmp, in mv_otg_reset()
158 writel(0x0, &mvotg->op_regs->usbintr); in mv_otg_reset()
159 tmp = readl(&mvotg->op_regs->usbsts); in mv_otg_reset()
160 writel(tmp, &mvotg->op_regs->usbsts); in mv_otg_reset()
186 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq()
188 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq()
293 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs()
[all …]
Dphy-mv-usb.h141 struct mv_otg_regs __iomem *op_regs; member
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci.c94 halted = readl(&xhci->op_regs->status) & STS_HALT; in xhci_quiesce()
98 cmd = readl(&xhci->op_regs->command); in xhci_quiesce()
100 writel(cmd, &xhci->op_regs->command); in xhci_quiesce()
117 ret = xhci_handshake(&xhci->op_regs->status, in xhci_halt()
136 temp = readl(&xhci->op_regs->command); in xhci_start()
140 writel(temp, &xhci->op_regs->command); in xhci_start()
146 ret = xhci_handshake(&xhci->op_regs->status, in xhci_start()
172 state = readl(&xhci->op_regs->status); in xhci_reset()
185 command = readl(&xhci->op_regs->command); in xhci_reset()
187 writel(command, &xhci->op_regs->command); in xhci_reset()
[all …]
Dehci-mv.c35 void __iomem *op_regs; member
161 ehci_mv->op_regs = in mv_ehci_probe()
166 hcd->regs = ehci_mv->op_regs; in mv_ehci_probe()
Dxhci-mem.c2306 xhci->hw_ports[i].addr = &xhci->op_regs->port_status_base + in xhci_setup_port_arrays()
2409 page_size = readl(&xhci->op_regs->page_size); in xhci_mem_init()
2435 val2 = readl(&xhci->op_regs->config_reg); in xhci_mem_init()
2439 writel(val, &xhci->op_regs->config_reg); in xhci_mem_init()
2453 xhci_write_64(xhci, dma, &xhci->op_regs->dcbaa_ptr); in xhci_mem_init()
2497 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init()
2503 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init()
2589 temp = readl(&xhci->op_regs->dev_notification); in xhci_mem_init()
2592 writel(temp, &xhci->op_regs->dev_notification); in xhci_mem_init()
Dxhci-hub.c1781 temp = readl(&xhci->op_regs->command); in xhci_bus_resume()
1783 writel(temp, &xhci->op_regs->command); in xhci_bus_resume()
1856 (void) readl(&xhci->op_regs->command); in xhci_bus_resume()
1860 temp = readl(&xhci->op_regs->command); in xhci_bus_resume()
1862 writel(temp, &xhci->op_regs->command); in xhci_bus_resume()
1863 temp = readl(&xhci->op_regs->command); in xhci_bus_resume()
Dxhci-ring.c367 xhci_write_64(xhci, crcr | CMD_RING_ABORT, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
375 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring()
1056 usbsts = readl(&xhci->op_regs->status); in xhci_stop_endpoint_command_watchdog()
1441 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout()
1733 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status()
2918 status = readl(&xhci->op_regs->status); in xhci_irq()
2941 writel(status, &xhci->op_regs->status); in xhci_irq()
Dxhci.h1743 struct xhci_op_regs __iomem *op_regs; member
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dhost.c99 value = readl(&xhci->op_regs->command); in xhci_cdns3_suspend_quirk()
101 writel(value, &xhci->op_regs->command); in xhci_cdns3_suspend_quirk()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch6135 ret = xhci_handshake(&xhci->op_regs->command,