spmi_command_shutdown(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… spmi_command_shutdown β€” a Kernel API Manual moment (section 9, bestie)

Okay so picture this: it's giving kernel API manual, and the function on the cover is literally spmi_command_shutdown. So iconic. Let me walk you through it 🫢


✨ NAME ✨

spmi_command_shutdown β€” sends the SHUTDOWN command to the specified SPMI device. That's it, that's the whole vibe. Girl is straightforward and we respect her for it πŸ’–


🌸 SYNOPSIS 🌸

int spmi_command_shutdown (struct spmi_device *sdev );

Yes bestie, she takes exactly one (1) argument and hands you back an int. No cap. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sdev β€” the SPMI device. Like, the actual device you're talking to. That's your main character right there πŸ‘‘

⭐ DESCRIPTION ⭐

So the Shutdown command causes the Slave to enter the SHUTDOWN state. Periodt. That's the entire description and honestly? She said what she said πŸ’€

No extra lore, no secret twists β€” the command goes in, the Slave goes into SHUTDOWN state, we all move on with our lives ✨


🌈 SEE ALSO 🌈

Go read the kernel file ./drivers/spmi/spmi.c β€” it's right there, she's holding it down for the whole subsystem πŸ“š. And then there's the whole friend group:

Like, the whole squad showed up for the group photo, and we love that for them πŸ“ΈπŸ’œ


Ngl bestie, all of these live under ./drivers/spmi β€” that's the neighborhood 🏑

Mwah πŸ’‹ that's the page! This little masterpiece came from the fine folks over at ./drivers/spmi, dated October 2026, and you read it in true spmi_command_shutdown(9) fashion. Slay, go shut something down (the correct, documented way) πŸŒŸπŸ¦‹πŸ’…

πŸ“¦ where this page comes from