Lines Matching full:vhub

3  * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
27 #include "vhub.h"
53 spin_unlock(&ep->vhub->lock); in ast_vhub_reply()
58 spin_lock(&ep->vhub->lock); in ast_vhub_reply()
122 /* If this is the vHub, we handle requests differently */ in ast_vhub_ep0_handle_setup()
151 spin_unlock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup()
153 spin_lock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup()
276 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_handle_ack() local
277 struct device *dev = &vhub->pdev->dev; in ast_vhub_ep0_handle_ack()
364 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_queue() local
365 struct device *dev = &vhub->pdev->dev; in ast_vhub_ep0_queue()
403 spin_lock_irqsave(&vhub->lock, flags); in ast_vhub_ep0_queue()
412 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_queue()
433 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_queue()
441 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_dequeue() local
446 spin_lock_irqsave(&vhub->lock, flags); in ast_vhub_ep0_dequeue()
467 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_dequeue()
488 void ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep, in ast_vhub_init_ep0() argument
501 ep->vhub = vhub; in ast_vhub_init_ep0()
506 /* Small difference between vHub and devices */ in ast_vhub_init_ep0()
509 ep->ep0.setup = vhub->regs + in ast_vhub_init_ep0()
511 ep->buf = vhub->ep0_bufs + in ast_vhub_init_ep0()
513 ep->buf_dma = vhub->ep0_bufs_dma + in ast_vhub_init_ep0()
516 ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL; in ast_vhub_init_ep0()
517 ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0; in ast_vhub_init_ep0()
518 ep->buf = vhub->ep0_bufs; in ast_vhub_init_ep0()
519 ep->buf_dma = vhub->ep0_bufs_dma; in ast_vhub_init_ep0()