Lines Matching refs:vhub
54 spin_unlock(&ep->vhub->lock); in ast_vhub_reply()
59 spin_lock(&ep->vhub->lock); in ast_vhub_reply()
152 spin_unlock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup()
154 spin_lock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup()
277 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_handle_ack() local
278 struct device *dev = &vhub->pdev->dev; in ast_vhub_ep0_handle_ack()
365 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_queue() local
366 struct device *dev = &vhub->pdev->dev; in ast_vhub_ep0_queue()
404 spin_lock_irqsave(&vhub->lock, flags); in ast_vhub_ep0_queue()
413 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_queue()
434 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_queue()
442 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_dequeue() local
447 spin_lock_irqsave(&vhub->lock, flags); in ast_vhub_ep0_dequeue()
468 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_dequeue()
489 void ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep, in ast_vhub_init_ep0() argument
502 ep->vhub = vhub; in ast_vhub_init_ep0()
510 ep->ep0.setup = vhub->regs + in ast_vhub_init_ep0()
512 ep->buf = vhub->ep0_bufs + in ast_vhub_init_ep0()
514 ep->buf_dma = vhub->ep0_bufs_dma + in ast_vhub_init_ep0()
517 ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL; in ast_vhub_init_ep0()
518 ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0; in ast_vhub_init_ep0()
519 ep->buf = vhub->ep0_bufs; in ast_vhub_init_ep0()
520 ep->buf_dma = vhub->ep0_bufs_dma; in ast_vhub_init_ep0()