Searched refs:bytes_to_transfer (Results 1 – 7 of 7) sorted by relevance
200 int bytes_to_transfer; member619 while ((xqspi->bytes_to_transfer > 0) && (count < size) && (xqspi->txbuf)) { in zynqmp_qspi_filltxfifo()620 if (xqspi->bytes_to_transfer >= 4) { in zynqmp_qspi_filltxfifo()623 xqspi->bytes_to_transfer -= 4; in zynqmp_qspi_filltxfifo()627 xqspi->bytes_to_transfer); in zynqmp_qspi_filltxfifo()628 xqspi->txbuf += xqspi->bytes_to_transfer; in zynqmp_qspi_filltxfifo()629 xqspi->bytes_to_transfer = 0; in zynqmp_qspi_filltxfifo()630 count += xqspi->bytes_to_transfer; in zynqmp_qspi_filltxfifo()679 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo()692 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo()[all …]
96 unsigned int bytes_to_transfer; member165 csi->txbuf += csi->bytes_to_transfer; in rzv2m_csi_fill_txfifo()166 csi->bytes_sent += csi->bytes_to_transfer; in rzv2m_csi_fill_txfifo()175 if (readl(csi->base + CSI_IFIFOL) != csi->bytes_to_transfer) in rzv2m_csi_read_rxfifo()190 csi->rxbuf += csi->bytes_to_transfer; in rzv2m_csi_read_rxfifo()191 csi->bytes_received += csi->bytes_to_transfer; in rzv2m_csi_read_rxfifo()224 csi->bytes_to_transfer = csi->words_to_transfer << 1; in rzv2m_csi_calc_current_transfer()226 csi->bytes_to_transfer = csi->words_to_transfer; in rzv2m_csi_calc_current_transfer()315 if (readl(csi->base + CSI_IFIFOL) == csi->bytes_to_transfer) in rzv2m_csi_wait_for_rx_ready()
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()
1359 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control() local1374 bytes_to_transfer = sizeof(*header); in cvmx_usb_start_channel_control()1389 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1402 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1403 else if (bytes_to_transfer > pipe->max_packet) in cvmx_usb_start_channel_control()1404 bytes_to_transfer = pipe->max_packet; in cvmx_usb_start_channel_control()1415 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1426 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1435 bytes_to_transfer = 0; in cvmx_usb_start_channel_control()1450 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()211 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo() local212 int ret = idev->msg_len - bytes_to_transfer; in altr_i2c_fill_tx_fifo()214 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()
210 unsigned int bytes_to_transfer, int to_buffers) in lpfc_bsg_copy_data() argument236 while (bytes_to_transfer && sg_valid && in lpfc_bsg_copy_data()247 if (bytes_to_transfer < transfer_bytes) in lpfc_bsg_copy_data()248 transfer_bytes = bytes_to_transfer; in lpfc_bsg_copy_data()257 bytes_to_transfer -= transfer_bytes; in lpfc_bsg_copy_data()