Searched refs:eqp_bdi (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_dbg.c | 104 "tabs:%d max_bdi:%d eqp_bdi:%d hwd_bdi:%d num_bds_table:%d\n", bdc_dbg_bd_list() 105 bd_list->num_tabs, bd_list->max_bdi, bd_list->eqp_bdi, bdc_dbg_bd_list()
|
H A D | bdc_ep.c | 187 ep->bd_list.eqp_bdi = 0; ep_bd_list_alloc() 259 /* return the global bdi, to compare with ep eqp_bdi */ bd_add_to_bdi() 304 if (bd_list->eqp_bdi == bd_list->hwd_bdi) bd_available_ep() 311 if (bd_list->hwd_bdi < bd_list->eqp_bdi) { bd_available_ep() 313 available1 = bd_list->max_bdi - bd_list->eqp_bdi; bd_available_ep() 322 available1 = bd_list->hwd_bdi - bd_list->eqp_bdi; bd_available_ep() 324 if ((bd_list->hwd_bdi - bd_list->eqp_bdi) bd_available_ep() 328 == bdi_to_tbi(ep, bd_list->eqp_bdi))) { bd_available_ep() 379 ep->bd_list.eqp_bdi++; ep_bdlist_eqp_adv() 381 if (((ep->bd_list.eqp_bdi + 1) % ep->bd_list.num_bds_table) == 0) ep_bdlist_eqp_adv() 382 ep->bd_list.eqp_bdi++; ep_bdlist_eqp_adv() 385 if (ep->bd_list.eqp_bdi == (ep->bd_list.max_bdi + 1)) ep_bdlist_eqp_adv() 386 ep->bd_list.eqp_bdi = 0; ep_bdlist_eqp_adv() 446 bd_xfr->start_bdi = bd_list->eqp_bdi; setup_bd_list_xfr() 447 bd = bdi_to_bd(ep, bd_list->eqp_bdi); setup_bd_list_xfr() 482 bd = bdi_to_bd(ep, ep->bd_list.eqp_bdi); setup_bd_list_xfr() 498 ep->bd_list.eqp_bdi); setup_bd_list_xfr() 499 bd = bdi_to_bd(ep, ep->bd_list.eqp_bdi); setup_bd_list_xfr() 507 bd_xfr->next_hwd_bdi = ep->bd_list.eqp_bdi; setup_bd_list_xfr() 523 dev_dbg(bdc->dev, "eqp_bdi:%d hwd_bdi:%d\n", bdc_queue_xfr() 524 ep->bd_list.eqp_bdi, ep->bd_list.hwd_bdi); bdc_queue_xfr() 744 int start_bdi, end_bdi, tbi, eqp_bdi, curr_hw_dqpi; ep_dequeue() local 758 eqp_bdi = ep->bd_list.eqp_bdi - 1; ep_dequeue() 760 if (eqp_bdi < 0) ep_dequeue() 761 eqp_bdi = ep->bd_list.max_bdi; ep_dequeue() 794 * curr_hw_dqbdi..eqp_bdi. ep_dequeue() 798 if (curr_hw_dqpi > eqp_bdi) { ep_dequeue() 800 if (start_bdi >= curr_hw_dqpi || start_bdi <= eqp_bdi) { ep_dequeue() 803 } else if (end_bdi >= curr_hw_dqpi || end_bdi <= eqp_bdi) { ep_dequeue()
|
H A D | bdc_cmd.c | 133 ep->bd_list.eqp_bdi = 0; ep_bd_list_reinit()
|
H A D | bdc.h | 314 int eqp_bdi; member in struct:bd_list
|
Completed in 108 milliseconds