Lines Matching refs:tbi
228 int tbi, bdi; in bd_add_to_bdi() local
238 for (tbi = 0; tbi < bd_list->num_tabs; tbi++) { in bd_add_to_bdi()
239 bd_table = bd_list->bd_table_array[tbi]; in bd_add_to_bdi()
260 return (bdi + (tbi * bd_list->num_bds_table)); in bd_add_to_bdi()
266 int tbi; in bdi_to_tbi() local
268 tbi = bdi / ep->bd_list.num_bds_table; in bdi_to_tbi()
271 bdi, ep->bd_list.num_bds_table, tbi); in bdi_to_tbi()
273 return tbi; in bdi_to_tbi()
365 int tbi = bdi_to_tbi(ep, bdi); in bdi_to_bd() local
368 local_bdi = bdi - (tbi * ep->bd_list.num_bds_table); in bdi_to_bd()
373 return (ep->bd_list.bd_table_array[tbi]->start_bd + local_bdi); in bdi_to_bd()
744 int start_bdi, end_bdi, tbi, eqp_bdi, curr_hw_dqpi; in ep_dequeue() local
828 tbi = bdi_to_tbi(ep, req->bd_xfr.next_hwd_bdi); in ep_dequeue()
829 table = ep->bd_list.bd_table_array[tbi]; in ep_dequeue()
832 tbi * ep->bd_list.num_bds_table); in ep_dequeue()