Lines Matching refs:urb
281 static void ctrl_xfer_callback(usb_device_handle_t dev_hdl, urb_t *urb, void *arg) in ctrl_xfer_callback() argument
283 assert(urb->usb_host_client != NULL); in ctrl_xfer_callback()
285 client_t *client_obj = (client_t *)urb->usb_host_client; in ctrl_xfer_callback()
288 TAILQ_INSERT_TAIL(&client_obj->dynamic.done_ctrl_xfer_tailq, urb, tailq_entry); in ctrl_xfer_callback()
591 urb_t *urb = hcd_urb_dequeue(ep_obj->constant.pipe_hdl); in _handle_pending_ep() local
592 while (urb != NULL) { in _handle_pending_ep()
593 urb->transfer.callback(&urb->transfer); in _handle_pending_ep()
595 urb = hcd_urb_dequeue(ep_obj->constant.pipe_hdl); in _handle_pending_ep()
746 urb_t *urb = TAILQ_FIRST(&client_obj->dynamic.done_ctrl_xfer_tailq); in usb_host_client_handle_events() local
747 TAILQ_REMOVE(&client_obj->dynamic.done_ctrl_xfer_tailq, urb, tailq_entry); in usb_host_client_handle_events()
751 urb->transfer.callback(&urb->transfer); in usb_host_client_handle_events()
1264 urb_t *urb = urb_alloc(data_buffer_size, 0, num_isoc_packets); in usb_host_transfer_alloc() local
1265 if (urb == NULL) { in usb_host_transfer_alloc()
1268 *transfer = &urb->transfer; in usb_host_transfer_alloc()
1277 urb_t *urb = __containerof(transfer, urb_t, transfer); in usb_host_transfer_free() local
1278 urb_free(urb); in usb_host_transfer_free()