/external/u-boot/drivers/usb/host/ |
D | dwc2.c | 847 int xfer_len, int *actual_len, int odd_frame) in transfer_chunk() argument 853 *pid, xfer_len, num_packets); in transfer_chunk() 855 writel((xfer_len << DWC2_HCTSIZ_XFERSIZE_OFFSET) | in transfer_chunk() 860 if (xfer_len) { in transfer_chunk() 865 roundup(xfer_len, ARCH_DMA_MINALIGN)); in transfer_chunk() 867 memcpy(aligned_buffer, buffer, xfer_len); in transfer_chunk() 871 roundup(xfer_len, ARCH_DMA_MINALIGN)); in transfer_chunk() 893 xfer_len -= sub; in transfer_chunk() 897 roundup(xfer_len, ARCH_DMA_MINALIGN)); in transfer_chunk() 899 memcpy(buffer, aligned_buffer, xfer_len); in transfer_chunk() [all …]
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_cmds_extra.h | 133 void * resp, int xfer_len, int * offsetp, bool noisy, 145 void * resp, int xfer_len, int * offsetp, bool noisy, 307 unsigned int lba, void * data_out, int xfer_len, 319 uint64_t llba, void * data_out, int xfer_len,
|
/external/u-boot/drivers/dma/ |
D | ti-edma3.c | 487 int xfer_len; in __edma3_fill() local 493 xfer_len = len; in __edma3_fill() 494 if (xfer_len > max_xfer) in __edma3_fill() 495 xfer_len = max_xfer; in __edma3_fill() 498 edma_fill_buffer, xfer_len, in __edma3_fill() 500 len -= xfer_len; in __edma3_fill() 501 dst += xfer_len; in __edma3_fill()
|
/external/u-boot/drivers/spi/ |
D | ti_qspi.c | 186 u8 xfer_len = 0; in ti_qspi_xfer() local 205 xfer_len = QSPI_WLEN_MAX_BYTES; in ti_qspi_xfer() 208 xfer_len = 1; in ti_qspi_xfer() 222 txp += xfer_len; in ti_qspi_xfer() 239 xfer_len = 1; in ti_qspi_xfer() 243 words -= xfer_len; in ti_qspi_xfer()
|
D | stm32_spi.c | 300 static int stm32_spi_set_fthlv(struct udevice *dev, u32 xfer_len) in stm32_spi_set_fthlv() argument 309 fthlv = (half_fifo > xfer_len) ? xfer_len : half_fifo; in stm32_spi_set_fthlv()
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_extra.c | 1199 void * resp, int xfer_len, int * offsetp, bool noisy, in sg_ll_read_long10() argument 1216 sg_put_unaligned_be16((uint16_t)xfer_len, readLong_cdb + 7); in sg_ll_read_long10() 1228 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, xfer_len); in sg_ll_read_long10() 1230 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, xfer_len, sense_b, in sg_ll_read_long10() 1291 void * resp, int xfer_len, int * offsetp, bool noisy, in sg_ll_read_long16() argument 1309 sg_put_unaligned_be16((uint16_t)xfer_len, readLong_cdb + 12); in sg_ll_read_long16() 1321 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, xfer_len); in sg_ll_read_long16() 1323 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, xfer_len, sense_b, in sg_ll_read_long16() 1384 unsigned int lba, void * data_out, int xfer_len, in sg_ll_write_long10() argument 1403 sg_put_unaligned_be16((uint16_t)xfer_len, writeLong_cdb + 7); in sg_ll_write_long10() [all …]
|
D | sg_cmds_basic2.c | 676 int k, n, res, offset, calc_len, xfer_len; in sg_get_mode_page_controls() local 743 xfer_len = calc_len - offset; in sg_get_mode_page_controls() 744 if (xfer_len > mx_mpage_len) in sg_get_mode_page_controls() 745 xfer_len = mx_mpage_len; in sg_get_mode_page_controls() 777 if (xfer_len > 0) in sg_get_mode_page_controls() 778 memcpy(pcontrol_arr[k], buff + offset, xfer_len); in sg_get_mode_page_controls()
|
/external/u-boot/drivers/usb/musb-new/ |
D | musb_host.c | 1437 size_t xfer_len; in musb_host_rx() local 1451 xfer_len = 0; in musb_host_rx() 1529 xfer_len = dma->actual_len; in musb_host_rx() 1560 xfer_len = dma->actual_len; in musb_host_rx() 1565 xfer_len, dma ? ", dma" : ""); in musb_host_rx() 1574 xfer_len = dma->actual_len; in musb_host_rx() 1587 d->actual_length = xfer_len; in musb_host_rx() 1602 done = (urb->actual_length + xfer_len >= in musb_host_rx() 1768 urb->actual_length += xfer_len; in musb_host_rx() 1769 qh->offset += xfer_len; in musb_host_rx()
|