dwc2_hib_restore_common(9)
π dwc2_hib_restore_common π
okay bestie, so this is a page straight out of the Kernel API Manual β and we're talking about dwc2_hib_restore_common, which is literally the common part of the restore routine. that's it, that's the whole vibe: the shared little chunk of the restore path for the DWC2 USB driver. no cap. π¦
β¨ NAME β¨
dwc2_hib_restore_common β the common part of the restore routine. that's the whole job description, she's a team player, she handles the bits that both modes need. periodt. π
πΈ SYNOPSIS πΈ
void dwc2_hib_restore_common (struct dwc2_hsotg *hsotg , int rem_wakeup
, int is_host );
yep, she returns void β nothing comes back out, she just does the thing. queen behavior honestly. π
π ARGUMENTS π
hsotgβ the programming view of theDWC_otgcontroller π«Ά like, this is your controller, your main character, the whole reason we're here.rem_wakeupβ remote-wakeup, and it's enabled in case of remote-wakeup. yes the description is a little circular, we don't make the rules, we just pass the flag πis_hostβ host or device mode. that's the entire explanation and honestly? iconic. pick a lane, the function needs to know which one. β¨
π¦ SEE ALSO π¦
bestie there is a whole friend group here, all hanging out in the kernel file ./drivers/usb/dwc2/core.c:
dwc2_backup_global_registers(9)dwc2_restore_global_registers(9)dwc2_exit_partial_power_down(9)dwc2_enter_partial_power_down(9)dwc2_restore_essential_regs(9)dwc2_wait_for_mode(9)dwc2_iddig_filter_enabled(9)dwc2_force_mode(9)dwc2_clear_force_mode(9)dwc2_dump_host_registers(9)dwc2_dump_global_registers(9)dwc2_flush_tx_fifo(9)dwc2_flush_rx_fifo(9)dwc2_enable_global_interrupts(9)dwc2_disable_global_interrupts(9)dwc2_hsotg_wait_bit_set(9)dwc2_hsotg_wait_bit_clear(9)
like, the entire squad. go read them, iykyk π
ngl, this one's a supporting character β no dramatic warnings, no π¨ danger zone, just a void function doing her little restore shift. but every main character needs a bestie, so show her some love. π
and that's the page!! brought to you by ./drivers/usb/dwc2, dated October 2026, from the Kernel API Manual β mwah, drink some water, go touch a USB controller ππ§ββοΈπΈ
π¦ 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