STRUCT SDHCI_ARASAN_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Bestie, meet struct sdhci_arasan_data β€” the Arasan Controller Data struct from the Kernel API Manual. This is page struct sdhci_arasan_data(9), and it's literally giving β€œcontroller data but make it iconic.” πŸ«ΆπŸ’…

πŸ’… SYNOPSIS πŸ’…

Here's the whole struct, copied exactly because we do not mess with code, bestie:

struct sdhci_arasan_data {
    struct sdhci_host *host;
    struct clk      *clk_ahb;
    struct phy      *phy;
    bool is_phy_on;
    bool internal_phy_reg;
    bool has_cqe;
    struct sdhci_arasan_clk_data clk_data;
    const struct sdhci_arasan_clk_ops *clk_ops;
    struct regmap   *soc_ctl_base;
    const struct sdhci_arasan_soc_ctl_map *soc_ctl_map;
    unsigned int    quirks;
  #define SDHCI_ARASAN_QUIRK_FORCE_CDTEST BIT(0);
  #define SDHCI_ARASAN_QUIRK_CLOCK_UNSTABLE BIT(1);
  #define SDHCI_ARASAN_QUIRK_CLOCK_25_BROKEN BIT(2);
  #define SDHCI_ARASAN_QUIRK_ENSURE_CD_STABLE     BIT(3);
};

🫢 MEMBERS 🫢

  • host β€” Pointer to the main SDHCI host structure. The big boss pointer, fr fr. πŸ‘‘
  • clk_ahb β€” Pointer to the AHB clock. Yes bestie, it's a clock pointer. ⏰
  • phy β€” Pointer to the generic phy. PHY said hi. 🧚
  • is_phy_on β€” True if the PHY is on; false if not. Literally a bool doing bool things. βœ…
  • internal_phy_reg β€” True if the PHY is within the Host controller. It's internal, iykyk. 🫣
  • has_cqe β€” True if controller has command queuing engine. Queue it up, queen. πŸ‘‘
  • clk_data β€” Struct for the Arasan Controller Clock Data. Clock data core. ⏱️
  • clk_ops β€” Struct for the Arasan Controller Clock Operations. The ops are ops-ing. πŸ’…
  • soc_ctl_base β€” Pointer to regmap for syscon for soc_ctl registers. Regmap pointer supreme. πŸ—ΊοΈ
  • soc_ctl_map β€” Map to get offsets into soc_ctl registers. Offsets? Mapped. πŸ“
  • quirks β€” Arasan deviations from spec. The spicy deviations. 🌢️

🌈 SEE ALSO 🌈

Bestie, if you wanna keep reading, the lore continues in the kernel file ./drivers/mmc/host/sdhci-of-arasan.c struct and these encore pages:


Source/version vibes: ./drivers/mmc/host Β· date: October 2026 Β· page: struct sdhci_arasan_data(9) β€” that's the whole footer, bestie, slay and bye! πŸ’–βœ¨

πŸ“¦ where this page comes from