Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c1128 int num_trb; in cdns3_ep_run_transfer() local
1140 num_trb = priv_ep->interval * num_trb_req; in cdns3_ep_run_transfer()
1142 num_trb = num_trb_req; in cdns3_ep_run_transfer()
1162 if ((priv_ep->enqueue + num_trb) >= (priv_ep->num_trbs - 1)) { in cdns3_ep_run_transfer()
1208 if (num_trb > priv_ep->free_trbs) { in cdns3_ep_run_transfer()
1294 if (sg_iter == (num_trb - 1) && sg_iter != 0) in cdns3_ep_run_transfer()
1318 } while (sg_iter < num_trb); in cdns3_ep_run_transfer()
1323 priv_req->num_of_trb = num_trb; in cdns3_ep_run_transfer()
1357 if (num_trb > 1) { in cdns3_ep_run_transfer()
1360 while (i < num_trb) { in cdns3_ep_run_transfer()
[all …]