Lines Matching refs:tt_index
104 struct ehci_tt *tt, **tt_index, **ptt;
116 tt_index = NULL;
118 tt_index = utt->hcpriv;
119 if (!tt_index) { /* Create the index array */
120 tt_index = kcalloc(utt->hub->maxchild,
121 sizeof(*tt_index),
123 if (!tt_index)
125 utt->hcpriv = tt_index;
129 ptt = &tt_index[port];
144 kfree(tt_index);
162 struct ehci_tt *tt, **tt_index, **ptt;
170 tt_index = utt->hcpriv;
171 ptt = &tt_index[udev->ttport - 1];
173 /* How many entries are left in tt_index? */
175 cnt += !!tt_index[i];
177 tt_index = NULL;
190 kfree(tt_index);