Home
last modified time | relevance | path

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

/external/u-boot/examples/api/
Dglue.c276 lbasize_t act_len; in ub_dev_read() local
283 if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len)) in ub_dev_read()
287 *rlen = act_len; in ub_dev_read()
306 int err = 0, act_len; in ub_dev_recv() local
312 if (!syscall(API_DEV_READ, &err, di, buf, &len, &act_len)) in ub_dev_recv()
316 *rlen = act_len; in ub_dev_recv()
/external/u-boot/drivers/usb/host/
Dr8a66597-hcd.c362 buf = (u16 *)(buffer + dev->act_len); in send_bulk_packet()
363 size = min((int)bufsize, transfer_len - dev->act_len); in send_bulk_packet()
373 dev->act_len += size; in send_bulk_packet()
383 if (dev->act_len >= transfer_len) in send_bulk_packet()
404 if (dev->act_len == 0) { in receive_bulk_packet()
433 buf = (u16 *)(buffer + dev->act_len); in receive_bulk_packet()
435 dev->act_len += rcv_len; in receive_bulk_packet()
478 dev->act_len += rcv_len; in receive_control_packet()
751 dev->act_len = len; in r8a66597_submit_rh_msg()
771 dev->act_len = 0; in submit_bulk_msg()
[all …]
Dusb-sandbox.c66 udev->act_len = 0; in sandbox_submit_control()
69 udev->act_len = ret; in sandbox_submit_control()
91 udev->act_len = 0; in sandbox_submit_bulk()
94 udev->act_len = ret; in sandbox_submit_bulk()
Ddwc2.c580 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_status()
663 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_descriptor()
687 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_configuration()
778 dev->act_len = len; in dwc_otg_submit_rh_msg_out()
1023 dev->act_len = done; in chunk_msg()
1054 int ret, act_len; in _submit_control_msg() local
1075 act_len = 0; in _submit_control_msg()
1081 act_len += dev->act_len; in _submit_control_msg()
1082 buffer += dev->act_len; in _submit_control_msg()
1083 len -= dev->act_len; in _submit_control_msg()
[all …]
Dxhci-ring.c519 udev->act_len = min(length, length - in record_transfer_result()
524 BUG_ON(udev->act_len != length); in record_transfer_result()
719 udev->act_len = 0; in xhci_bulk_tx()
943 udev->act_len = 0; in xhci_ctrl_tx()
Dsl811-hcd.c317 dev->act_len = done; in submit_bulk_msg()
381 dev->act_len = done; in submit_control_msg()
710 usb_dev->act_len = len; in sl811_rh_submit_urb()
Dehci-hcd.c642 dev->act_len = length - QT_TOKEN_GET_TOTALBYTES(token); in ehci_submit_async()
644 dev->act_len = 0; in ehci_submit_async()
927 dev->act_len = len; in ehci_submit_root()
936 dev->act_len = 0; in ehci_submit_root()
Dohci-hcd.c1450 dev->act_len = len; in ohci_submit_rh_msg()
1594 dev->act_len = urb->actual_length; in submit_common_msg()
1596 if (usb_pipein(pipe) && dev->status == 0 && dev->act_len) in submit_common_msg()
1597 invalidate_dcache_buffer(buffer, dev->act_len); in submit_common_msg()
Dxhci.c1089 udev->act_len = len; in xhci_submit_root()
1095 udev->act_len = 0; in xhci_submit_root()
/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c257 dev->act_len = 0; in ctrlreq_setup_phase()
298 dev->act_len += rxedlength; in ctrlreq_in_data_phase()
302 dev->act_len = rxlen; in ctrlreq_in_data_phase()
339 dev->act_len = txlen; in ctrlreq_out_data_phase()
730 dev->act_len = len; in musb_submit_rh_msg()
732 debug("dev act_len %d, status %lu\n", dev->act_len, dev->status); in musb_submit_rh_msg()
837 dev->act_len = len; in submit_control_msg()
928 dev->act_len = txlen; in submit_bulk_msg()
965 dev->act_len = txlen; in submit_bulk_msg()
988 dev->act_len = len; in submit_bulk_msg()
[all …]
/external/u-boot/drivers/usb/emul/
Dsandbox_hub.c220 udev->act_len = sizeof(*hubsts); in sandbox_hub_submit_control_msg()
239 udev->act_len = sizeof(*portsts); in sandbox_hub_submit_control_msg()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_unittest.cc125 int act_len = WebRtcOpus_Decode(decoder, bitstream_, in EncodeDecode() local
128 EXPECT_EQ(est_len, act_len); in EncodeDecode()
129 return act_len; in EncodeDecode()
/external/u-boot/common/
Dusb.c255 return dev->act_len; in usb_control_msg()
277 *actual_length = dev->act_len; in usb_bulk_msg()
1118 "len %d, status %lX\n", dev->act_len, dev->status); in usb_select_config()
Dusb_storage.c638 us->pusb_dev->act_len); in usb_stor_CB_comdat()
/external/u-boot/drivers/usb/musb-new/
Dmusb_uboot.c29 urb->dev->act_len = urb->actual_length; in musb_host_complete_urb()
/external/u-boot/include/
Dusb.h140 int act_len; /* transferred bytes */ member
/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_usb_ohci.c1082 dev->act_len = len; in ohci_submit_rh_msg()
1184 dev->act_len = transfer_len; in submit_common_msg()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c2725 int sg_fd, k, j, num, len, act_len; in do_scsi_inquiry() local
2795 act_len = len; in do_scsi_inquiry()
2798 act_len = len; in do_scsi_inquiry()
2841 if (act_len == len) in do_scsi_inquiry()