Lines Matching defs:bytes
148 static int mspi_xfer(struct bcmspi_priv *priv, uint32_t bytes,
164 /* Use 8-bit queue for odd-bytes transfer */
165 if (bytes & 1)
172 while (bytes) {
180 /* Determine how many bytes to process this time */
181 chunk = MIN(bytes, NUM_CDRAM_BYTES * 2);
183 bytes -= chunk;
198 /* Determine how many bytes to process this time */
199 chunk = MIN(bytes, NUM_CDRAM_BYTES);
201 bytes -= chunk;
223 if (bytes == 0 && (flag & SPI_XFER_END))
229 if (bytes == 0 && (flag & SPI_XFER_END))
280 uint32_t bytes = bitlen / 8;
309 if (bytes)
310 ret = mspi_xfer(priv, bytes, tx, rx, flags);