SDIO_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ SDIO_DEVICE(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the Kernel API Manual page for SDIO_DEVICE(9) β€” it’s short, it’s iconic, and it does exactly one little job. no cap. πŸ’…


✨ NAME ✨

SDIO_DEVICE β€” macro used to describe a specific SDIO device. periodt. πŸ’–

πŸ“œ SYNOPSIS πŸ“œ

SDIO_DEVICE (vend , dev );

yeah, that spacing is literally how it’s written β€” don’t come for me πŸ™ˆ

🫢 ARGUMENTS 🫢

  • vend β€” the 16 bit manufacturer code. lowkey the who-made-it number. 🏷️
  • dev β€” the 16 bit function id. the specific-function number, iykyk. πŸ”’

πŸ’« DESCRIPTION πŸ’«

This macro is used to create a struct sdio_device_id that matches a specific device. it’s giving β€œone device, one little ID struct” energy. πŸ¦‹

The class field will be set to SDIO_ANY_ID. that’s the one detail you cannot skip, bestie β€” it’s right there in the source. πŸ‘‘

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/mmc/sdio_func.h β€” go read it, it’s right there. πŸ“‚
  • SDIO_DEVICE_CLASS(9) β€” the class-y sibling. ✨
  • module_sdio_driver(9) β€” the driver-side friend. πŸš—

bestie reminder: this page is tiny but every bit matters β€” keep the 16 bit values and SDIO_ANY_ID exactly as they are. πŸ’―

and that’s the whole vibe check! this page’s footer points at the source/version path ./include/linux/mmc, dated October 2026 β€” slay, now go forth and match those devices. πŸ’…πŸŽ€

πŸ“¦ where this page comes from