Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_ep0.c522 (void)memcpy_s((void *)ioData->buf, req->xfrd, (void *)req->buf, req->xfrd); in generic_ep0_submit_sync()
523 ret = (int)req->xfrd; in generic_ep0_submit_sync()
565 ep0req->io_data.xfrd = req->xfrd; in generic_ep0_complete()
567 (void)memcpy_s((void *)ep0req->io_data.buf, req->xfrd, req->buf, req->xfrd); in generic_ep0_complete()
781 req_iter->io_data.xfrd = 0; in generic_ep0_cancel_pending_request()
1029 io_ret.actual = req->io_data.xfrd; in generic_ep0_handle_ioctl()
Dusbd_generic_epfile.c99 ret = req->xfrd; in generic_epfile_submit_sync()
147 cur_req->io_data.xfrd = req->xfrd; in generic_epfile_req_complete()
191 cur_req->io_data.xfrd = 0; in generic_epfile_submit_request()
239 req_iter->io_data.xfrd = 0; in generic_epfile_cancel_pending_request()
346 io_ret.actual = req->io_data.xfrd; in generic_epfile_handle_read()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusbd_generic_ep0.h77 uint32_t xfrd; member
Dusbd_generic_epfile.h52 uint32_t xfrd; member
/third_party/NuttX/drivers/usbdev/gadget/
Drndis.c1112 priv->rx_req->xfrd = priv->current_rx_received; in rndis_recvpacket()
1489 ret = rndis_recvpacket(priv, req->buf, (uint16_t)req->xfrd); in rndis_rdcomplete()
1582 usb_err("result:%d, xfrd:%u, len:%u\n", req->result, req->xfrd, req->len); in usbclass_ep0incomplete()
1602 if (req->result || req->xfrd != req->len) in usbclass_epintin_complete()
1604 usb_err("result:%d, xfrd:%u, len:%u\n", req->result, req->xfrd, req->len); in usbclass_epintin_complete()
Dcdcacm.c458 if (priv->read_offset < req->xfrd) in cdcacm_fill_rdrequest()
893 PRINT_ERR("%s req->xfrd:%x\r\n", __FUNCTION__, req->xfrd); in cdcacm_rdcomplete()
947 PRINT_ERR("%s req->xfrd:%x\r\n", __FUNCTION__, req->xfrd); in cdcacm_wrcomplete()
997 PRINT_ERR("%s req->xfrd:%x\r\n", __FUNCTION__, usbd_req->xfrd); in cdcacm_notify_complete()
Df_uvc.c1853 ret = run_cmd_func(req->buf, req->xfrd, fuvc->event_id, UVC_RC_SETCUR, fuvc->unit_id); in fuvc_control_unit_callback()
1884 ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_CAMERA); in fuvc_handle_camera_control()
1914 ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_PROCESSING); in fuvc_handle_process_control()
1951 ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_H264_EXTENSION); in fuvc_handle_ext_control()
1978 … ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_HICAMERA_EXTENSION); in fuvc_handle_xu_hicamera_control()
Dusbdev.h259 uint32_t xfrd; /* Call: zero; Return: Bytes transferred so far */ member
Df_ether.c228 uint32_t total_len = req->xfrd - RNDIS_PACKET_HDR_SIZE; in eth_rx()
Df_hid.c349 hid->read_len = req->xfrd; in fhid_output_request_complete()
350 ret = memcpy_s(hid->read_buf, HID_OUT_DATA_SIZE, req->buf, req->xfrd); in fhid_output_request_complete()
Df_mass_storage.c664 nwritesector = fmass->bulkreq.xfrd >> 9; /* bytes -> sectors */ in done_scsi_write()
742 if (fmass->bulkreq.xfrd != BULK_CBW_WRAP_LEN || in fmass_check_receive_cbw()
746 fmass->bulkreq.xfrd, cbw->dCBWSignature, cbw->dCBWSignature, BULK_CBW_SIGN); in fmass_check_receive_cbw()