cdns_spi_probe(9)
π cdns_spi_probe(9) π
okay so this is a page from the Kernel API Manual β section 9, bestie, the kernel-developer section β and it's literally all about one little function: cdns_spi_probe. yes it's short. no we're not skipping anything. let's go π«Ά
β¨ NAME β¨
cdns_spi_probe β the probe method for the SPI driver πΈ
β¨ SYNOPSIS β¨
int cdns_spi_probe (struct platform_device *pdev );
β¨ ARGUMENTS β¨
pdevβ a pointer to theplatform_devicestructure π like, that's the whole argument. one (1) pointer. iconic minimalism.
β¨ DESCRIPTION β¨
so what does it actually do, you ask? it initializes the driver data structures and the hardware. both. the software vibes and the physical silicon. π that's it, that's the description, and honestly it's giving "short but does the most."
β¨ RETURN β¨
0on success β slay β- an error value on error β not slay, but at least you know π
β¨ SEE ALSO β¨
the friend group, fr fr β all of these live in the 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_process_fifo(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_remove(9)cdns_spi_suspend(9)cdns_spi_resume(9)cdns_spi_runtime_resume(9)cdns_spi_runtime_suspend(9)
like, the whole cadence SPI cinematic universe is in there β go read all of them, iykyk π
ok that's the page!! you now know everything the manpage knows, which is a healthy amount and no more π
and that's a wrap, bestie π¦ this little gem ships out of ./drivers/spi in October 2026, and it's the section 9 edition β periodt. π
β¨
π¦ 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