Lines Matching full:qspi

3  * Xilinx Zynq UltraScale+ MPSoC Quad-SPI (QSPI) controller driver
26 /* Generic QSPI register offsets */
143 * struct zynqmp_qspi - Defines qspi driver instance
144 * @regs: Virtual address of the QSPI controller registers
158 * @mode: Defines the mode in which QSPI is operating
256 * The default settings of the QSPI controller's configurable parameters on
268 * - Enable the QSPI controller
356 * @qspi: Pointer to the spi_device structure
359 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument
361 struct zynqmp_qspi *xqspi = spi_master_get_devdata(qspi->master); in zynqmp_qspi_chipselect()
368 if (!qspi->chip_select) { in zynqmp_qspi_chipselect()
434 * zynqmp_qspi_config_op - Configure QSPI controller for specified
437 * @qspi: Pointer to the spi_device structure
439 * Sets the operational mode of QSPI controller for the next QSPI transfer and
451 * by the QSPI controller the driver will set the highest or lowest
455 struct spi_device *qspi) in zynqmp_qspi_config_op() argument
466 (GQSPI_BAUD_DIV_SHIFT << baud_rate_val)) > qspi->max_speed_hz) in zynqmp_qspi_config_op()
471 /* Set the QSPI clock phase and clock polarity */ in zynqmp_qspi_config_op()
474 if (qspi->mode & SPI_CPHA) in zynqmp_qspi_config_op()
476 if (qspi->mode & SPI_CPOL) in zynqmp_qspi_config_op()
486 * zynqmp_qspi_setup_op - Configure the QSPI controller
487 * @qspi: Pointer to the spi_device structure
489 * Sets the operational mode of QSPI controller for the next QSPI transfer,
490 * baud rate and divisor value to setup the requested qspi clock.
494 static int zynqmp_qspi_setup_op(struct spi_device *qspi) in zynqmp_qspi_setup_op() argument
496 struct spi_controller *ctlr = qspi->master; in zynqmp_qspi_setup_op()
638 * zynqmp_process_dma_irq - Handler for DMA done interrupt of QSPI
687 * zynqmp_qspi_irq - Interrupt service routine of the QSPI controller
841 * zynqmp_qspi_suspend - Suspend method for the QSPI driver
844 * This function stops the QSPI driver queue and disables the QSPI controller
864 * zynqmp_qspi_resume - Resume method for the QSPI driver
867 * The function starts the QSPI driver queue and initializes the QSPI
932 * zynqmp_qspi_exec_op() - Initiates the QSPI transfer
1095 * zynqmp_qspi_probe - Probe method for the QSPI driver
1167 /* QSPI controller initializations */ in zynqmp_qspi_probe()
1234 * zynqmp_qspi_remove - Remove method for the QSPI driver
1257 { .compatible = "xlnx,zynqmp-qspi-1.0", },
1267 .name = "zynqmp-qspi",
1276 MODULE_DESCRIPTION("Xilinx Zynqmp QSPI driver");