phy_create_lookup(9)
π 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 π
phy_remove_lookup(9)phy_init(9)phy_exit(9)phy_power_on(9)phy_power_off(9)phy_calibrate(9)phy_notify_connect(9)phy_notify_disconnect(9)phy_notify_state(9)phy_configure(9)phy_validate(9)_of_phy_get(9)of_phy_get(9)of_phy_put(9)phy_put(9)devm_phy_put(9)of_phy_simple_xlate(9)phy_get(9)devm_phy_get(9)devm_phy_optional_get(9)devm_of_phy_get(9)devm_of_phy_optional_get(9)devm_of_phy_get_by_index(9)phy_create(9)devm_phy_create(9)phy_destroy(9)devm_phy_destroy(9)__of_phy_provider_register(9)__devm_of_phy_provider_register(9)of_phy_provider_unregister(9)devm_of_phy_provider_unregister(9)phy_release(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms