Home
last modified time | relevance | path

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

/drivers/usb/host/
Duhci-debug.c307 unsigned short usbcmd, usbstat, usbint, usbfrnum; in uhci_show_status() local
313 usbcmd = uhci_readw(uhci, USBCMD); in uhci_show_status()
323 usbcmd, in uhci_show_status()
324 (usbcmd & USBCMD_MAXP) ? "Maxp64 " : "Maxp32 ", in uhci_show_status()
325 (usbcmd & USBCMD_CF) ? "CF " : "", in uhci_show_status()
326 (usbcmd & USBCMD_SWDBG) ? "SWDBG " : "", in uhci_show_status()
327 (usbcmd & USBCMD_FGR) ? "FGR " : "", in uhci_show_status()
328 (usbcmd & USBCMD_EGSM) ? "EGSM " : "", in uhci_show_status()
329 (usbcmd & USBCMD_GRESET) ? "GRESET " : "", in uhci_show_status()
330 (usbcmd & USBCMD_HCRESET) ? "HCRESET " : "", in uhci_show_status()
[all …]
/drivers/usb/gadget/udc/
Dfsl_udc_core.c282 tmp = fsl_readl(&dr_regs->usbcmd); in dr_controller_setup()
284 fsl_writel(tmp, &dr_regs->usbcmd); in dr_controller_setup()
286 tmp = fsl_readl(&dr_regs->usbcmd); in dr_controller_setup()
288 fsl_writel(tmp, &dr_regs->usbcmd); in dr_controller_setup()
292 while (fsl_readl(&dr_regs->usbcmd) & USB_CMD_CTRL_RESET) { in dr_controller_setup()
375 temp = fsl_readl(&dr_regs->usbcmd); in dr_controller_run()
377 fsl_writel(temp, &dr_regs->usbcmd); in dr_controller_run()
407 tmp = fsl_readl(&dr_regs->usbcmd); in dr_controller_stop()
409 fsl_writel(tmp, &dr_regs->usbcmd); in dr_controller_stop()
753 temp = fsl_readl(&dr_regs->usbcmd); in fsl_queue_td()
[all …]
Dmv_udc_core.c263 u32 usbcmd, epstatus; in queue_dtd() local
287 usbcmd = readl(&udc->op_regs->usbcmd); in queue_dtd()
288 usbcmd |= USBCMD_ATDTW_TRIPWIRE_SET; in queue_dtd()
289 writel(usbcmd, &udc->op_regs->usbcmd); in queue_dtd()
301 if (readl(&udc->op_regs->usbcmd) in queue_dtd()
316 usbcmd = readl(&udc->op_regs->usbcmd); in queue_dtd()
317 usbcmd &= USBCMD_ATDTW_TRIPWIRE_CLEAR; in queue_dtd()
318 writel(usbcmd, &udc->op_regs->usbcmd); in queue_dtd()
993 tmp = readl(&udc->op_regs->usbcmd); in udc_stop()
995 writel(tmp, &udc->op_regs->usbcmd); in udc_stop()
[all …]
Dmv_u3d_core.c1038 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_stop()
1040 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_stop()
1042 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_stop()
1066 iowrite32(MV_U3D_CMD_RUN_STOP, &u3d->op_regs->usbcmd); in mv_u3d_controller_start()
1068 ioread32(&u3d->op_regs->usbcmd)); in mv_u3d_controller_start()
1077 tmp = ioread32(&u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1079 iowrite32(tmp, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1082 iowrite32(MV_U3D_CMD_CTRL_RESET, &u3d->op_regs->usbcmd); in mv_u3d_controller_reset()
1086 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.h36 u32 usbcmd; /* USB Command Register */ member
73 u32 usbcmd; /* USB Command Register */ member
Dmv_udc.h145 u32 usbcmd; /* Command register */ member
Dmv_u3d.h133 u32 usbcmd; /* Command register */ member
/drivers/usb/phy/
Dphy-fsl-usb.c490 command = fsl_readl(&usb_dr_regs->usbcmd); in otg_reset_controller()
492 fsl_writel(command, &usb_dr_regs->usbcmd); in otg_reset_controller()
493 while (fsl_readl(&usb_dr_regs->usbcmd) & (1 << 1)) in otg_reset_controller()
938 temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); in usb_otg_start()
940 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); in usb_otg_start()
943 temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); in usb_otg_start()
945 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); in usb_otg_start()
948 while (fsl_readl(&p_otg->dr_mem_map->usbcmd) & USB_CMD_CTRL_RESET) in usb_otg_start()
1041 fsl_readl(&usb_dr_regs->usbcmd), in show_fsl_usb2_otg_state()
Dphy-mv-usb.c151 tmp = readl(&mvotg->op_regs->usbcmd); in mv_otg_reset()
153 writel(tmp, &mvotg->op_regs->usbcmd); in mv_otg_reset()
156 writel(USBCMD_CTRL_RESET, &mvotg->op_regs->usbcmd); in mv_otg_reset()
159 while (readl(&mvotg->op_regs->usbcmd) & USBCMD_CTRL_RESET) { in mv_otg_reset()
Dphy-mv-usb.h110 u32 usbcmd; /* Command register */ member
Dphy-fsl-usb.h315 u32 usbcmd; /* USB Command Register */ member