sdhci_cdns_tune_blkgap(9)
β¨ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms