Lines Matching full:transfer
23 /** endpoint associated to the transfer */
25 /** Transfer status */
27 /** Transfer read/write buffer */
29 /** Transfer buffer size */
33 /** Transfer callback */
35 /** Transfer caller private data */
37 /** Transfer synchronization semaphore */
39 /** Transfer read/write work */
41 /** Transfer flags */
48 /* Transfer management */
82 /* transfer cancelled or already completed */ in usb_transfer_work()
83 LOG_DBG("Transfer cancelled or completed, ep 0x%02x", ep); in usb_transfer_work()
95 * packet. Set USB_TRANS_NO_ZLP flag so the transfer in usb_transfer_work()
98 LOG_DBG("Transfer ZLP"); in usb_transfer_work()
104 LOG_ERR("Transfer error %d, ep 0x%02x", ret, ep); in usb_transfer_work()
105 /* transfer error */ in usb_transfer_work()
117 LOG_ERR("Transfer error %d, ep 0x%02x", ret, ep); in usb_transfer_work()
118 /* transfer error */ in usb_transfer_work()
129 /* transfer complete */ in usb_transfer_work()
139 if (trans->status != -EBUSY) { /* Transfer complete */ in usb_transfer_work()
150 LOG_DBG("Transfer done, ep 0x%02x, status %d, size %zu", in usb_transfer_work()
156 /* Transfer completion callback */ in usb_transfer_work()
175 * transfer is ongoing, we have to consume the data in usb_transfer_ep_callback()
186 LOG_ERR("RX data lost, no transfer"); in usb_transfer_ep_callback()
206 /* Parallel transfer to same endpoint is not supported. */ in usb_transfer()
211 LOG_DBG("Transfer start, ep 0x%02x, data %p, dlen %zd", in usb_transfer()
224 LOG_ERR("No transfer slot available"); in usb_transfer()
230 /* A transfer is already ongoing and not completed */ in usb_transfer()
231 LOG_ERR("A transfer is already ongoing, ep 0x%02x", ep); in usb_transfer()
237 /* Configure new transfer */ in usb_transfer()
299 LOG_DBG("Cancel transfer for ep: 0x%02x", trans->ep); in usb_cancel_transfers()
326 /* Semaphore will be released by the transfer completion callback */ in usb_transfer_sync()
332 /* Init transfer slots */