1GADGET_IS_OTG(9)            Kernel Mode Gadget API            GADGET_IS_OTG(9)
2
3
4

NAME

6       gadget_is_otg - return true iff the hardware is OTG-ready
7

SYNOPSIS

9       int gadget_is_otg(struct usb_gadget * g);
10

ARGUMENTS

12       g
13           controller that might have a Mini-AB connector
14

DESCRIPTION

16       This is a runtime test, since kernels with a USB-OTG stack sometimes
17       run on boards which only have a Mini-B (or Mini-A) connector.
18

AUTHOR

20       David Brownell <dbrownell@users.sourceforge.net>
21           Author.
22
24Kernel Hackers Manual 2.6.         June 2019                  GADGET_IS_OTG(9)
Impressum