Lines Matching refs:tt
159 struct usb_tt *utt = udev->tt; in find_tt()
160 struct mu3h_sch_tt *tt, **tt_index, **ptt; in find_tt() local
187 tt = *ptt; in find_tt()
188 if (!tt) { /* Create the mu3h_sch_tt */ in find_tt()
189 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in find_tt()
190 if (!tt) { in find_tt()
197 INIT_LIST_HEAD(&tt->ep_list); in find_tt()
198 *ptt = tt; in find_tt()
201 return tt; in find_tt()
207 struct usb_tt *utt = udev->tt; in drop_tt()
208 struct mu3h_sch_tt *tt, **tt_index, **ptt; in drop_tt() local
226 tt = *ptt; in drop_tt()
227 if (!tt || !list_empty(&tt->ep_list)) in drop_tt()
231 kfree(tt); in drop_tt()
243 struct mu3h_sch_tt *tt = NULL; in create_sch_ep() local
262 tt = find_tt(udev); in create_sch_ep()
263 if (IS_ERR(tt)) { in create_sch_ep()
269 sch_ep->sch_tt = tt; in create_sch_ep()
448 struct mu3h_sch_tt *tt = sch_ep->sch_tt; in check_fs_bus_bw() local
463 tmp = tt->fs_bus_bw[base + j] + sch_ep->bw_cost_per_microframe; in check_fs_bus_bw()
533 struct mu3h_sch_tt *tt = sch_ep->sch_tt; in update_sch_tt() local
554 tt->fs_bus_bw[base + j] += bw_updated; in update_sch_tt()
558 list_add_tail(&sch_ep->tt_endpoint, &tt->ep_list); in update_sch_tt()