phy_remove_lookup(9)
π« phy_remove_lookup β kernel API manual, section 9 π«
ok so bestie, welcome to the phy_remove_lookup(9) page π
this little cutie lives in the Kernel API Manual, section 9, and she's here to break up a situationship. literally a matchmaker in reverse. let's get into it π«Ά
β¨ NAME β¨
phy_remove_lookup β find and remove PHY/device association
like, find the association and un-associate it. it's giving "we need to talk" π
πΈ SYNOPSIS πΈ
void phy_remove_lookup (struct phy *phy , const char *con_id , const
char *dev_id );
no cap, that's the whole signature β it returns void, so there's nothing to check, she just does the thing and dips π
π ARGUMENTS π
phyβ the phy of the association. yeah. that phy. the main character of this whole operation β¨con_idβ connection ID string on device πdev_idβ the device of the association π±
all three together = the full identity of the association you're about to yeet π
π¦ DESCRIPTION π¦
okay so here's the tea β β this function finds and unregisters the phy_lookup entry that was created with phy_create_lookup. that's it. that's the whole vibe. it's the undo button for the lookup-creation button, fr fr π
so if you (or some other part of the kernel) made a lookup earlier, this is how you take it back out. no leftover association, no messy ex, just clean removal π§Ήβ¨
lowkey important: this is the official counterpart tophy_create_lookupβ the docs say the entry it unregisters is one "created withphy_create_lookup". so keep that pairing in your head, bestie π«Ά
π SEE ALSO π
the whole friend group π β kernel file ./drivers/phy/phy-core.c:
phy_create_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)
like. the entire phy friend group showed up to the group chat π iconic behavior honestly
and that's the page!! π this lil slice of kernel docs comes to you from ./drivers/phy, dated October 2026 β mwah, go touch some phy_lookup entries responsibly πβ¨π¦
π¦ 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