| /linux-6.15/drivers/usb/gadget/udc/ |
| H A D | mv_udc_core.c | 294 if (readl(&udc->op_regs->usbcmd) in queue_dtd() 974 tmp = readl(&udc->op_regs->usbintr); in udc_stop() 982 tmp = readl(&udc->op_regs->usbcmd); in udc_stop() 984 writel(tmp, &udc->op_regs->usbcmd); in udc_stop() 1009 tmp = readl(&udc->op_regs->usbcmd); in udc_reset() 1011 writel(tmp, &udc->op_regs->usbcmd); in udc_reset() 1041 &udc->op_regs->eplistaddr); in udc_reset() 1730 &udc->op_regs->deviceaddr); in ep0_req_complete() 1884 readl(&udc->op_regs->epprime)); in irq_process_reset() 1901 readl(&udc->op_regs->portsc)); in irq_process_reset() [all …]
|
| H A D | mv_u3d_core.c | 262 iowrite32(tmp, &u3d->op_regs->doorbell); in mv_u3d_queue_trb() 1027 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_stop() 1029 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_stop() 1031 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_stop() 1055 iowrite32(MV_U3D_CMD_RUN_STOP, &u3d->op_regs->usbcmd); in mv_u3d_controller_start() 1057 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_start() 1066 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_reset() 1068 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset() 1087 iowrite32(0, &u3d->op_regs->dcbaaph); in mv_u3d_controller_reset() 2043 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_shutdown() [all …]
|
| H A D | mv_udc.h | 178 struct mv_op_regs __iomem *op_regs; member
|
| H A D | mv_u3d.h | 249 struct mv_u3d_op_regs __iomem *op_regs; member
|
| /linux-6.15/drivers/usb/phy/ |
| H A D | phy-mv-usb.c | 144 tmp = readl(&mvotg->op_regs->usbcmd); in mv_otg_reset() 146 writel(tmp, &mvotg->op_regs->usbcmd); in mv_otg_reset() 159 writel(0x0, &mvotg->op_regs->usbintr); in mv_otg_reset() 160 tmp = readl(&mvotg->op_regs->usbsts); in mv_otg_reset() 161 writel(tmp, &mvotg->op_regs->usbsts); in mv_otg_reset() 187 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq() 189 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq() 294 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs() 483 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_irq() 484 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_irq() [all …]
|
| H A D | phy-mv-usb.h | 141 struct mv_otg_regs __iomem *op_regs; member
|
| /linux-6.15/drivers/usb/host/ |
| H A D | xhci.c | 123 cmd = readl(&xhci->op_regs->command); in xhci_quiesce() 125 writel(cmd, &xhci->op_regs->command); in xhci_quiesce() 164 temp = readl(&xhci->op_regs->command); in xhci_start() 168 writel(temp, &xhci->op_regs->command); in xhci_start() 285 val = readl(&xhci->op_regs->command); in xhci_zero_64b_regs() 287 writel(val, &xhci->op_regs->command); in xhci_zero_64b_regs() 290 val = readl(&xhci->op_regs->status); in xhci_zero_64b_regs() 292 writel(val, &xhci->op_regs->status); in xhci_zero_64b_regs() 650 readl(&xhci->op_regs->status)); in xhci_stop() 697 readl(&xhci->op_regs->status)); in xhci_shutdown() [all …]
|
| H A D | ehci-mv.c | 35 void __iomem *op_regs; member 160 ehci_mv->op_regs = in mv_ehci_probe() 165 hcd->regs = ehci_mv->op_regs; in mv_ehci_probe()
|
| H A D | xhci-mem.c | 2162 xhci->hw_ports[i].addr = &xhci->op_regs->port_status_base + in xhci_setup_port_arrays() 2378 page_size = readl(&xhci->op_regs->page_size) & XHCI_PAGE_SIZE_MASK; in xhci_hcd_page_size() 2415 val2 = readl(&xhci->op_regs->config_reg); in xhci_mem_init() 2419 writel(val, &xhci->op_regs->config_reg); in xhci_mem_init() 2433 xhci_write_64(xhci, dma, &xhci->op_regs->dcbaa_ptr); in xhci_mem_init() 2482 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2488 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2530 temp = readl(&xhci->op_regs->dev_notification); in xhci_mem_init() 2533 writel(temp, &xhci->op_regs->dev_notification); in xhci_mem_init()
|
| H A D | xhci-tegra.c | 984 struct xhci_op_regs __iomem *op_regs; in tegra_xusb_wait_for_falcon() local 989 op_regs = tegra->regs + HC_LENGTH(readl(&cap_regs->hc_capbase)); in tegra_xusb_wait_for_falcon() 991 ret = readl_poll_timeout(&op_regs->status, value, !(value & STS_CNR), 1000, 200000); in tegra_xusb_wait_for_falcon() 2180 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_enter_elpg() 2182 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_enter_elpg() 2227 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_enter_elpg() 2229 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_enter_elpg() 2299 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_exit_elpg() 2301 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_exit_elpg()
|
| H A D | xhci-ring.c | 513 xhci_write_64(xhci, crcr | CMD_RING_ABORT, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring() 521 ret = xhci_handshake_check_state(xhci, &xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring() 1729 usbsts = readl(&xhci->op_regs->status); in xhci_handle_command_timeout() 1752 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout() 2043 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status() 3164 status = readl(&xhci->op_regs->status); in xhci_irq() 3192 writel(status, &xhci->op_regs->status); in xhci_irq()
|
| H A D | xhci.h | 1502 struct xhci_op_regs __iomem *op_regs; member
|
| H A D | xhci-hub.c | 1978 (void) readl(&xhci->op_regs->command); in xhci_bus_resume()
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-gadget.c | 205 cmd = readl(&pdev->op_regs->command); in cdnsp_quiesce() 207 writel(cmd, &pdev->op_regs->command); in cdnsp_quiesce() 258 temp = readl(&pdev->op_regs->command); in cdnsp_start() 260 writel(temp, &pdev->op_regs->command); in cdnsp_start() 292 temp = readl(&pdev->op_regs->status); in cdnsp_reset() 304 command = readl(&pdev->op_regs->command); in cdnsp_reset() 306 writel(command, &pdev->op_regs->command); in cdnsp_reset() 1317 temp = readl(&pdev->op_regs->command); in cdnsp_run() 1319 writel(temp, &pdev->op_regs->command); in cdnsp_run() 1460 temp = readl(&pdev->op_regs->status); in cdnsp_stop() [all …]
|
| H A D | host.c | 38 value = readl(&xhci->op_regs->command); in xhci_cdns3_plat_start() 40 writel(value, &xhci->op_regs->command); in xhci_cdns3_plat_start()
|
| H 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()
|
| H A D | cdnsp-ring.c | 826 cmd_regs = readl(&pdev->op_regs->command); in cdnsp_handle_port_status() 1576 status = readl(&pdev->op_regs->status); in cdnsp_irq_handler() 1586 writel(status | STS_EINT, &pdev->op_regs->status); in cdnsp_irq_handler()
|
| H A D | cdnsp-gadget.h | 1406 struct cdnsp_op_regs __iomem *op_regs; member
|