psec_id_xlate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… psec_id_xlate β€” the psec_id_xlate(9) glow-up

okay so bestie, welcome to the Kernel API Manual ✨ this one lives in the kernel and it's lowkey a translator girlie β€” she takes your pse_spec and turns it into the actual PSE line number, based on how many pse-cells you've got, but only when there's no pse_pi node. no cap. πŸŽ€


✨ NAME ✨

psec_id_xlate β€” translate pse_spec to the PSE line number according to the number of pse-cells in case of no pse_pi node πŸ¦‹

🌸 SYNOPSIS 🌸

int psec_id_xlate (struct pse_controller_dev *pcdev , const struct
of_phandle_args *pse_spec );

πŸ’– ARGUMENTS πŸ’–

  • pcdev β€” a pointer to the PSE controller device. yes she's the main character, she holds the controller energy πŸ‘‘
  • pse_spec β€” PSE line specifier as found in the device tree. literally where the vibes (and the cells) come from 🌈

⭐ RETURN ⭐

Returns 0 if #pse-cells = <0>. Return PSE line number otherwise. that's it, that's the whole personality πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, no one left behind 🫢 β€” kernel file ./drivers/net/pse-pd/pse_core.c plus:


ngl bestie, if you're in ./drivers/net/pse-pd and it's October 2026, you're exactly where this page came from β€” that's the source path and date, and psec_id_xlate(9) is the version tag riding along with you. slay πŸ’œπŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from