Lines Matching refs:vhub
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
27 #include "vhub.h"
53 spin_unlock(&ep->vhub->lock);
58 spin_lock(&ep->vhub->lock);
151 spin_unlock(&ep->vhub->lock);
153 spin_lock(&ep->vhub->lock);
276 struct ast_vhub *vhub = ep->vhub;
277 struct device *dev = &vhub->pdev->dev;
364 struct ast_vhub *vhub = ep->vhub;
365 struct device *dev = &vhub->pdev->dev;
403 spin_lock_irqsave(&vhub->lock, flags);
412 spin_unlock_irqrestore(&vhub->lock, flags);
433 spin_unlock_irqrestore(&vhub->lock, flags);
441 struct ast_vhub *vhub = ep->vhub;
446 spin_lock_irqsave(&vhub->lock, flags);
467 spin_unlock_irqrestore(&vhub->lock, flags);
488 void ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep,
501 ep->vhub = vhub;
509 ep->ep0.setup = vhub->regs +
511 ep->buf = vhub->ep0_bufs +
513 ep->buf_dma = vhub->ep0_bufs_dma +
516 ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL;
517 ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0;
518 ep->buf = vhub->ep0_bufs;
519 ep->buf_dma = vhub->ep0_bufs_dma;