Lines Matching refs:ctrl0
171 if (spi->ctrl0 & ADI_MAX32_SPI_CTRL_MASTER_MODE) { in spi_max32_setup()
194 spi->ctrl0 |= MXC_F_SPI_CTRL0_EN; in spi_max32_setup()
221 if (!(spi->ctrl0 & MXC_F_SPI_CTRL0_START)) { in spi_max32_transceive_sync()
222 spi->ctrl0 |= MXC_F_SPI_CTRL0_START; in spi_max32_transceive_sync()
384 cfg->regs->ctrl0 = in transceive()
385 (cfg->regs->ctrl0 & ~MXC_F_SPI_CTRL0_START) | MXC_F_SPI_CTRL0_SS_CTRL; in transceive()
415 cfg->regs->ctrl0 &= ~(MXC_F_SPI_CTRL0_START | MXC_F_SPI_CTRL0_SS_CTRL | in transceive()
417 cfg->regs->ctrl0 |= MXC_F_SPI_CTRL0_EN; in transceive()
576 spi->ctrl0 &= ~(MXC_F_SPI_CTRL0_EN); in transceive_dma()
606 spi->ctrl0 |= MXC_F_SPI_CTRL0_EN; in transceive_dma()
674 cfg->regs->ctrl0 = (cfg->regs->ctrl0 & ~MXC_F_SPI_CTRL0_START) | in spi_max32_iodev_prepare_start()
694 cfg->regs->ctrl0 &= ~(MXC_F_SPI_CTRL0_START | MXC_F_SPI_CTRL0_SS_CTRL | in spi_max32_iodev_complete()
696 cfg->regs->ctrl0 |= MXC_F_SPI_CTRL0_EN; in spi_max32_iodev_complete()
766 req->spi->ctrl0 &= ~(MXC_F_SPI_CTRL0_START | MXC_F_SPI_CTRL0_SS_CTRL | in spi_max32_callback()
768 req->spi->ctrl0 |= MXC_F_SPI_CTRL0_EN; in spi_max32_callback()