dwc2_gadget_...l_power_down(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dwc2_gadget_enter_partial_power_down(9) β€” the kernel API manual, bestie edition πŸŽ€

okay so you're reading the Kernel API Manual page for dwc2_gadget_...l_power_down(9) β€” yes that's the truncated lil header name, it's giving "my name got cut off by the column width" but we move πŸ’…


✨ NAME ✨

dwc2_gadget_enter_partial_power_down β€” put the controller in partial power down, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int dwc2_gadget_enter_partial_power_down (struct dwc2_hsotg *hsotg );

πŸ“ ARGUMENTS πŸ“

  • hsotg β€” the programming view of the DWC_otg controller. that's the whole vibe check for this one ✨

🌸 RETURN 🌸

non-zero if it failed to enter device partial power down. so like, 0 = we slayed, anything else = it did not eat 😭


πŸ”₯ DESCRIPTION πŸ”₯

This function is literally for entering device mode partial power down. that's it, that's the whole assignment. she does one thing and she does it well πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/usb/dwc2/gadget.c, plus the whole group chat of friends:


and that's the page bestie 🫢 this one lives in ./drivers/usb/dwc2, brought to you by the October 2026 release, and we are obsessed πŸ’–βœ¨

πŸ“¦ where this page comes from