cdns_spi_process_fifo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 the spi_controller structure πŸ’… she's the boss of the SPI show
  • xspi β€” a pointer to the cdns_spi structure 🌈 that's the Cadence-specific lil buddy
  • ntx β€” 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 πŸ‘‘

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