Query: gadget_is_otg
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GADGET_IS_OTG(9) Kernel Mode Gadget API GADGET_IS_OTG(9)NAMEgadget_is_otg - return true iff the hardware is OTG-readySYNOPSISint gadget_is_otg(struct usb_gadget * g);ARGUMENTSg controller that might have a Mini-AB connectorDESCRIPTIONThis is a runtime test, since kernels with a USB-OTG stack sometimes run on boards which only have a Mini-B (or Mini-A) connector.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 GADGET_IS_OTG(9)