Searched refs:tt_index (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/usb/host/
H A Dehci-sched.c117 struct ehci_tt *tt, **tt_index, **ptt; find_tt() local
129 tt_index = NULL; find_tt()
131 tt_index = utt->hcpriv; find_tt()
132 if (!tt_index) { /* Create the index array */ find_tt()
133 tt_index = kzalloc(utt->hub->maxchild * find_tt()
134 sizeof(*tt_index), GFP_ATOMIC); find_tt()
135 if (!tt_index) find_tt()
137 utt->hcpriv = tt_index; find_tt()
141 ptt = &tt_index[port]; find_tt()
156 kfree(tt_index); find_tt()
174 struct ehci_tt *tt, **tt_index, **ptt; drop_tt() local
182 tt_index = utt->hcpriv; drop_tt()
183 ptt = &tt_index[udev->ttport - 1]; drop_tt()
185 /* How many entries are left in tt_index? */ drop_tt()
187 cnt += !!tt_index[i]; drop_tt()
189 tt_index = NULL; drop_tt()
202 kfree(tt_index); drop_tt()

Completed in 104 milliseconds