sdio_get_host_pm_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdio_get_host_pm_caps(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes we're reading manpages now, this is our era. Today's main character is sdio_get_host_pm_caps, and it's genuinely so useful, let me tell you everything 🫢


🌸 NAME

sdio_get_host_pm_caps β€” literally just "get host power management capabilities", no cap πŸ’…


✨ SYNOPSIS

mmc_pm_flag_t sdio_get_host_pm_caps (struct sdio_func *func );

πŸŽ€ ARGUMENTS

  • func β€” the SDIO function attached to the host πŸ’– that's the one thing you gotta hand over, bestie.

πŸ¦‹ DESCRIPTION

So this one returns a capability bitmask β€” think of it as a little sparkly checklist ✨ β€” and that bitmask corresponds to all the power management features that the host controller supports, the ones the card function might be relying on during a system suspend 😴

And here's the iconic part: the host does not need to be claimed, and the function doesn't need to be active either. You can just… get this info 🀯 no prerequisites, no vibe check required, it's giving effortless πŸ‘‘


πŸ’œ SEE ALSO

Kernel file ./drivers/mmc/core/sdio_io.c β€” go look, it's all in there, iykyk πŸ“‚

The whole friend group, fr fr:


and that's the whole page bestie, you ate that πŸ’…βœ¨

this little love letter came from ./drivers/mmc/core, dated October 2026, and it's filed under sdio_get_host_pm_caps(9) β€” go forth and slay your suspend logic πŸŒˆπŸ‘‘πŸ’–

πŸ“¦ where this page comes from