Lines Matching refs:bytes
148 static int mspi_xfer(struct bcmspi_priv *priv, uint32_t bytes, in mspi_xfer() argument
165 if (bytes & 1) in mspi_xfer()
172 while (bytes) { in mspi_xfer()
181 chunk = MIN(bytes, NUM_CDRAM_BYTES * 2); in mspi_xfer()
183 bytes -= chunk; in mspi_xfer()
199 chunk = MIN(bytes, NUM_CDRAM_BYTES); in mspi_xfer()
201 bytes -= chunk; in mspi_xfer()
223 if (bytes == 0 && (flag & SPI_XFER_END)) in mspi_xfer()
229 if (bytes == 0 && (flag & SPI_XFER_END)) in mspi_xfer()
280 uint32_t bytes = bitlen / 8; in iproc_qspi_xfer() local
309 if (bytes) in iproc_qspi_xfer()
310 ret = mspi_xfer(priv, bytes, tx, rx, flags); in iproc_qspi_xfer()