Lines Matching refs:vhub

59 	spin_unlock(&ep->vhub->lock);  in ast_vhub_reply()
64 spin_lock(&ep->vhub->lock); in ast_vhub_reply()
155 spin_unlock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup()
157 spin_lock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup()
273 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_handle_ack() local
274 struct device *dev = &vhub->pdev->dev; in ast_vhub_ep0_handle_ack()
351 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_queue() local
352 struct device *dev = &vhub->pdev->dev; in ast_vhub_ep0_queue()
390 spin_lock_irqsave(&vhub->lock, flags); in ast_vhub_ep0_queue()
395 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_queue()
416 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_queue()
424 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_dequeue() local
429 spin_lock_irqsave(&vhub->lock, flags); in ast_vhub_ep0_dequeue()
450 spin_unlock_irqrestore(&vhub->lock, flags); in ast_vhub_ep0_dequeue()
462 void ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep, in ast_vhub_init_ep0() argument
475 ep->vhub = vhub; in ast_vhub_init_ep0()
483 ep->ep0.setup = vhub->regs + in ast_vhub_init_ep0()
485 ep->buf = vhub->ep0_bufs + in ast_vhub_init_ep0()
487 ep->buf_dma = vhub->ep0_bufs_dma + in ast_vhub_init_ep0()
490 ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL; in ast_vhub_init_ep0()
491 ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0; in ast_vhub_init_ep0()
492 ep->buf = vhub->ep0_bufs; in ast_vhub_init_ep0()
493 ep->buf_dma = vhub->ep0_bufs_dma; in ast_vhub_init_ep0()