sdio_memcpy_fromio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sdio_memcpy_fromio β€” the "gimme that data" page πŸ’–

okay so bestie, welcome to the sdio_memcpy_fromio manual page, part of the Kernel API Manual. if you've ever needed to yoink a chunk of memory out of an SDIO function and drop it into your own buffer, this is literally the function for you. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

int sdio_memcpy_fromio (struct sdio_func *func , void *dst , unsigned
int addr , int count );

like… that's the whole vibe. one function, four things to give it, one int back. slay. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • func β€” the SDIO function you wanna access. this is your main character. πŸ‘‘
  • dst β€” the buffer where the data is gonna live. the destination of the glow-up, if you will. ✨
  • addr β€” the address to begin reading from. where the journey starts. 🌈
  • count β€” number of bytes to read. how much snack to grab. πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so what does it actually do? it reads from the address space of a given SDIO function, bestie. that's it, that's the whole thing. 🫢

the return value tells you if the transfer succeeded or not β€” so like, check it, don't just assume it ate. 😭


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/mmc/core/sdio_io.c, and honestly the whole friend group is iconic, so here's everyone you should also go say hi to:

like, the whole squad fr fr. go read them. iykyk. πŸ’€


and that's the page!! mwah πŸ’‹ β€” brought to you by the fine people over at ./drivers/mmc/core, dated October 2026, for the Kernel API Manual. go read some memory, bestie. πŸŒŸπŸŽ€πŸ’–

πŸ“¦ where this page comes from