Searched refs:bytes_to_transfer (Results 1 – 7 of 7) sorted by relevance
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()
116 u16 bytes_to_transfer; in flexcop_i2c_request() local139 bytes_to_transfer = len > 4 ? 4 : len; in flexcop_i2c_request()141 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1; in flexcop_i2c_request()152 p += bytes_to_transfer; in flexcop_i2c_request()153 addr += bytes_to_transfer; in flexcop_i2c_request()154 len -= bytes_to_transfer; in flexcop_i2c_request()
167 int bytes_to_transfer; member523 while ((xqspi->bytes_to_transfer > 0) && (count < size)) { in zynqmp_qspi_filltxfifo()527 if (xqspi->bytes_to_transfer >= 4) { in zynqmp_qspi_filltxfifo()529 xqspi->bytes_to_transfer -= 4; in zynqmp_qspi_filltxfifo()531 xqspi->txbuf += xqspi->bytes_to_transfer; in zynqmp_qspi_filltxfifo()532 xqspi->bytes_to_transfer = 0; in zynqmp_qspi_filltxfifo()581 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo()728 if (xqspi->bytes_to_receive == 0 && xqspi->bytes_to_transfer == 0 && in zynqmp_qspi_irq()967 xqspi->bytes_to_transfer = op->cmd.nbytes; in zynqmp_qspi_exec_op()993 xqspi->bytes_to_transfer = op->addr.nbytes; in zynqmp_qspi_exec_op()[all …]
1357 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control() local1372 bytes_to_transfer = sizeof(*header); in cvmx_usb_start_channel_control()1387 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1400 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1401 else if (bytes_to_transfer > pipe->max_packet) in cvmx_usb_start_channel_control()1402 bytes_to_transfer = pipe->max_packet; in cvmx_usb_start_channel_control()1413 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1424 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1433 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1448 if (bytes_to_transfer > MAX_TRANSFER_BYTES) { in cvmx_usb_start_channel_control()[all …]
195 int bytes_to_transfer = min(rx_fifo_avail, idev->msg_len); in altr_i2c_empty_rx_fifo() local197 while (bytes_to_transfer-- > 0) { in altr_i2c_empty_rx_fifo()212 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo() local213 int ret = idev->msg_len - bytes_to_transfer; in altr_i2c_fill_tx_fifo()215 while (bytes_to_transfer-- > 0) { in altr_i2c_fill_tx_fifo()
274 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd_r); in axxia_i2c_empty_rx_fifo() local276 while (bytes_to_transfer-- > 0) { in axxia_i2c_empty_rx_fifo()306 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo() local307 int ret = msg->len - idev->msg_xfrd - bytes_to_transfer; in axxia_i2c_fill_tx_fifo()309 while (bytes_to_transfer-- > 0) in axxia_i2c_fill_tx_fifo()
219 unsigned int bytes_to_transfer, int to_buffers) in lpfc_bsg_copy_data() argument245 while (bytes_to_transfer && sg_valid && in lpfc_bsg_copy_data()256 if (bytes_to_transfer < transfer_bytes) in lpfc_bsg_copy_data()257 transfer_bytes = bytes_to_transfer; in lpfc_bsg_copy_data()266 bytes_to_transfer -= transfer_bytes; in lpfc_bsg_copy_data()