STRUCT REGULATOR_ERR_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct regulator_err_state(9) πŸ’–

okay so bestie, this one is straight out of the Kernel API Manual, and it's literally the glow-up status card for a regulator β€” think error/notification receipts, but make it kernel ✨


🌸 NAME 🌸

struct regulator_err_state β€” regulator error/notification status πŸŽ€


✨ SYNOPSIS ✨

       struct regulator_err_state {
           struct regulator_dev *rdev;
           unsigned long notifs;
           unsigned long errors;
           int possible_errs;
        };

πŸŽ€ Members πŸŽ€

  • rdev β€” the regulator whose status this struct is indicating, periodt πŸ’…
  • notifs β€” the events that have occurred on the regulator πŸ‘‘
  • errors β€” the errors that are active on the regulator right now 😭
  • possible_errs β€” the errors that can be signaled (by given IRQ) πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/regulator/driver.h β€” plus these iconic little references, no cap:

  • struct regulator_ops(9)
  • struct regulator_desc(9)
  • struct regulator_config(9)
  • struct regulator_irq_data(9)
  • struct regulator_irq_desc(9)

mwah πŸ’‹ this one lives under ./include/linux/regulator, it's dated October 2026, and it's literally struct regulator_err_state(9) β€” bye bestie, go slay those regulator vibes 🫢🌈

πŸ“¦ where this page comes from