Lines Matching refs:hs
787 struct dwc2_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_queue() local
791 dev_dbg(hs->dev, "%s: req %p: %d@%p, noi=%d, zero=%d, snok=%d\n", in s3c_hsotg_ep_queue()
800 ret = s3c_hsotg_handle_unaligned_buf_start(hs, hs_ep, hs_req); in s3c_hsotg_ep_queue()
805 if (using_dma(hs)) { in s3c_hsotg_ep_queue()
806 ret = s3c_hsotg_map_dma(hs, hs_ep, req); in s3c_hsotg_ep_queue()
815 s3c_hsotg_start_req(hs, hs_ep, hs_req, false); in s3c_hsotg_ep_queue()
824 struct dwc2_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_queue_lock() local
828 spin_lock_irqsave(&hs->lock, flags); in s3c_hsotg_ep_queue_lock()
830 spin_unlock_irqrestore(&hs->lock, flags); in s3c_hsotg_ep_queue_lock()
2821 struct dwc2_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_dequeue() local
2824 dev_dbg(hs->dev, "ep_dequeue(%p,%p)\n", ep, req); in s3c_hsotg_ep_dequeue()
2826 spin_lock_irqsave(&hs->lock, flags); in s3c_hsotg_ep_dequeue()
2829 spin_unlock_irqrestore(&hs->lock, flags); in s3c_hsotg_ep_dequeue()
2833 s3c_hsotg_complete_request(hs, hs_ep, hs_req, -ECONNRESET); in s3c_hsotg_ep_dequeue()
2834 spin_unlock_irqrestore(&hs->lock, flags); in s3c_hsotg_ep_dequeue()
2847 struct dwc2_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_sethalt() local
2853 dev_info(hs->dev, "%s(ep %p %s, %d)\n", __func__, ep, ep->name, value); in s3c_hsotg_ep_sethalt()
2857 s3c_hsotg_stall_ep0(hs); in s3c_hsotg_ep_sethalt()
2859 dev_warn(hs->dev, in s3c_hsotg_ep_sethalt()
2866 epctl = readl(hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2879 writel(epctl, hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2883 epctl = readl(hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2894 writel(epctl, hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2910 struct dwc2_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_sethalt_lock() local
2914 spin_lock_irqsave(&hs->lock, flags); in s3c_hsotg_ep_sethalt_lock()
2916 spin_unlock_irqrestore(&hs->lock, flags); in s3c_hsotg_ep_sethalt_lock()