sdio_writew(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to
  • b β€” the integer you're writing. yes bestie, that's the actual payload
  • addr β€” 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:

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