Searched refs:ep_cmd (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/usb/cdns3/ |
H A D | cdns3-gadget.c | 182 return EP_CMD_TDL_GET(readl(&priv_dev->regs->ep_cmd)); in cdns3_get_tdl() 270 &priv_dev->regs->ep_cmd); in cdns3_ep_stall_flush() 273 readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val, in cdns3_ep_stall_flush() 712 u16 tdl = EP_CMD_TDL_GET(readl(&priv_dev->regs->ep_cmd)); in cdns3_wa2_reset_tdl() 718 &priv_dev->regs->ep_cmd); in cdns3_wa2_reset_tdl() 749 ep_cmd_reg = readl(&priv_dev->regs->ep_cmd); in cdns3_wa2_check_outq_status() 775 &priv_dev->regs->ep_cmd); in cdns3_wa2_check_outq_status() 964 doorbell = !!(readl(&priv_dev->regs->ep_cmd) & EP_CMD_DRDY); in cdns3_wa1_update_guard() 984 doorbell = !!(readl(&priv_dev->regs->ep_cmd) & EP_CMD_DRDY); in cdns3_wa1_tray_restore_cycle_bit() 1077 &priv_dev->regs->ep_cmd); in cdns3_ep_run_stream_transfer() [all …]
|
H A D | cdns3-ep0.c | 66 writel(EP_CMD_DRDY, ®s->ep_cmd); in cdns3_ep0_run_transfer() 72 writel(EP_CMD_ERDY, &priv_dev->regs->ep_cmd); in cdns3_ep0_run_transfer() 118 writel(EP_CMD_SSTALL, &priv_dev->regs->ep_cmd); in cdns3_ep0_complete_setup() 125 &priv_dev->regs->ep_cmd); in cdns3_ep0_complete_setup()
|
H A D | cdns3-gadget.h | 82 __le32 ep_cmd; member
|
/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.c | 160 writel(DMA_EP_CMD_DFLUSH, &pdev->adma_regs->ep_cmd); in cdns2_ep_stall_flush() 163 readl_poll_timeout_atomic(&pdev->adma_regs->ep_cmd, val, in cdns2_ep_stall_flush() 288 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_wa1_update_guard() 308 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_wa1_tray_restore_cycle_bit() 333 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_prepare_ring() 701 writel(DMA_EP_CMD_DRDY, &pdev->adma_regs->ep_cmd); in cdns2_set_drdy() 705 writel(DMA_EP_CMD_DRDY, &pdev->adma_regs->ep_cmd); in cdns2_set_drdy() 718 if ((readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY)) in cdns2_prepare_first_isoc_transfer() 890 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_trb_handled() 1063 writel(DMA_EP_CMD_DRDY, &pdev->adma_regs->ep_cmd); in cdns2_rearm_transfer() [all …]
|
H A D | cdns2-gadget.h | 337 __le32 ep_cmd; member
|
H A D | cdns2-ep0.c | 76 writel(DMA_EP_CMD_DRDY, ®s->ep_cmd); in cdns2_ep0_enqueue()
|
/linux/drivers/usb/gadget/function/ |
H A D | f_tcm.c | 485 usb_ep_free_request(fu->ep_cmd, fu->cmd.req); in uasp_free_cmdreq() 501 usb_ep_disable(fu->ep_cmd); in uasp_cleanup_old_alt() 604 usb_ep_queue(fu->ep_cmd, fu->cmd.req, GFP_ATOMIC); in uasp_status_data_cmpl() 738 usb_ep_queue(fu->ep_cmd, fu->cmd.req, GFP_ATOMIC); in uasp_cmd_complete() 769 fu->cmd.req = usb_ep_alloc_request(fu->ep_cmd, GFP_KERNEL); in uasp_alloc_cmd() 773 fu->cmd.buf = kmalloc(fu->ep_cmd->maxpacket, GFP_KERNEL); in uasp_alloc_cmd() 779 fu->cmd.req->length = fu->ep_cmd->maxpacket; in uasp_alloc_cmd() 784 usb_ep_free_request(fu->ep_cmd, fu->cmd.req); in uasp_alloc_cmd() 824 ret = usb_ep_queue(fu->ep_cmd, fu->cmd.req, GFP_ATOMIC); in uasp_prepare_reqs() 865 config_ep_by_speed_and_alt(gadget, f, fu->ep_cmd, USB_G_ALT_INT_UAS); in uasp_set_alt() [all …]
|
H A D | tcm.h | 126 struct usb_ep *ep_cmd; member
|