Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/dma/
Dcoh901318_lli.c243 u32 bytes_to_transfer; in coh901318_lli_fill_sg() local
278 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()
/Linux-v5.10/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()
/Linux-v5.10/drivers/spi/
Dspi-zynqmp-gqspi.c167 int bytes_to_transfer; member
523 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 …]
/Linux-v5.10/drivers/staging/octeon-usb/
Docteon-hcd.c1357 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control() local
1372 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 …]
/Linux-v5.10/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()
212 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo() local
213 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()
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()
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_bsg.c219 unsigned int bytes_to_transfer, int to_buffers) in lpfc_bsg_copy_data() argument
245 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()