Searched refs:bytes_to_transfer (Results 1 - 6 of 6) sorted by relevance

/drivers/dma/
H A Dcoh901318_lli.c243 u32 bytes_to_transfer; local
278 bytes_to_transfer = sg_dma_len(sg);
280 while (bytes_to_transfer) {
283 if (bytes_to_transfer > MAX_DMA_PACKET_SIZE) {
287 elem_size = bytes_to_transfer;
302 bytes_to_transfer -= elem_size;
/drivers/media/common/b2c2/
H A Dflexcop-i2c.c115 u16 bytes_to_transfer; local
142 bytes_to_transfer = len > 4 ? 4 : len;
144 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1;
153 for (i = 0; i < bytes_to_transfer; i++)
160 buf += bytes_to_transfer;
161 addr += bytes_to_transfer;
162 len -= bytes_to_transfer;
/drivers/staging/octeon-usb/
H A Docteon-hcd.c1509 int bytes_to_transfer = transaction->buffer_length - local
1524 bytes_to_transfer = sizeof(*header);
1539 bytes_to_transfer = 0;
1552 bytes_to_transfer = 0;
1553 else if (bytes_to_transfer > pipe->max_packet)
1554 bytes_to_transfer = pipe->max_packet;
1565 bytes_to_transfer = 0;
1576 bytes_to_transfer = 0;
1585 bytes_to_transfer = 0;
1600 if (bytes_to_transfer > MAX_TRANSFER_BYTE
1738 int bytes_to_transfer = transaction->buffer_length - local
[all...]
/drivers/i2c/busses/
H A Di2c-axxia.c229 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd); local
231 while (bytes_to_transfer-- > 0) {
261 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); local
262 int ret = msg->len - idev->msg_xfrd - bytes_to_transfer;
264 while (bytes_to_transfer-- > 0)
/drivers/usb/wusbcore/
H A Dwa-xfer.c1015 * Allocate an SG list to store bytes_to_transfer bytes and copy the
1021 const unsigned int bytes_to_transfer, int *out_num_sgs)
1048 nents = DIV_ROUND_UP((bytes_to_transfer +
1065 while ((bytes_processed < bytes_to_transfer) &&
1069 (bytes_to_transfer - bytes_processed));
1019 wa_xfer_create_subset_sg(struct scatterlist *in_sg, const unsigned int bytes_transferred, const unsigned int bytes_to_transfer, int *out_num_sgs) argument
/drivers/scsi/lpfc/
H A Dlpfc_bsg.c215 unsigned int bytes_to_transfer, int to_buffers)
241 while (bytes_to_transfer && sg_valid &&
252 if (bytes_to_transfer < transfer_bytes)
253 transfer_bytes = bytes_to_transfer;
262 bytes_to_transfer -= transfer_bytes;
213 lpfc_bsg_copy_data(struct lpfc_dmabuf *dma_buffers, struct fc_bsg_buffer *bsg_buffers, unsigned int bytes_to_transfer, int to_buffers) argument

Completed in 198 milliseconds