of_pse_match_pi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Bestie, welcome to of_pse_match_pi(9), straight outta the Kernel API Manual β€” and this function has one main-character job: Find the PSE PI id matching the device node phandle. That's it, that's the vibe. No cap. πŸ’–


✨ SYNOPSIS ✨

int of_pse_match_pi (struct pse_controller_dev *pcdev , struct
       device_node *np );

πŸŽ€ ARGUMENTS πŸŽ€

  • pcdev β€” a pointer to the PSE controller device. Like, the controller device itself, bestie. 🫢
  • np β€” a pointer to the device node. The device node in question. 🌸

πŸ’– RETURN πŸ’–

Returns the id of the PSE PI, or -EINVAL if it's not found. So the matchy-matchy path gives you the id; the not-found path is literally -EINVAL, periodt. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Okay so the kernel file is ./drivers/net/pse-pd/pse_core.c, and these are all the references in the group chat, fr fr:


Signed, sealed, and slaying from ./drivers/net/pse-pd, dated October 2026, on the of_pse_match_pi(9) page. Stay iconic, kernel bestie. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from