dwc2_hcd_is_b_host(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘‘

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