regulator_ev...ard_notifier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is regulator_event_forward_notifier(9) from the Kernel API Manual β€” the notifier callback for supply events πŸ’– she's niche, she's specific, and she's literally the main character of this page.

✨ SYNOPSIS ✨

int regulator_event_forward_notifier (struct notifier_block *nb ,
       unsigned long event , void *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • nb β€” the notifier block embedded in the regulator, iykyk 🫢
  • event β€” the regulator event code, aka the tea being passed along
  • data β€” unused; she's just there, lowkey chilling πŸ™ˆ

πŸ’… DESCRIPTION πŸ’…

okay so the whole slay here is that she packages the event into a work item and schedules it in process context. She also takes a reference on rdev->dev to pin the regulator until the work completes β€” and yes bestie, you can see put_device doing its thing in the worker 😌. no cap, that reference is the whole point.

πŸ’– RETURN πŸ’–

  • NOTIFY_OK on success β€” slay ✨
  • NOTIFY_DONE for events that are not forwarded β€” she's not mad, she's just not passing those along πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/regulator/core.c


😘 okay that's the whole page, bestie! it's serving regulator_event_forward_notifier(9) from the Kernel API Manual, sourced from ./drivers/regulator, and dated October 2026. slay, and remember: the vibe is forwarded, the facts are untouched πŸ’…βœ¨

πŸ“¦ where this page comes from