pse_pi_allocate_pw_budget(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

pse_pi_allocate_pw_budget β€” allocate power budget for the PI. Okay bestie, this is the pse_pi_allocate_pw_budget(9) page from the Kernel API Manual, and we're gonna get through it together. πŸ’–

πŸ› οΈ SYNOPSIS πŸ› οΈ

int pse_pi_allocate_pw_budget (struct pse_controller_dev *pcdev , int id
, int pw_req , struct netlink_ext_ack *extack );

πŸŽ€ ARGUMENTS πŸŽ€

okay so here's the cast, bestie:

  • pcdev β€” a pointer to the PSE. It's giving main-character pointer energy. πŸ‘‘
  • id β€” index of the PSE control. Literally the ID. πŸ”’
  • pw_req β€” power requested in mW. Keep that unit exactly as written, no cap. ⚑
  • extack β€” extack for error reporting. It's the little messenger for when stuff goes sideways. 🫢

πŸ” RETURN πŸ”

0 on success and failure value on error. That's the whole vibe check: 0 when it's slaying, failure value when it's not. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/net/pse-pd/pse_core.c β€” go say hi to these too, iykyk:


and that's the page, bestie πŸ¦‹βœ¨ catch you later β€” source/version ./drivers/net/pse-pd, dated October 2026. πŸ’œ

πŸ“¦ where this page comes from