Lines Matching refs:num_tabs
57 static void ep_bd_list_free(struct bdc_ep *ep, u32 num_tabs) in ep_bd_list_free() argument
65 __func__, ep->name, num_tabs); in ep_bd_list_free()
71 for (index = 0; index < num_tabs; index++) { in ep_bd_list_free()
129 int index, num_tabs, bd_p_tab; in ep_bd_list_alloc() local
135 num_tabs = NUM_TABLES_ISOCH; in ep_bd_list_alloc()
137 num_tabs = NUM_TABLES; in ep_bd_list_alloc()
143 __func__, ep, num_tabs); in ep_bd_list_alloc()
147 num_tabs * sizeof(struct bd_table *), in ep_bd_list_alloc()
153 for (index = 0; index < num_tabs; index++) { in ep_bd_list_alloc()
183 ep->bd_list.num_tabs = num_tabs; in ep_bd_list_alloc()
184 ep->bd_list.max_bdi = (num_tabs * bd_p_tab) - 1; in ep_bd_list_alloc()
185 ep->bd_list.num_tabs = num_tabs; in ep_bd_list_alloc()
193 ep_bd_list_free(ep, num_tabs); in ep_bd_list_alloc()
238 for (tbi = 0; tbi < bd_list->num_tabs; tbi++) { in bd_add_to_bdi()
305 return bd_list->max_bdi - bd_list->num_tabs; in bd_available_ep()
598 ep_bd_list_free(ep, ep->bd_list.num_tabs); in bdc_ep_disable()
919 ep_bd_list_free(ep, ep->bd_list.num_tabs); in bdc_free_ep()