STRUCT FTIDE010(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ftide010(9) β€” like, the whole vibe check

Okay bestie, so this page is from the Kernel API Manual, and it's all about struct ftide010 β€” the state container for the Faraday FTIDE010. Yes, that's the NAME section, and yes, it's giving "one struct to hold absolutely everything" energy. πŸŽ€


✨ SYNOPSIS ✨

Here's the whole thing, character for character, no cap:

struct ftide010 {
    struct device *dev;
    void __iomem *base;
    struct clk *pclk;
    struct ata_host *host;
    unsigned int master_cbl;
    unsigned int slave_cbl;
    struct sata_gemini *sg;
    bool master_to_sata0;
    bool slave_to_sata0;
    bool master_to_sata1;
    bool slave_to_sata1;
 };

Lowkey iconic that the original closes with that one-space-indented }; β€” we're keeping it exactly as it is. Periodt. πŸ’…


🌸 Members 🌸

Okay so let's meet the cast, because every single field is a main character here:

  • dev β€” pointer back to the device representing this controller. Like, this is the "who am I" of the struct. 🫢
  • base β€” the remapped I/O space address. Your literal doorway into the hardware, bestie. ✨
  • pclk β€” peripheral clock for the IDE block. Gotta keep the beat going. 🎡
  • host β€” pointer to the ATA host for this device. The big boss energy right here. πŸ‘‘
  • master_cbl β€” master cable type. πŸŽ€
  • slave_cbl β€” slave cable type. πŸŽ€
  • sg β€” Gemini SATA bridge pointer, if running on the Gemini. Conditional icon. πŸ¦‹
  • master_to_sata0 β€” Gemini SATA bridge: the ATA master is connected to the SATA0 bridge. πŸ”₯
  • slave_to_sata0 β€” Gemini SATA bridge: the ATA slave is connected to the SATA0 bridge. πŸ”₯
  • master_to_sata1 β€” Gemini SATA bridge: the ATA master is connected to the SATA1 bridge. πŸ”₯
  • slave_to_sata1 β€” Gemini SATA bridge: the ATA slave is connected to the SATA1 bridge. πŸ”₯
Heads up bestie: those four *_to_sata* bools are all specifically Gemini SATA bridge things β€” the descriptions say so, so don't go reading bridge-wiring lore into anything else. πŸ™ˆ

The way that master_cbl and slave_cbl are both unsigned int while the four bridge flags are plain bool… we love a type-correct queen. πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/ata/pata_ftide010.c β€” go read the source, iykyk. πŸ“–

And that's the whole page, bestie! No crumbs left, fr fr. 🌈

Source: ./drivers/ata Β· Date: October 2026 Β· Version/manual: struct ftide010(9) from the Kernel API Manual β€” mwah, kisses, go forth and compile something gorgeous πŸ’–πŸ§šβ­

πŸ“¦ where this page comes from