Lines Matching refs:take
1289 static int usb_dc_ep_read_ex_stp(uint32_t take, uint32_t wLength) in usb_dc_ep_read_ex_stp() argument
1323 if (take == 0) { in usb_dc_ep_read_ex_stp()
1346 uint32_t take; in usb_dc_ep_read_ex() local
1382 take = MIN(max_data_len, remaining); in usb_dc_ep_read_ex()
1383 if (take) { in usb_dc_ep_read_ex()
1387 take); in usb_dc_ep_read_ex()
1392 *read_bytes = take; in usb_dc_ep_read_ex()
1395 if (take == remaining || take == 0) { in usb_dc_ep_read_ex()
1401 rc = usb_dc_ep_read_ex_stp(take, in usb_dc_ep_read_ex()
1408 dev_data.ep_data[ep_idx].out_at += take; in usb_dc_ep_read_ex()
1412 ep, take, ep_bank % 2, wait ? "wait" : "NO wait"); in usb_dc_ep_read_ex()