usb_put_phy(9)
π usb_put_phy(9) β from the Kernel API Manual β¨
okay so bestie, welcome to usb_put_phy(9), the little cleanup queen of the USB PHY world. she's short, she's sweet, and honestly she's giving "someone has to do it" energy π
π¦ NAME
usb_put_phy β release the USB PHY, no cap π
β¨ SYNOPSIS
void usb_put_phy (struct usb_phy *x );
that's it. that's the whole signature. one argument, returns nothing, zero drama π
π ARGUMENTS
xβ the phy returned byusb_get_phy. like, the actual one you got back, not a random one you found lying around, i'm begging you π
πΈ DESCRIPTION
okay so here's the tea: this function releases a refcount that the caller received from usb_get_phy. that's literally the whole job. you got the phy, you're done with the phy, you put the phy back. balance. harmony. the circle of life π§β¨
it's for use by USB host and peripheral drivers β so if that's your lane, slay, this is your function. if it's not your lane... why are you here bestie π
lowkey important: this is the counterpart to usb_get_phy, so treat them like a matching set. you wouldn't take the phy and never give it back, that's not the vibe π«Ά
π₯ SEE ALSO
the whole friend group, pls go say hi π
- Kernel file
./drivers/usb/phy/phy.c usb_phy_notify_charger_work(9)usb_phy_get_charger_type(9)usb_phy_set_charger_current(9)usb_phy_get_charger_current(9)usb_phy_set_charger_state(9)devm_usb_get_phy(9)usb_get_phy(9)devm_usb_get_phy_by_node(9)devm_usb_get_phy_by_phandle(9)usb_add_phy(9)usb_add_phy_dev(9)usb_remove_phy(9)usb_phy_set_event(9)
and that's the whole page bestie!! π¦ this lil icon lives up in ./drivers/usb/phy, and this rendition is dated October 2026, page usb_put_phy(9). go put that phy back, periodt π
π
π¦ 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