Lines Matching refs:eqp_bdi
181 ep->bd_list.eqp_bdi = 0; in ep_bd_list_alloc()
298 if (bd_list->eqp_bdi == bd_list->hwd_bdi) in bd_available_ep()
305 if (bd_list->hwd_bdi < bd_list->eqp_bdi) { in bd_available_ep()
307 available1 = bd_list->max_bdi - bd_list->eqp_bdi; in bd_available_ep()
316 available1 = bd_list->hwd_bdi - bd_list->eqp_bdi; in bd_available_ep()
318 if ((bd_list->hwd_bdi - bd_list->eqp_bdi) in bd_available_ep()
322 == bdi_to_tbi(ep, bd_list->eqp_bdi))) { in bd_available_ep()
373 ep->bd_list.eqp_bdi++; in ep_bdlist_eqp_adv()
375 if (((ep->bd_list.eqp_bdi + 1) % ep->bd_list.num_bds_table) == 0) in ep_bdlist_eqp_adv()
376 ep->bd_list.eqp_bdi++; in ep_bdlist_eqp_adv()
379 if (ep->bd_list.eqp_bdi == (ep->bd_list.max_bdi + 1)) in ep_bdlist_eqp_adv()
380 ep->bd_list.eqp_bdi = 0; in ep_bdlist_eqp_adv()
440 bd_xfr->start_bdi = bd_list->eqp_bdi; in setup_bd_list_xfr()
441 bd = bdi_to_bd(ep, bd_list->eqp_bdi); in setup_bd_list_xfr()
476 bd = bdi_to_bd(ep, ep->bd_list.eqp_bdi); in setup_bd_list_xfr()
492 ep->bd_list.eqp_bdi); in setup_bd_list_xfr()
493 bd = bdi_to_bd(ep, ep->bd_list.eqp_bdi); in setup_bd_list_xfr()
501 bd_xfr->next_hwd_bdi = ep->bd_list.eqp_bdi; in setup_bd_list_xfr()
518 ep->bd_list.eqp_bdi, ep->bd_list.hwd_bdi); in bdc_queue_xfr()
735 int start_bdi, end_bdi, tbi, eqp_bdi, curr_hw_dqpi; in ep_dequeue() local
749 eqp_bdi = ep->bd_list.eqp_bdi - 1; in ep_dequeue()
751 if (eqp_bdi < 0) in ep_dequeue()
752 eqp_bdi = ep->bd_list.max_bdi; in ep_dequeue()
792 if (curr_hw_dqpi > eqp_bdi) { in ep_dequeue()
794 if (start_bdi >= curr_hw_dqpi || start_bdi <= eqp_bdi) { in ep_dequeue()
797 } else if (end_bdi >= curr_hw_dqpi || end_bdi <= eqp_bdi) { in ep_dequeue()