Lines Matching defs:dwc_tt
3997 struct dwc2_tt *dwc_tt = NULL;
4002 dwc_tt = urb->dev->tt->hcpriv;
4003 if (!dwc_tt) {
4011 sizeof(dwc_tt->periodic_bitmaps[0]);
4015 dwc_tt = kzalloc(sizeof(*dwc_tt) + bitmap_size,
4017 if (!dwc_tt)
4020 dwc_tt->usb_tt = urb->dev->tt;
4021 dwc_tt->usb_tt->hcpriv = dwc_tt;
4024 dwc_tt->refcount++;
4027 return dwc_tt;
4039 * @dwc_tt: The pointer returned by dwc2_host_get_tt_info.
4041 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt)
4044 if (!dwc_tt)
4047 WARN_ON(dwc_tt->refcount < 1);
4049 dwc_tt->refcount--;
4050 if (!dwc_tt->refcount) {
4051 dwc_tt->usb_tt->hcpriv = NULL;
4052 kfree(dwc_tt);