Lines Matching defs:mode
4 * (master mode only)
182 * @dma_rx_bytes: Remaining bytes to receive by DMA mode
185 * @mode: Defines the mode in which QSPI is operating
207 enum mode_type mode;
340 * - Master mode
343 * - Flash memory interface mode enabled
349 * - Set the little endian mode of TX FIFO
359 /* Select the GQSPI mode */
507 * zynqmp_qspi_selectspimode - Selects SPI mode - x1 or x2 or x4.
510 * Return: Mask to set desired SPI mode in GENFIFO entry.
528 dev_warn(xqspi->dev, "Invalid SPI mode\n");
540 * Sets the operational mode of QSPI controller for the next QSPI transfer and
590 * Sets the operational mode of QSPI controller for the next QSPI transfer,
684 if (xqspi->mode == GQSPI_MODE_DMA)
732 if (xqspi->mode == GQSPI_MODE_IO && xqspi->rxbuf) {
760 /* Switch to IO mode,for remaining bytes to receive */
779 /* Enable the RX interrupts for IO mode */
810 if (xqspi->mode == GQSPI_MODE_DMA) {
854 /* Setting to IO mode */
858 xqspi->mode = GQSPI_MODE_IO;
881 /* Enabling the DMA mode */
887 /* Switch to DMA mode */
888 xqspi->mode = GQSPI_MODE_DMA;
912 if (xqspi->mode == GQSPI_MODE_DMA) {
918 xqspi->mode = GQSPI_MODE_IO;
1057 dev_dbg(xqspi->dev, "cmd:%#x mode:%d.%d.%d.%d\n",
1125 * we need to use it to configure the correct SPI mode.
1165 if (xqspi->mode == GQSPI_MODE_DMA) {