Lines Matching refs:otg
2 * drivers/usb/otg/nop-usb-xceiv.c
32 #include <linux/usb/otg.h>
36 struct otg_transceiver otg;
63 return container_of(x, struct nop_usb_xceiv, otg);
82 nop->otg.gadget = NULL;
86 nop->otg.gadget = gadget;
87 nop->otg.state = OTG_STATE_B_IDLE;
101 nop->otg.host = NULL;
105 nop->otg.host = host;
119 nop->otg.dev = nop->dev;
120 nop->otg.label = "nop-xceiv";
121 nop->otg.state = OTG_STATE_UNDEFINED;
122 nop->otg.set_host = nop_set_host;
123 nop->otg.set_peripheral = nop_set_peripheral;
124 nop->otg.set_suspend = nop_set_suspend;
126 err = otg_set_transceiver(&nop->otg);