sdio_claim_host(9)
π sdio_claim_host β the manual, but make it make sense π
okay so this is a page from the Kernel API Manual, and it's about sdio_claim_host β no cap, it's actually the moment where one single SDIO function gets to say "this bus is MINE" and nobody else can touch it. main character energy fr fr π
β¨ NAME β¨
sdio_claim_host β exclusively claim a bus for a certain SDIO function π
πΈ SYNOPSIS πΈ
void sdio_claim_host (struct sdio_func *func );
π¦ ARGUMENTS π¦
funcβ the SDIO function that will be accessed. like, the one doing the accessing. that's your girl π
β DESCRIPTION β
So here's the vibe: you call this to claim a bus for a set of operations. π«Ά
The SDIO function you hand in is literally just there so the kernel can figure out which bus is the relevant one β you don't gotta point at the bus yourself, the function does the pointing for you. iykyk β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/mmc/core/sdio_io.cβ that's where all this lives, go read it bestie π sdio_release_host(9)β the one you must pair this with, the "okay i'm done, it's yours again" πsdio_enable_func(9)sdio_disable_func(9)sdio_set_block_size(9)sdio_align_size(9)sdio_readb(9)sdio_writeb(9)sdio_writeb_readb(9)sdio_memcpy_fromio(9)sdio_memcpy_toio(9)sdio_readsb(9)sdio_writesb(9)sdio_readw(9)sdio_writew(9)sdio_readl(9)sdio_writel(9)sdio_f0_readb(9)sdio_f0_writeb(9)sdio_get_host_pm_caps(9)sdio_set_host_pm_flags(9)sdio_retune_crc_disable(9)sdio_retune_crc_enable(9)sdio_retune_hold_now(9)sdio_retune_release(9)
and that's the whole page, bestie π
this lil fairy tale lives in ./drivers/mmc/core, stamped October 2026, and it's sdio_claim_host(9) all the way down π§π slay, go claim your bus (and remember to release it π).
π¦ 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