Lines Matching refs:vhub
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
33 #include "vhub.h"
59 spin_unlock(&ep->vhub->lock);
64 spin_lock(&ep->vhub->lock);
157 spin_unlock(&ep->vhub->lock);
159 spin_lock(&ep->vhub->lock);
275 struct ast_vhub *vhub = ep->vhub;
276 struct device *dev = &vhub->pdev->dev;
363 struct ast_vhub *vhub = ep->vhub;
364 struct device *dev = &vhub->pdev->dev;
402 spin_lock_irqsave(&vhub->lock, flags);
411 spin_unlock_irqrestore(&vhub->lock, flags);
432 spin_unlock_irqrestore(&vhub->lock, flags);
440 struct ast_vhub *vhub = ep->vhub;
445 spin_lock_irqsave(&vhub->lock, flags);
466 spin_unlock_irqrestore(&vhub->lock, flags);
487 void ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep,
500 ep->vhub = vhub;
508 ep->ep0.setup = vhub->regs +
510 ep->buf = vhub->ep0_bufs +
512 ep->buf_dma = vhub->ep0_bufs_dma +
515 ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL;
516 ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0;
517 ep->buf = vhub->ep0_bufs;
518 ep->buf_dma = vhub->ep0_bufs_dma;