Lines Matching refs:hs
781 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_queue() local
785 dev_dbg(hs->dev, "%s: req %p: %d@%p, noi=%d, zero=%d, snok=%d\n", in dwc2_hsotg_ep_queue()
790 if (hs->lx_state == DWC2_L2) { in dwc2_hsotg_ep_queue()
791 dev_dbg(hs->dev, "%s: don't submit request while suspended\n", in dwc2_hsotg_ep_queue()
801 ret = dwc2_hsotg_handle_unaligned_buf_start(hs, hs_ep, hs_req); in dwc2_hsotg_ep_queue()
806 if (using_dma(hs)) { in dwc2_hsotg_ep_queue()
807 ret = dwc2_hsotg_map_dma(hs, hs_ep, req); in dwc2_hsotg_ep_queue()
816 dwc2_hsotg_start_req(hs, hs_ep, hs_req, false); in dwc2_hsotg_ep_queue()
825 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_queue_lock() local
829 spin_lock_irqsave(&hs->lock, flags); in dwc2_hsotg_ep_queue_lock()
831 spin_unlock_irqrestore(&hs->lock, flags); in dwc2_hsotg_ep_queue_lock()
2960 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_dequeue() local
2963 dev_dbg(hs->dev, "ep_dequeue(%p,%p)\n", ep, req); in dwc2_hsotg_ep_dequeue()
2965 spin_lock_irqsave(&hs->lock, flags); in dwc2_hsotg_ep_dequeue()
2968 spin_unlock_irqrestore(&hs->lock, flags); in dwc2_hsotg_ep_dequeue()
2974 dwc2_hsotg_ep_stop_xfr(hs, hs_ep); in dwc2_hsotg_ep_dequeue()
2976 dwc2_hsotg_complete_request(hs, hs_ep, hs_req, -ECONNRESET); in dwc2_hsotg_ep_dequeue()
2977 spin_unlock_irqrestore(&hs->lock, flags); in dwc2_hsotg_ep_dequeue()
2990 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_sethalt() local
2996 dev_info(hs->dev, "%s(ep %p %s, %d)\n", __func__, ep, ep->name, value); in dwc2_hsotg_ep_sethalt()
3000 dwc2_hsotg_stall_ep0(hs); in dwc2_hsotg_ep_sethalt()
3002 dev_warn(hs->dev, in dwc2_hsotg_ep_sethalt()
3009 epctl = dwc2_readl(hs->regs + epreg); in dwc2_hsotg_ep_sethalt()
3022 dwc2_writel(epctl, hs->regs + epreg); in dwc2_hsotg_ep_sethalt()
3026 epctl = dwc2_readl(hs->regs + epreg); in dwc2_hsotg_ep_sethalt()
3037 dwc2_writel(epctl, hs->regs + epreg); in dwc2_hsotg_ep_sethalt()
3053 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_sethalt_lock() local
3057 spin_lock_irqsave(&hs->lock, flags); in dwc2_hsotg_ep_sethalt_lock()
3059 spin_unlock_irqrestore(&hs->lock, flags); in dwc2_hsotg_ep_sethalt_lock()