usb_phy_set_event(9)
π usb_phy_set_event(9) β a kernel API manual moment
okay so bestie, welcome to the Kernel API Manual page for usb_phy_set_event(9) β yes that's the manual name, we're in the kernel docs now, main character energy fr fr π«Ά
β¨ NAME β¨
usb_phy_set_event β set event to phy event π«
like, it literally sets the event. to the phy event. that's the whole vibe.
πΈ SYNOPSIS πΈ
void usb_phy_set_event (struct usb_phy *x , unsigned long event );
no cap, that's the whole signature, copy it exactly bestie π
π ARGUMENTS π
xβ the phy returned byusb_get_phy; like, this is your phy pointer, it came from there, don't invent one πeventβ event to set π this is the event you're setting, that's it, that's the job
π¦ DESCRIPTION π¦
This sets event to phy event β¨
that'sβ¦ literally what the manpage says and honestly? iconic. it's giving "does exactly what it says on the tin." lowkey the most honest function description in the whole kernel tbh π
π SEE ALSO π
Kernel file ./drivers/usb/phy/phy.c β go read it, it's where the lore lives π
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_put_phy(9)usb_add_phy(9)usb_add_phy_dev(9)usb_remove_phy(9)
that's the whole friend group, the phy squad, the charger-type girlies, all of them π§ββοΈ
bestie note: the phy in question is the one from usb_get_phy, so likeβ¦ get the phy first, then set the event. order matters, iykyk π
okay that's the page!! mwah π this was brought to you by the ./drivers/usb/phy directory, October 2026 era, and the Kernel API Manual itself β periodt, slay, don't forget to man 9 usb_phy_set_event ππ¦β
π¦ 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