/linux/drivers/usb/gadget/udc/ |
A D | mv_udc_core.c | 294 if (readl(&udc->op_regs->usbcmd) in queue_dtd() 972 tmp = readl(&udc->op_regs->usbintr); in udc_stop() 980 tmp = readl(&udc->op_regs->usbcmd); in udc_stop() 982 writel(tmp, &udc->op_regs->usbcmd); in udc_stop() 1007 tmp = readl(&udc->op_regs->usbcmd); in udc_reset() 1009 writel(tmp, &udc->op_regs->usbcmd); in udc_reset() 1039 &udc->op_regs->eplistaddr); in udc_reset() 1729 &udc->op_regs->deviceaddr); in ep0_req_complete() 1883 readl(&udc->op_regs->epprime)); in irq_process_reset() 1900 readl(&udc->op_regs->portsc)); in irq_process_reset() [all …]
|
A D | mv_u3d_core.c | 262 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() 1085 iowrite32(0, &u3d->op_regs->dcbaaph); in mv_u3d_controller_reset() 2044 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_shutdown() [all …]
|
A D | mv_udc.h | 178 struct mv_op_regs __iomem *op_regs; member
|
A D | mv_u3d.h | 249 struct mv_u3d_op_regs __iomem *op_regs; member
|
/linux/drivers/usb/phy/ |
A D | phy-mv-usb.c | 143 tmp = readl(&mvotg->op_regs->usbcmd); in mv_otg_reset() 145 writel(tmp, &mvotg->op_regs->usbcmd); 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() 482 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_irq() 483 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_irq() [all …]
|
A D | phy-mv-usb.h | 141 struct mv_otg_regs __iomem *op_regs; member
|
/linux/drivers/usb/host/ |
A D | xhci.c | 97 cmd = readl(&xhci->op_regs->command); in xhci_quiesce() 99 writel(cmd, &xhci->op_regs->command); in xhci_quiesce() 135 temp = readl(&xhci->op_regs->command); in xhci_start() 139 writel(temp, &xhci->op_regs->command); in xhci_start() 252 val = readl(&xhci->op_regs->command); in xhci_zero_64b_regs() 254 writel(val, &xhci->op_regs->command); in xhci_zero_64b_regs() 257 val = readl(&xhci->op_regs->status); in xhci_zero_64b_regs() 259 writel(val, &xhci->op_regs->status); in xhci_zero_64b_regs() 763 readl(&xhci->op_regs->status)); in xhci_stop() 794 readl(&xhci->op_regs->status)); in xhci_shutdown() [all …]
|
A D | ehci-mv.c | 35 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()
|
A D | xhci-mem.c | 2292 xhci->hw_ports[i].addr = &xhci->op_regs->port_status_base + in xhci_setup_port_arrays() 2395 page_size = readl(&xhci->op_regs->page_size); in xhci_mem_init() 2421 val2 = readl(&xhci->op_regs->config_reg); in xhci_mem_init() 2425 writel(val, &xhci->op_regs->config_reg); in xhci_mem_init() 2439 xhci_write_64(xhci, dma, &xhci->op_regs->dcbaa_ptr); in xhci_mem_init() 2483 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2489 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2577 temp = readl(&xhci->op_regs->dev_notification); in xhci_mem_init() 2580 writel(temp, &xhci->op_regs->dev_notification); in xhci_mem_init()
|
A D | xhci-hub.c | 1869 temp = readl(&xhci->op_regs->command); in xhci_bus_resume() 1871 writel(temp, &xhci->op_regs->command); in xhci_bus_resume() 1944 (void) readl(&xhci->op_regs->command); in xhci_bus_resume() 1948 temp = readl(&xhci->op_regs->command); in xhci_bus_resume() 1950 writel(temp, &xhci->op_regs->command); in xhci_bus_resume() 1951 temp = readl(&xhci->op_regs->command); in xhci_bus_resume()
|
A D | xhci-tegra.c | 1986 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_enter_elpg() 1988 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_enter_elpg() 2024 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_enter_elpg() 2026 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_enter_elpg() 2094 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_exit_elpg() 2096 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_exit_elpg()
|
A D | xhci-ring.c | 391 xhci_write_64(xhci, crcr | CMD_RING_ABORT, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring() 399 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring() 1285 usbsts = readl(&xhci->op_regs->status); in xhci_stop_endpoint_command_watchdog() 1673 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout() 1967 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status() 3090 status = readl(&xhci->op_regs->status); in xhci_irq() 3113 writel(status, &xhci->op_regs->status); in xhci_irq()
|
A D | xhci.h | 1756 struct xhci_op_regs __iomem *op_regs; member
|
/linux/drivers/usb/cdns3/ |
A D | cdnsp-gadget.c | 184 cmd = readl(&pdev->op_regs->command); in cdnsp_quiesce() 186 writel(cmd, &pdev->op_regs->command); in cdnsp_quiesce() 237 temp = readl(&pdev->op_regs->command); in cdnsp_start() 239 writel(temp, &pdev->op_regs->command); in cdnsp_start() 271 temp = readl(&pdev->op_regs->status); in cdnsp_reset() 283 command = readl(&pdev->op_regs->command); in cdnsp_reset() 285 writel(command, &pdev->op_regs->command); in cdnsp_reset() 1302 temp = readl(&pdev->op_regs->command); in cdnsp_run() 1304 writel(temp, &pdev->op_regs->command); in cdnsp_run() 1447 temp = readl(&pdev->op_regs->status); in cdnsp_stop() [all …]
|
A D | host.c | 102 value = readl(&xhci->op_regs->command); in xhci_cdns3_suspend_quirk() 104 writel(value, &xhci->op_regs->command); in xhci_cdns3_suspend_quirk()
|
A D | cdnsp-mem.c | 1191 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS * in cdnsp_setup_port_arrays() 1195 (&pdev->op_regs->port_reg_base + NUM_PORT_REGS * in cdnsp_setup_port_arrays() 1223 val = readl(&pdev->op_regs->config_reg); in cdnsp_mem_init() 1225 writel(val, &pdev->op_regs->config_reg); in cdnsp_mem_init() 1238 cdnsp_write_64(dma, &pdev->op_regs->dcbaa_ptr); in cdnsp_mem_init() 1266 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_mem_init() 1270 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_mem_init()
|
A D | cdnsp-ring.c | 823 cmd_regs = readl(&pdev->op_regs->command); in cdnsp_handle_port_status() 1563 status = readl(&pdev->op_regs->status); in cdnsp_irq_handler() 1573 writel(status | STS_EINT, &pdev->op_regs->status); in cdnsp_irq_handler()
|
A D | cdnsp-gadget.h | 1401 struct cdnsp_op_regs __iomem *op_regs; member
|