cdns_spi_process_fifo(9)
β¨ cdns_spi_process_fifo β¨
okay so bestie, welcome to the Kernel API Manual entry for cdns_spi_process_fifo(9) β yes that's the whole name, it's long, she's worth it, iykyk π
π NAME π
cdns_spi_process_fifo β fills the TX FIFO, and drain the RX FIFO π«Ά
like literally both directions, one function, main character energy fr fr
πΈ SYNOPSIS πΈ
void cdns_spi_process_fifo (struct spi_controller *ctlr , struct
cdns_spi *xspi , int ntx , int nrx );
no cap, that's the whole signature. four things go in, nothing comes out (void, she's mysterious like that β¨)
π¦ ARGUMENTS π¦
ctlrβ a pointer to thespi_controllerstructure π she's the boss of the SPI showxspiβ a pointer to thecdns_spistructure π that's the Cadence-specific lil buddyntxβ how many bytes to pack into the TX FIFO π€ (that's TX = transmit, you're shoving data in)nrxβ how many bytes to drain out of the RX FIFO π₯ (RX = receive, you're scooping data out)
so basically ntx and nrx are your two counters and they don't gotta match, they're independent queens π
π SEE ALSO π
- Kernel file
./drivers/spi/spi-cadence.c struct cdns_spi(9)cdns_spi_init_hw(9)cdns_spi_chipselect(9)cdns_spi_config_clock_mode(9)cdns_spi_config_clock_freq(9)cdns_spi_setup_transfer(9)cdns_spi_irq(9)cdns_transfer_one(9)cdns_prepare_transfer_hardware(9)cdns_unprepare_transfer_hardware(9)cdns_spi_detect_fifo_depth(9)cdns_target_abort(9)cdns_spi_probe(9)cdns_spi_remove(9)cdns_spi_suspend(9)cdns_spi_resume(9)cdns_spi_runtime_resume(9)cdns_spi_runtime_suspend(9)
like the whole friend group, go say hi to all of them π
ngl bestie, if you're here you're probably deep in spi-cadence.c already β drink some water, the FIFO will still be there π
mwah, that's the page! π this lil gem lives in ./drivers/spi and she was dated October 2026 β see u in the kernel, bestie, slay responsibly π§ββοΈβ
π¦ 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