STRUCT S3C64XX_SPI_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 the CLK_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 when true (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