STRUCT SATA_GEMINI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sata_gemini(9)

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct sata_gemini, which is, and I cannot stress this enough, literally just a state container for a Gemini SATA bridge. it holds the vibes (state) so the rest of the driver doesn't have to. it's giving "organized friend who holds everyone's stuff at the party" πŸ’–


✨ NAME ✨

struct sata_gemini β€” a state container for a Gemini SATA bridge. that's it, that's the whole job. no cap. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct sata_gemini {
    struct device *dev;
    void __iomem *base;
    enum gemini_muxmode muxmode;
    bool ide_pins;
    bool sata_bridge;
    struct clk *sata0_pclk;
    struct clk *sata1_pclk;
 };

like, look at her. seven fields. main character energy fr fr. 🌈


πŸŽ€ Members πŸŽ€

  • dev β€” the containing device. the who's-your-daddy pointer, iykyk 🫢
  • base β€” remapped I/O memory base. yes, it's the __iomem kind, we stay respectful of address spaces here ✨
  • muxmode β€” the current muxing mode, typed as enum gemini_muxmode. it's giving "what are we even doing right now" but make it an enum πŸ’…
  • ide_pins β€” a bool that says whether the device is using the plain IDE interface pins. vintage! retro! lowkey iconic πŸŽ€
  • sata_bridge β€” a bool for if the device enables the SATA bridge. the bridge is ON, bestie πŸŒ‰
  • sata0_pclk β€” SATA0 PCLK handler, struct clk *. clock her in ⏰
  • sata1_pclk β€” SATA1 PCLK handler, struct clk *. and her sibling too, we don't play favorites 🌸

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/ata/sata_gemini.c β€” go read the source, that's where the real tea is πŸ“

ngl bestie, the whole struct is just fields β€” if you're looking for functions, this page is not it, go open that .c file πŸ™ˆ

and that's a wrap, mwah πŸ’‹ this cutie came out of ./drivers/ata and it's dated October 2026 β€” screenshot it, cite it, obsess over it πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from