sdio_memcpy_toio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdio_memcpy_toio(9) β€” the kernel API manual, but make it make sense

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is sdio_memcpy_toio(9), and honestly? she's lowkey iconic. sit down, grab a boba, we're writing bytes to an SDIO function 🫢


✨ NAME ✨

sdio_memcpy_toio β€” write a chunk of memory to a SDIO function πŸ’ΎπŸ¦‹


🌸 SYNOPSIS 🌸

int sdio_memcpy_toio (struct sdio_func *func , unsigned int addr , void
*src , int count );

that's the whole vibe check right there, no cap πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • func β€” the SDIO function we're accessing, she's the one getting the data πŸ’Œ
  • addr β€” the address where the writing starts, aka the drop-off spot πŸ“
  • src β€” the buffer holding the data we're about to write, the payload, the moment ✨
  • count β€” how many bytes we're writing, literally just the number of bytes πŸ”’

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this writes to the address space of a given SDIO function. That's it, that's the whole gig πŸ’…

The return value tells you whether the transfer succeeded or not β€” so like, check it, bestie, don't just assume she slayed πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group fr fr β€” kernel file ./drivers/mmc/core/sdio_io.c, plus:


and that's the page, periodt πŸ’œ this masterpiece lives over in ./drivers/mmc/core, stamped October 2026 β€” date her, don't debate her ⭐🧚

πŸ“¦ where this page comes from