Home
last modified time | relevance | path

Searched refs:bytes_to_transfer (Results 1 – 7 of 7) sorted by relevance

/drivers/spi/
Dspi-zynqmp-gqspi.c200 int bytes_to_transfer; member
619 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 …]
Dspi-rzv2m-csi.c96 unsigned int bytes_to_transfer; member
165 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()
/drivers/media/common/b2c2/
Dflexcop-i2c.c116 u16 bytes_to_transfer; in flexcop_i2c_request() local
139 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()
/drivers/usb/host/
Docteon-hcd.c1359 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control() local
1374 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 …]
/drivers/i2c/busses/
Di2c-altera.c195 int bytes_to_transfer = min(rx_fifo_avail, idev->msg_len); in altr_i2c_empty_rx_fifo() local
197 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() local
212 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()
Di2c-axxia.c274 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd_r); in axxia_i2c_empty_rx_fifo() local
276 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() local
307 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()
/drivers/scsi/lpfc/
Dlpfc_bsg.c210 unsigned int bytes_to_transfer, int to_buffers) in lpfc_bsg_copy_data() argument
236 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()