Lines Matching refs:end_bdi
273 int end_bdi; in find_end_bdi() local
275 end_bdi = next_hwd_bdi - 1; in find_end_bdi()
276 if (end_bdi < 0) in find_end_bdi()
277 end_bdi = ep->bd_list.max_bdi - 1; in find_end_bdi()
278 else if ((end_bdi % (ep->bd_list.num_bds_table-1)) == 0) in find_end_bdi()
279 end_bdi--; in find_end_bdi()
281 return end_bdi; in find_end_bdi()
735 int start_bdi, end_bdi, tbi, eqp_bdi, curr_hw_dqpi; in ep_dequeue() local
755 end_bdi = find_end_bdi(ep, req->bd_xfr.next_hwd_bdi); in ep_dequeue()
758 __func__, ep->name, start_bdi, end_bdi); in ep_dequeue()
797 } else if (end_bdi >= curr_hw_dqpi || end_bdi <= eqp_bdi) { in ep_dequeue()
804 } else if (end_bdi >= curr_hw_dqpi) { in ep_dequeue()
955 int short_bdi, start_bdi, end_bdi, max_len_bds, chain_bds; in handle_xsr_succ_status() local
1027 end_bdi = find_end_bdi(ep, bd_xfr->next_hwd_bdi); in handle_xsr_succ_status()
1028 if (!(end_bdi == short_bdi)) in handle_xsr_succ_status()