Lines Matching refs:bytesout
178 trans->bytesout -= bytes; in spi_use_out()
223 if (trans->bytesout + data_bytes > 4) in spi_setup_type()
235 if (trans->bytesout == 1) { /* and bytesin is > 0 */ in spi_setup_type()
240 if (trans->bytesout == 4) /* and bytesin is > 0 */ in spi_setup_type()
244 if (trans->out[0] == SPI_OPCODE_FAST_READ && trans->bytesout == 5) { in spi_setup_type()
246 --trans->bytesout; in spi_setup_type()
291 trans->bytesout >= 3) { in spi_setup_opcode()
420 trans->bytesout = trans->cmd_len; in ich_spi_xfer()
425 trans->bytesout = dout ? bytes : 0; in ich_spi_xfer()
432 if (!trans->bytesout) { in ich_spi_xfer()
479 trans->bytesout = bytes; in ich_spi_xfer()
490 if (!trans->bytesout && !trans->bytesin) { in ich_spi_xfer()
524 if (trans->bytesout > ctlr->databytes) { in ich_spi_xfer()
533 while (trans->bytesout || trans->bytesin) { in ich_spi_xfer()
539 if (trans->bytesout) in ich_spi_xfer()
540 data_length = min(trans->bytesout, ctlr->databytes); in ich_spi_xfer()
545 if (trans->bytesout) { in ich_spi_xfer()