Home
last modified time | relevance | path

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

/u-boot/examples/api/
A Dglue.c278 lbasize_t act_len; in ub_dev_read() local
285 if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len)) in ub_dev_read()
289 *rlen = act_len; in ub_dev_read()
308 int err = 0, act_len; in ub_dev_recv() local
314 if (!syscall(API_DEV_READ, &err, di, buf, &len, &act_len)) in ub_dev_recv()
318 *rlen = act_len; in ub_dev_recv()
/u-boot/drivers/usb/host/
A Dusb-sandbox.c67 udev->act_len = 0; in sandbox_submit_control()
70 udev->act_len = ret; in sandbox_submit_control()
92 udev->act_len = 0; in sandbox_submit_bulk()
95 udev->act_len = ret; in sandbox_submit_bulk()
A Dr8a66597-hcd.c338 buf = (u16 *)(buffer + dev->act_len); in send_bulk_packet()
349 dev->act_len += size; in send_bulk_packet()
359 if (dev->act_len >= transfer_len) in send_bulk_packet()
380 if (dev->act_len == 0) { in receive_bulk_packet()
409 buf = (u16 *)(buffer + dev->act_len); in receive_bulk_packet()
411 dev->act_len += rcv_len; in receive_bulk_packet()
454 dev->act_len += rcv_len; in receive_control_packet()
727 dev->act_len = len; in r8a66597_submit_rh_msg()
758 dev->act_len = 0; in r8a66597_submit_control_msg()
789 dev->act_len = 0; in r8a66597_submit_bulk_msg()
[all …]
A Ddwc2.c596 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_status()
679 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_descriptor()
703 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_configuration()
794 dev->act_len = len; in dwc_otg_submit_rh_msg_out()
1039 dev->act_len = done; in chunk_msg()
1070 int ret, act_len; in _submit_control_msg() local
1091 act_len = 0; in _submit_control_msg()
1097 act_len += dev->act_len; in _submit_control_msg()
1098 buffer += dev->act_len; in _submit_control_msg()
1099 len -= dev->act_len; in _submit_control_msg()
[all …]
A Dsl811-hcd.c318 dev->act_len = done; in submit_bulk_msg()
382 dev->act_len = done; in submit_control_msg()
711 usb_dev->act_len = len; in sl811_rh_submit_urb()
A Dxhci-ring.c527 udev->act_len = min(length, length - in record_transfer_result()
532 BUG_ON(udev->act_len != length); in record_transfer_result()
725 udev->act_len = 0; in xhci_bulk_tx()
956 udev->act_len = 0; in xhci_ctrl_tx()
A Dehci-hcd.c682 dev->act_len = length - QT_TOKEN_GET_TOTALBYTES(qhtoken); in ehci_submit_async()
684 dev->act_len = 0; in ehci_submit_async()
971 dev->act_len = len; in ehci_submit_root()
980 dev->act_len = 0; in ehci_submit_root()
A Dohci-hcd.c1456 dev->act_len = len; in ohci_submit_rh_msg()
1598 dev->act_len = urb->actual_length; in submit_common_msg()
1600 if (usb_pipein(pipe) && dev->status == 0 && dev->act_len) in submit_common_msg()
1601 invalidate_dcache_buffer(buffer, dev->act_len); in submit_common_msg()
A Dxhci.c1130 udev->act_len = len; in xhci_submit_root()
1136 udev->act_len = 0; in xhci_submit_root()
/u-boot/drivers/usb/musb/
A Dmusb_hcd.c259 dev->act_len = 0; in ctrlreq_setup_phase()
300 dev->act_len += rxedlength; in ctrlreq_in_data_phase()
304 dev->act_len = rxlen; in ctrlreq_in_data_phase()
339 dev->act_len = txlen; in ctrlreq_out_data_phase()
726 dev->act_len = len; in musb_submit_rh_msg()
833 dev->act_len = len; in submit_control_msg()
924 dev->act_len = txlen; in submit_bulk_msg()
961 dev->act_len = txlen; in submit_bulk_msg()
984 dev->act_len = len; in submit_bulk_msg()
1134 dev->act_len = txlen; in submit_int_msg()
[all …]
/u-boot/drivers/usb/emul/
A Dsandbox_hub.c221 udev->act_len = sizeof(*hubsts); in sandbox_hub_submit_control_msg()
240 udev->act_len = sizeof(*portsts); in sandbox_hub_submit_control_msg()
/u-boot/common/
A Dusb.c267 return dev->act_len; in usb_control_msg()
289 *actual_length = dev->act_len; in usb_bulk_msg()
1130 "len %d, status %lX\n", dev->act_len, dev->status); in usb_select_config()
A Dusb_storage.c639 us->pusb_dev->act_len); in usb_stor_CB_comdat()
/u-boot/drivers/usb/musb-new/
A Dmusb_uboot.c33 urb->dev->act_len = urb->actual_length; in musb_host_complete_urb()
/u-boot/include/
A Dusb.h140 int act_len; /* transferred bytes */ member

Completed in 33 milliseconds