dwc2_hcd_is_b_host(9)
π dwc2_hcd_is_b_host(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual page for dwc2_hcd_is_b_host(9). This one is short and iconic: it's the function that tells you if the core is currently acting as B host. No cap. π¦
β¨ NAME β¨
dwc2_hcd_is_b_host β Returns 1 if core currently is acting as B host, and 0 otherwise. Literally that's the whole personality. π
πΈ SYNOPSIS πΈ
int dwc2_hcd_is_b_host (struct dwc2_hsotg *hsotg );
This is the signature, fr fr: it returns an int, and it takes one pointer to struct dwc2_hsotg named hsotg. That's it. She's simple, she's clean, she's serving. β¨
π ARGUMENTS π
hsotgβ The DWC2 HCD. That's the argument, bestie. One and only. π«Ά
π SEE ALSO π
- Kernel file
./drivers/usb/dwc2/hcd.hβ the header context, iykyk. π struct dwc2_host_chan(9)struct dwc2_tt(9)struct dwc2_hs_transfer_time(9)struct dwc2_qh(9)struct dwc2_qtd(9)dwc2_handle_hcd_intr(9)dwc2_hcd_stop(9)dwc2_hcd_dump_state(9)
These are the related structs and functions, and yes, you should go read them if you're being nosy. π₯
Okay bestie, cute sign-off time: this page lives in ./drivers/usb/dwc2, it's dated October 2026, and its title is dwc2_hcd_is_b_host(9). Slay, bye! πβ¨
π¦ 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