Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/host/
Duhci-debug.c308 unsigned short usbcmd, usbstat, usbint, usbfrnum; in uhci_show_status() local
314 usbcmd = uhci_readw(uhci, USBCMD); in uhci_show_status()
324 usbcmd, in uhci_show_status()
325 (usbcmd & USBCMD_MAXP) ? "Maxp64 " : "Maxp32 ", in uhci_show_status()
326 (usbcmd & USBCMD_CF) ? "CF " : "", in uhci_show_status()
327 (usbcmd & USBCMD_SWDBG) ? "SWDBG " : "", in uhci_show_status()
328 (usbcmd & USBCMD_FGR) ? "FGR " : "", in uhci_show_status()
329 (usbcmd & USBCMD_EGSM) ? "EGSM " : "", in uhci_show_status()
330 (usbcmd & USBCMD_GRESET) ? "GRESET " : "", in uhci_show_status()
331 (usbcmd & USBCMD_HCRESET) ? "HCRESET " : "", in uhci_show_status()
[all …]
Dxhci-tegra.c1982 u32 usbcmd; in tegra_xusb_enter_elpg() local
1986 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_enter_elpg()
1987 usbcmd &= ~CMD_EIE; 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()
2025 usbcmd |= CMD_EIE; in tegra_xusb_enter_elpg()
2026 writel(usbcmd, &xhci->op_regs->command); in tegra_xusb_enter_elpg()
2041 u32 usbcmd; in tegra_xusb_exit_elpg() local
2094 usbcmd = readl(&xhci->op_regs->command); in tegra_xusb_exit_elpg()
2095 usbcmd |= CMD_EIE; in tegra_xusb_exit_elpg()
[all …]
/linux-6.1.9/drivers/usb/gadget/udc/
Dfsl_udc_core.c277 tmp = fsl_readl(&dr_regs->usbcmd); in dr_controller_setup()
279 fsl_writel(tmp, &dr_regs->usbcmd); in dr_controller_setup()
281 tmp = fsl_readl(&dr_regs->usbcmd); in dr_controller_setup()
283 fsl_writel(tmp, &dr_regs->usbcmd); in dr_controller_setup()
287 while (fsl_readl(&dr_regs->usbcmd) & USB_CMD_CTRL_RESET) { in dr_controller_setup()
368 temp = fsl_readl(&dr_regs->usbcmd); in dr_controller_run()
370 fsl_writel(temp, &dr_regs->usbcmd); in dr_controller_run()
400 tmp = fsl_readl(&dr_regs->usbcmd); in dr_controller_stop()
402 fsl_writel(tmp, &dr_regs->usbcmd); in dr_controller_stop()
745 temp = fsl_readl(&dr_regs->usbcmd); in fsl_queue_td()
[all …]
Dmv_udc_core.c256 u32 usbcmd, epstatus; in queue_dtd() local
280 usbcmd = readl(&udc->op_regs->usbcmd); in queue_dtd()
281 usbcmd |= USBCMD_ATDTW_TRIPWIRE_SET; in queue_dtd()
282 writel(usbcmd, &udc->op_regs->usbcmd); in queue_dtd()
294 if (readl(&udc->op_regs->usbcmd) in queue_dtd()
309 usbcmd = readl(&udc->op_regs->usbcmd); in queue_dtd()
310 usbcmd &= USBCMD_ATDTW_TRIPWIRE_CLEAR; in queue_dtd()
311 writel(usbcmd, &udc->op_regs->usbcmd); in queue_dtd()
982 tmp = readl(&udc->op_regs->usbcmd); in udc_stop()
984 writel(tmp, &udc->op_regs->usbcmd); in udc_stop()
[all …]
Dmv_u3d_core.c1027 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()
1071 iowrite32(MV_U3D_CMD_CTRL_RESET, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1075 while (ioread32(&u3d->op_regs->usbcmd) & MV_U3D_CMD_CTRL_RESET) { in mv_u3d_controller_reset()
2046 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_shutdown()
[all …]
Dfsl_usb2_udc.h32 u32 usbcmd; /* USB Command Register */ member
69 u32 usbcmd; /* USB Command Register */ member
Dmv_udc.h141 u32 usbcmd; /* Command register */ member
Dmv_u3d.h130 u32 usbcmd; /* Command register */ member
/linux-6.1.9/drivers/usb/phy/
Dphy-fsl-usb.c449 command = fsl_readl(&usb_dr_regs->usbcmd); in otg_reset_controller()
451 fsl_writel(command, &usb_dr_regs->usbcmd); in otg_reset_controller()
452 while (fsl_readl(&usb_dr_regs->usbcmd) & (1 << 1)) in otg_reset_controller()
890 temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); in usb_otg_start()
892 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); in usb_otg_start()
895 temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); in usb_otg_start()
897 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); in usb_otg_start()
900 while (fsl_readl(&p_otg->dr_mem_map->usbcmd) & USB_CMD_CTRL_RESET) in usb_otg_start()
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()
Dphy-mv-usb.h106 u32 usbcmd; /* Command register */ member
Dphy-fsl-usb.h301 u32 usbcmd; /* USB Command Register */ member
/linux-6.1.9/Documentation/devicetree/bindings/usb/
Dcdns,usb3.yaml34 - description: interrupt used to wake up core, e.g when usbcmd.rs is
Dmsm-hsusb.txt78 before starting controller using usbcmd run/stop bit.