Lines Matching defs:dwc_tt
4015 struct dwc2_tt *dwc_tt = NULL;
4020 dwc_tt = urb->dev->tt->hcpriv;
4021 if (!dwc_tt) {
4029 sizeof(dwc_tt->periodic_bitmaps[0]);
4033 dwc_tt = kzalloc(sizeof(*dwc_tt) + bitmap_size,
4035 if (!dwc_tt)
4038 dwc_tt->usb_tt = urb->dev->tt;
4039 dwc_tt->usb_tt->hcpriv = dwc_tt;
4042 dwc_tt->refcount++;
4045 return dwc_tt;
4057 * @dwc_tt: The pointer returned by dwc2_host_get_tt_info.
4059 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt)
4062 if (!dwc_tt)
4065 WARN_ON(dwc_tt->refcount < 1);
4067 dwc_tt->refcount--;
4068 if (!dwc_tt->refcount) {
4069 dwc_tt->usb_tt->hcpriv = NULL;
4070 kfree(dwc_tt);