Lines Matching refs:tt_index
112 struct mu3h_sch_tt *tt, **tt_index, **ptt;
124 tt_index = NULL;
126 tt_index = utt->hcpriv;
127 if (!tt_index) { /* Create the index array */
128 tt_index = kcalloc(utt->hub->maxchild,
129 sizeof(*tt_index), GFP_KERNEL);
130 if (!tt_index)
132 utt->hcpriv = tt_index;
136 ptt = &tt_index[port];
148 kfree(tt_index);
165 struct mu3h_sch_tt *tt, **tt_index, **ptt;
173 tt_index = utt->hcpriv;
174 ptt = &tt_index[udev->ttport - 1];
175 /* How many entries are left in tt_index? */
177 cnt += !!tt_index[i];
179 tt_index = NULL;
192 kfree(tt_index);