Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-zynqmp-gqspi.c170 int bytes_to_transfer; member
518 while ((xqspi->bytes_to_transfer > 0) && (count < size) && (xqspi->txbuf)) { in zynqmp_qspi_filltxfifo()
519 if (xqspi->bytes_to_transfer >= 4) { in zynqmp_qspi_filltxfifo()
522 xqspi->bytes_to_transfer -= 4; in zynqmp_qspi_filltxfifo()
526 xqspi->bytes_to_transfer); in zynqmp_qspi_filltxfifo()
527 xqspi->txbuf += xqspi->bytes_to_transfer; in zynqmp_qspi_filltxfifo()
528 xqspi->bytes_to_transfer = 0; in zynqmp_qspi_filltxfifo()
529 count += xqspi->bytes_to_transfer; in zynqmp_qspi_filltxfifo()
578 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo()
591 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo()
[all …]
/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()