zynqmp_qspi_selectspimode(9)
π zynqmp_qspi_selectspimode(9) π
okay so bestie, welcome to this Kernel API Manual page for zynqmp_qspi_selectspimode(9). it's a tiny helper, but it's lowkey iconic: it selects the SPI mode β x1 or x2 or x4. no cap, that's the whole main-character job. π
β¨ NAME β¨
zynqmp_qspi_selectspimode β Selects SPI mode - x1 or x2 or x4. π«
πΈ SYNOPSIS πΈ
u32 zynqmp_qspi_selectspimode (struct zynqmp_qspi *xqspi , u8 spimode );
That's the exact signature, bestie β u32 return, and the two args are xqspi and spimode. π¦
π¦ ARGUMENTS π¦
xqspiβxqspiis a pointer to the GQSPI instance. it's giving "hold my struct," and we love that for it. πspimodeβspimode-SPIorDUALorQUAD. pick your mode, periodt. β¨
π₯ RETURN π₯
Mask to set desired SPI mode in GENFIFO entry. that's it, that's the return β a mask with main-character energy. π
π SEE ALSO π
- Kernel file
./drivers/spi/spi-zynqmp-gqspi.c struct qspi_platform_data(9)struct zynqmp_qspi(9)zynqmp_gqspi_read(9)zynqmp_gqspi_write(9)zynqmp_gqspi_selecttarget(9)zynqmp_qspi_set_tapdelay(9)zynqmp_qspi_init_hw(9)zynqmp_qspi_copy_read_data(9)zynqmp_qspi_chipselect(9)zynqmp_qspi_config_op(9)zynqmp_qspi_setup_op(9)zynqmp_qspi_filltxfifo(9)zynqmp_qspi_readrxfifo(9)zynqmp_qspi_fillgenfifo(9)zynqmp_qspi_disable_dma(9)zynqmp_qspi_enable_dma(9)zynqmp_process_dma_irq(9)zynqmp_qspi_irq(9)zynqmp_qspi_setuprxdma(9)zynqmp_qspi_write_op(9)zynqmp_qspi_read_op(9)zynqmp_qspi_suspend(9)zynqmp_qspi_resume(9)zynqmp_runtime_suspend(9)zynqmp_runtime_resume(9)zynqmp_qspi_exec_op(9)zynqmp_qspi_probe(9)zynqmp_qspi_remove(9)
mwah π β signing off from source/version cutie ./drivers/spi, dated October 2026, for zynqmp_qspi_selectspimode(9) in the Kernel API Manual. π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms