Lines Matching full:qspi

3  * Xilinx Zynq UltraScale+ MPSoC Quad-SPI (QSPI) controller driver
26 /* Generic QSPI register offsets */
141 * struct zynqmp_qspi - Defines qspi driver instance
142 * @regs: Virtual address of the QSPI controller registers
156 * @mode: Defines the mode in which QSPI is operating
252 * The default settings of the QSPI controller's configurable parameters on
264 * - Enable the QSPI controller
352 * @qspi: Pointer to the spi_device structure
355 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument
357 struct zynqmp_qspi *xqspi = spi_master_get_devdata(qspi->master); in zynqmp_qspi_chipselect()
425 * zynqmp_qspi_config_op - Configure QSPI controller for specified
428 * @qspi: Pointer to the spi_device structure
430 * Sets the operational mode of QSPI controller for the next QSPI transfer and
442 * by the QSPI controller the driver will set the highest or lowest
446 struct spi_device *qspi) in zynqmp_qspi_config_op() argument
457 (GQSPI_BAUD_DIV_SHIFT << baud_rate_val)) > qspi->max_speed_hz) in zynqmp_qspi_config_op()
462 /* Set the QSPI clock phase and clock polarity */ in zynqmp_qspi_config_op()
465 if (qspi->mode & SPI_CPHA) in zynqmp_qspi_config_op()
467 if (qspi->mode & SPI_CPOL) in zynqmp_qspi_config_op()
477 * zynqmp_qspi_setup_op - Configure the QSPI controller
478 * @qspi: Pointer to the spi_device structure
480 * Sets the operational mode of QSPI controller for the next QSPI transfer,
481 * baud rate and divisor value to setup the requested qspi clock.
485 static int zynqmp_qspi_setup_op(struct spi_device *qspi) in zynqmp_qspi_setup_op() argument
487 struct spi_controller *ctlr = qspi->master; in zynqmp_qspi_setup_op()
636 * zynqmp_process_dma_irq - Handler for DMA done interrupt of QSPI
685 * zynqmp_qspi_irq - Interrupt service routine of the QSPI controller
829 * zynqmp_qspi_suspend - Suspend method for the QSPI driver
832 * This function stops the QSPI driver queue and disables the QSPI controller
849 * zynqmp_qspi_resume - Resume method for the QSPI driver
852 * The function starts the QSPI driver queue and initializes the QSPI
931 * zynqmp_qspi_exec_op() - Initiates the QSPI transfer
1102 * zynqmp_qspi_probe - Probe method for the QSPI driver
1163 /* QSPI controller initializations */ in zynqmp_qspi_probe()
1212 * zynqmp_qspi_remove - Remove method for the QSPI driver
1235 { .compatible = "xlnx,zynqmp-qspi-1.0", },
1245 .name = "zynqmp-qspi",
1254 MODULE_DESCRIPTION("Xilinx Zynqmp QSPI driver");