sdhci_cdns_tune_blkgap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sdhci_cdns_tune_blkgap(9) ✨

okay so bestie, you've stumbled into the Kernel API Manual and this one is literally from the sdhci_cdns_tune_blkgap(9) page πŸ’… come sit with me, it's short and sweet and honestly kind of iconic.


πŸŽ€ NAME πŸŽ€

sdhci_cdns_tune_blkgap β€” tune the multi-block read gap πŸ¦‹

no cap, that's the whole vibe. it tunes a gap. in a multi-block read. we love a function that knows what it wants.


🌸 SYNOPSIS 🌸

int sdhci_cdns_tune_blkgap (struct mmc_host *mmc );

yep, that's it, that's the whole signature β€” copy it exactly, spaces and all, don't @ me πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • mmc β€” the MMC host πŸ‘‘ that's literally all it says and honestly? fair. it's the host, she's the main character, we move.

✨ DESCRIPTION ✨

so here's the tea 🍡: this function tunes the delay used in multi-block read. the way that it does this is by trying to send a multi-block read command with an incremented gap β€” and it keeps going unless it succeeds. like, it will literally keep bumping that gap up until the read goes through 😭 persistent queen behavior fr fr.

no extra lore, no secret tricks, that's the entire plot 🫢


πŸ”₯ RETURN πŸ”₯

returns an error code πŸ’€ (so like, check it, bestie β€” don't just assume everything slayed)


⭐ SEE ALSO ⭐

  • Kernel file ./drivers/mmc/host/sdhci-cadence.c πŸ‘€ go read the source, iykyk

πŸ’œ tiny note to self: the argument is literally documented as "MMC host" and nothing else. i'm not gonna invent lore that isn't there. we respect the manpage in this house πŸŽ€

okay that's the page!! 🌈 this gem lives under ./drivers/mmc/host, and the date on it is October 2026 β€” so mark your calendars bestie, future vibes only πŸ§šπŸ“ periodt πŸ’…

πŸ“¦ where this page comes from