phy_create_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_create_lookup(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual we're in, we're doing kernel docs today, get comfy πŸŽ€

✨ NAME ✨

phy_create_lookup β€” allocate and register a PHY/device association. that's it, that's the whole vibe: you're literally matchmaking a PHY with a device and making it official πŸ’–


🌸 SYNOPSIS 🌸

int phy_create_lookup (struct phy *phy , const char *con_id , const char
       *dev_id );

look at her. three args, one int return, zero drama. she's giving "small function, big responsibilities" πŸ‘‘

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phy β€” the phy of the association. like, the actual PHY in question, the main character of this whole situation ✨
  • con_id β€” connection ID string on device. a little name tag for the connection, so the device knows which one it's looking at πŸŽ€
  • dev_id β€” the device of the association. the other half of this pairing, the one the PHY is getting matched up with 🫢

πŸ’œ DESCRIPTION πŸ’œ

creates and registers a phy_lookup entry. that's the whole thing, no cap β€” it makes the entry, it registers it, done. lowkey iconic how simple that is 😭

side note bestie: this is one of those functions that just... does the thing. so if you call it, you get a lookup entry. slay.

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the manpage lists everyone β€” like a group chat roster, and yes we are reading the whole thing, no skipping πŸ™ˆ

also the kernel file to go peek at if you're nosy (affectionate): ./drivers/phy/phy-core.c πŸ’«


and that's the page!! sourced from the kernel file in ./drivers/phy, dated October 2026, and yes she's filed under phy_create_lookup(9). go forth and register your lookups bestie, ily, bye πŸ’…πŸ’–

πŸ“¦ where this page comes from