Lines Matching refs:tt
158 struct usb_tt *utt = udev->tt;
159 struct mu3h_sch_tt *tt, **tt_index, **ptt;
186 tt = *ptt;
187 if (!tt) { /* Create the mu3h_sch_tt */
188 tt = kzalloc(sizeof(*tt), GFP_KERNEL);
189 if (!tt) {
196 INIT_LIST_HEAD(&tt->ep_list);
197 *ptt = tt;
200 return tt;
206 struct usb_tt *utt = udev->tt;
207 struct mu3h_sch_tt *tt, **tt_index, **ptt;
225 tt = *ptt;
226 if (!tt || !list_empty(&tt->ep_list))
230 kfree(tt);
244 struct mu3h_sch_tt *tt = NULL;
255 tt = find_tt(udev);
256 if (IS_ERR(tt)) {
263 sch_ep->sch_tt = tt;
403 struct mu3h_sch_tt *tt = sch_ep->sch_tt;
417 tmp = tt->fs_bus_bw[k] + sch_ep->bw_cost_per_microframe;
483 struct mu3h_sch_tt *tt = sch_ep->sch_tt;
494 tt->fs_bus_bw[XHCI_MTK_BW_INDEX(base + j)] += bw_updated;
498 list_add_tail(&sch_ep->tt_endpoint, &tt->ep_list);
578 bool has_tt = udev->tt && udev->tt->hub->parent;