Searched refs:bytes_to_transfer (Results 1 – 6 of 6) sorted by relevance
115 u16 bytes_to_transfer; in flexcop_i2c_request() local142 bytes_to_transfer = len > 4 ? 4 : len; in flexcop_i2c_request()144 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1; in flexcop_i2c_request()153 for (i = 0; i < bytes_to_transfer; i++) in flexcop_i2c_request()160 buf += bytes_to_transfer; in flexcop_i2c_request()161 addr += bytes_to_transfer; in flexcop_i2c_request()162 len -= bytes_to_transfer; in flexcop_i2c_request()
243 u32 bytes_to_transfer; in coh901318_lli_fill_sg() local278 bytes_to_transfer = sg_dma_len(sg); in coh901318_lli_fill_sg()280 while (bytes_to_transfer) { in coh901318_lli_fill_sg()283 if (bytes_to_transfer > MAX_DMA_PACKET_SIZE) { in coh901318_lli_fill_sg()287 elem_size = bytes_to_transfer; in coh901318_lli_fill_sg()302 bytes_to_transfer -= elem_size; in coh901318_lli_fill_sg()
1509 int bytes_to_transfer = transaction->buffer_length - in __cvmx_usb_start_channel_control() local1524 bytes_to_transfer = sizeof(*header); in __cvmx_usb_start_channel_control()1539 bytes_to_transfer = 0; in __cvmx_usb_start_channel_control()1552 bytes_to_transfer = 0; in __cvmx_usb_start_channel_control()1553 else if (bytes_to_transfer > pipe->max_packet) in __cvmx_usb_start_channel_control()1554 bytes_to_transfer = pipe->max_packet; in __cvmx_usb_start_channel_control()1565 bytes_to_transfer = 0; in __cvmx_usb_start_channel_control()1576 bytes_to_transfer = 0; in __cvmx_usb_start_channel_control()1585 bytes_to_transfer = 0; in __cvmx_usb_start_channel_control()1600 if (bytes_to_transfer > MAX_TRANSFER_BYTES) { in __cvmx_usb_start_channel_control()[all …]
229 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_empty_rx_fifo() local231 while (bytes_to_transfer-- > 0) { in axxia_i2c_empty_rx_fifo()261 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo() local262 int ret = msg->len - idev->msg_xfrd - bytes_to_transfer; in axxia_i2c_fill_tx_fifo()264 while (bytes_to_transfer-- > 0) in axxia_i2c_fill_tx_fifo()
1021 const unsigned int bytes_to_transfer, int *out_num_sgs) in wa_xfer_create_subset_sg() argument1048 nents = DIV_ROUND_UP((bytes_to_transfer + in wa_xfer_create_subset_sg()1065 while ((bytes_processed < bytes_to_transfer) && in wa_xfer_create_subset_sg()1069 (bytes_to_transfer - bytes_processed)); in wa_xfer_create_subset_sg()
215 unsigned int bytes_to_transfer, int to_buffers) in lpfc_bsg_copy_data() argument241 while (bytes_to_transfer && sg_valid && in lpfc_bsg_copy_data()252 if (bytes_to_transfer < transfer_bytes) in lpfc_bsg_copy_data()253 transfer_bytes = bytes_to_transfer; in lpfc_bsg_copy_data()262 bytes_to_transfer -= transfer_bytes; in lpfc_bsg_copy_data()