Lines Matching refs:bytesout
177 trans->bytesout -= bytes; in spi_use_out()
222 if (trans->bytesout + data_bytes > 4) in spi_setup_type()
234 if (trans->bytesout == 1) { /* and bytesin is > 0 */ in spi_setup_type()
239 if (trans->bytesout == 4) /* and bytesin is > 0 */ in spi_setup_type()
243 if (trans->out[0] == SPI_OPCODE_FAST_READ && trans->bytesout == 5) { in spi_setup_type()
245 --trans->bytesout; in spi_setup_type()
290 trans->bytesout >= 3) { in spi_setup_opcode()
419 trans->bytesout = trans->cmd_len; in ich_spi_xfer()
424 trans->bytesout = dout ? bytes : 0; in ich_spi_xfer()
431 if (!trans->bytesout) { in ich_spi_xfer()
478 trans->bytesout = bytes; in ich_spi_xfer()
489 if (!trans->bytesout && !trans->bytesin) { in ich_spi_xfer()
523 if (trans->bytesout > ctlr->databytes) { in ich_spi_xfer()
532 while (trans->bytesout || trans->bytesin) { in ich_spi_xfer()
538 if (trans->bytesout) in ich_spi_xfer()
539 data_length = min(trans->bytesout, ctlr->databytes); in ich_spi_xfer()
544 if (trans->bytesout) { in ich_spi_xfer()