msa311_set_pwr_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to msa311_set_pwr_mode(9) from the Kernel API Manual β€” this one is literally β€œinstall certain MSA311 power mode”. slay. ✨

✨ SYNOPSIS ✨

int msa311_set_pwr_mode (struct msa311_priv *msa311 , unsigned int mode
);

πŸŽ€ ARGUMENTS πŸŽ€

  • msa311 β€” the MSA311 internal private state, aka the main-character struct.
  • mode β€” the power mode, and it can be equal to NORMAL or SUSPEND. periodt. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Call this function while you’re holding msa311->lock β€” yes, that’s the vibe check, and you need to pass it. 🫢

🌸 RETURN 🌸

0 on success, -ERRNO on failure. no cap, that’s the whole mood. 😭

πŸ’… SEE ALSO πŸ’…


this page is brought to you by source/version ./drivers/iio/accel, dated October 2026, and it’s literally the msa311_set_pwr_mode(9) manual page. mwah πŸ’‹

πŸ“¦ where this page comes from