sdio_writew(9)
π sdio_writew β the kernel API manual, bestie edition
okay so this is sdio_writew(9) from the Kernel API Manual, and honestly? it's giving "tiny function, big responsibility." let's get into it π
β¨ NAME β¨
sdio_writew β write a 16 bit integer to a SDIO function π¦
β¨ SYNOPSIS β¨
void sdio_writew (struct sdio_func *func , u16 b , unsigned int addr ,
int *err_ret );
like, that's the whole signature. she's compact. she's iconic. π
β¨ ARGUMENTS β¨
funcβ the SDIO function you're accessing π« like, which one are we talking tobβ the integer you're writing. yes bestie, that's the actual payloadaddrβ the address you're writing to πerr_retβ optional status value from the transfer β she's optional but she's reporting, so keep an eye on her π
β¨ DESCRIPTION β¨
So basically: this writes a 16 bit integer into the address space of a given SDIO function. that's it, that's the whole vibe. π
and err_ret will contain the status of the actual transfer β like, the receipts of what actually went down, no cap. π§Ύβ¨
β¨ SEE ALSO β¨
Kernel file ./drivers/mmc/core/sdio_io.c β and the whole friend group, fr fr:
sdio_claim_host(9)sdio_release_host(9)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_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)
like, that's the entire group chat. go say hi. π«Ά
okay that's the page!! big kiss from ./drivers/mmc/core π dated October 2026, and the page is literally just sdio_writew(9) again because that's how manpages do. slay. πΈβ¨
π¦ 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