Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/cdns3/
Dcdns3-gadget.c1120 int num_trb; in cdns3_ep_run_transfer() local
1129 num_trb = priv_ep->interval; in cdns3_ep_run_transfer()
1131 num_trb = sg_supported ? request->num_mapped_sgs : 1; in cdns3_ep_run_transfer()
1133 if (num_trb > priv_ep->free_trbs) { in cdns3_ep_run_transfer()
1156 if ((priv_ep->enqueue + num_trb) >= (priv_ep->num_trbs - 1)) { in cdns3_ep_run_transfer()
1239 if (sg_iter == (num_trb - 1) && sg_iter != 0) in cdns3_ep_run_transfer()
1251 if (sg_iter < num_trb - 1) in cdns3_ep_run_transfer()
1263 } while (sg_iter < num_trb); in cdns3_ep_run_transfer()
1268 priv_req->num_of_trb = num_trb; in cdns3_ep_run_transfer()
1302 if (num_trb > 1) { in cdns3_ep_run_transfer()
[all …]