Lines Matching refs:operation
66 if (SPI_MODE_GET(config->operation) & SPI_MODE_LOOP) { in spi_numaker_configure()
71 if (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) { in spi_numaker_configure()
80 if (SPI_MODE_GET(config->operation) & SPI_MODE_CPOL) { in spi_numaker_configure()
81 mode = (SPI_MODE_GET(config->operation) & SPI_MODE_CPHA) ? 3 : 2; in spi_numaker_configure()
83 mode = (SPI_MODE_GET(config->operation) & SPI_MODE_CPHA) ? 1 : 0; in spi_numaker_configure()
89 (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) ? QSPI_SLAVE in spi_numaker_configure()
92 SPI_WORD_SIZE_GET(config->operation), config->frequency); in spi_numaker_configure()
95 (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) ? SPI_SLAVE in spi_numaker_configure()
98 SPI_WORD_SIZE_GET(config->operation), config->frequency); in spi_numaker_configure()
102 if ((config->operation) & SPI_TRANSFER_LSB) { in spi_numaker_configure()
109 if (config->operation & SPI_HALF_DUPLEX) { in spi_numaker_configure()
118 if (config->operation & SPI_CS_ACTIVE_HIGH) { in spi_numaker_configure()
150 word_size = SPI_WORD_SIZE_GET(ctx->config->operation); in spi_numaker_txrx()