STRUCT S3C64XX_SPI_INFO(9)
okay bestie, buckle up π«Ά this is struct s3c64xx_spi_info(9) from the Kernel API Manual β the SPI Controller defining structure, and it's lowkey iconic. We're doing a full vibe check on every member, no skipping, periodt π
β¨
π NAME π
struct s3c64xx_spi_info β SPI Controller defining structure. That's the name, that's the energy, and yes it ate π
β¨ SYNOPSIS β¨
Here's the struct in all its exact character-for-character glory, bestie β do not touch the commas or semicolons, fr fr:
struct s3c64xx_spi_info {
int src_clk_nr;
int num_cs;
bool no_cs;
bool polling;
int (*cfg_gpio)(void);
};
π Members π
src_clk_nrβ Clock source index for theCLK_CFG[SPI_CLKSEL]field. It's literally telling the clock config where to look, iykyk βnum_csβ Number of CS this controller emulates. So that's how many chip-selects we're serving, no cap πno_csβ Used when CS line is not connected. If the CS line is doing its own thing (or not connected at all), this is the flag for that vibe πpollingβ Using polling mode whentrue(no'dmas'property in devicetree). When it's true, we're polling; and the parenthetical is the devicetree tea: there's no'dmas'property πcfg_gpioβ Configure pins for this SPI controller. This is the function pointer that handles the pin setup, main character energy for GPIO config π
π₯ SEE ALSO π₯
Kernel file ./include/linux/platform_data/spi-s3c64xx.h, plus struct s3c64xx_spi_csinfo(9) and s3c64xx_spi0_set_platdata(9) β go read those too, bestie, they're part of the lore πβ¨
source/version + date check, bestie: this page comes from ./include/linux/platform_data, hits October 2026, and signs off as struct s3c64xx_spi_info(9) β mwah ππ«Ά
π¦ 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