dwc2_hsotg_wait_bit_clear(9)
π
dwc2_hsotg_wait_bit_clear(9) π
okay so bestie, this one is from the Kernel API Manual, and itβs literally all about waiting for a bit to be clear. no cap, thatβs the whole vibe. π«Ά
β¨ NAME β¨
dwc2_hsotg_wait_bit_clear β waits for bit to be clear. π
π¦ SYNOPSIS π¦
int dwc2_hsotg_wait_bit_clear (struct dwc2_hsotg *hsotg , u32 offset ,
u32 mask , u32 timeout );
π ARGUMENTS π
hsotgβ programming view of theDWC_otgcontroller. thatβs the controllerβs whole POV, bestie. πoffsetβ the registerβs offset where the bit/bits must be set. yes, set β weβre keeping the original wording, donβt come for me πmaskβ mask of the bit/bits which must be set. slay, itβs giving βwhich bits are we checkingβ energy. β¨timeoutβ timeout to wait. the βhow long are we gonna sit hereβ number. β³
π₯ RETURN π₯
0 if bit/bits are set, or -ETIMEDOUT in case of timeout. periodt. π
π SEE ALSO π
these live in the kernel file ./drivers/usb/dwc2/core.c, and theyβre all iconic in their own right:
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_hib_restore_common(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)
mwah π this page was brought to you by the source/version <pink>./drivers/usb/dwc2</pink> and the date October 2026, with the footer title <rainbow>dwc2_hsotg_wait_bit_clear(9)` β and thatβs the tea. ππ§π
π¦ 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