Home
last modified time | relevance | path

Searched refs:available1 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c291 int available1, available2; in bd_available_ep() local
296 available1 = available2 = chain_bd1 = chain_bd2 = 0; in bd_available_ep()
307 available1 = bd_list->max_bdi - bd_list->eqp_bdi; in bd_available_ep()
309 chain_bd1 = available1 / bd_list->num_bds_table; in bd_available_ep()
313 available_bd = available1 + available2 - chain_bd1 - chain_bd2; in bd_available_ep()
316 available1 = bd_list->hwd_bdi - bd_list->eqp_bdi; in bd_available_ep()
323 available_bd = available1 - 1; in bd_available_ep()
326 chain_bd1 = available1 / bd_list->num_bds_table; in bd_available_ep()
327 available_bd = available1 - chain_bd1; in bd_available_ep()