/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/usb/ |
H A D | otg.h | 52 int (*read)(struct otg_transceiver *otg, u32 reg); 53 int (*write)(struct otg_transceiver *otg, u32 val, u32 reg); 57 * the otg driver needs to interact with both device side and host side 60 * configuration information (including "board isn't wired for otg"). 84 int (*init)(struct otg_transceiver *otg); 85 void (*shutdown)(struct otg_transceiver *otg); 88 int (*set_host)(struct otg_transceiver *otg, 92 int (*set_peripheral)(struct otg_transceiver *otg, 96 int (*set_power)(struct otg_transceiver *otg, 100 int (*set_vbus)(struct otg_transceiver *otg, 134 otg_io_read(struct otg_transceiver *otg, u32 reg) argument 142 otg_io_write(struct otg_transceiver *otg, u32 val, u32 reg) argument 151 otg_init(struct otg_transceiver *otg) argument 160 otg_shutdown(struct otg_transceiver *otg) argument 172 otg_start_hnp(struct otg_transceiver *otg) argument 179 otg_set_vbus(struct otg_transceiver *otg, bool enabled) argument 186 otg_set_host(struct otg_transceiver *otg, struct usb_bus *host) argument 195 otg_set_peripheral(struct otg_transceiver *otg, struct usb_gadget *periph) argument 201 otg_set_power(struct otg_transceiver *otg, unsigned mA) argument 208 otg_set_suspend(struct otg_transceiver *otg, int suspend) argument 217 otg_start_srp(struct otg_transceiver *otg) argument 224 otg_register_notifier(struct otg_transceiver *otg, struct notifier_block *nb) argument 230 otg_unregister_notifier(struct otg_transceiver *otg, struct notifier_block *nb) argument [all...] |
H A D | ulpi.h | 14 #include <linux/usb/otg.h>
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/otg/ |
H A D | ulpi.c | 29 #include <linux/usb/otg.h> 40 static int ulpi_set_otg_flags(struct otg_transceiver *otg) argument 45 if (otg->flags & ULPI_OTG_ID_PULLUP) 52 if (otg->flags & ULPI_OTG_DP_PULLDOWN_DIS) 55 if (otg->flags & ULPI_OTG_DM_PULLDOWN_DIS) 58 if (otg->flags & ULPI_OTG_EXTVBUSIND) 61 return otg_io_write(otg, flags, ULPI_OTG_CTRL); 64 static int ulpi_set_fc_flags(struct otg_transceiver *otg) argument 72 if (otg->flags & ULPI_FC_HS) 74 else if (otg 106 ulpi_set_ic_flags(struct otg_transceiver *otg) argument 125 ulpi_set_flags(struct otg_transceiver *otg) argument 140 ulpi_init(struct otg_transceiver *otg) argument 164 ulpi_set_host(struct otg_transceiver *otg, struct usb_bus *host) argument 189 ulpi_set_vbus(struct otg_transceiver *otg, bool on) argument 210 struct otg_transceiver *otg; local [all...] |
H A D | nop-usb-xceiv.c | 2 * drivers/usb/otg/nop-usb-xceiv.c 32 #include <linux/usb/otg.h> 36 struct otg_transceiver otg; member in struct:nop_usb_xceiv 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 [all...] |
H A D | gpio_vbus.c | 23 #include <linux/usb/otg.h> 34 struct otg_transceiver otg; member in struct:gpio_vbus_data 100 if (!gpio_vbus->otg.gadget) 110 gpio_vbus->otg.state = OTG_STATE_B_PERIPHERAL; 111 usb_gadget_vbus_connect(gpio_vbus->otg.gadget); 126 usb_gadget_vbus_disconnect(gpio_vbus->otg.gadget); 127 gpio_vbus->otg.state = OTG_STATE_B_IDLE; 140 gpio_vbus->otg.gadget ? gpio_vbus->otg.gadget->name : "none"); 142 if (gpio_vbus->otg 151 gpio_vbus_set_peripheral(struct otg_transceiver *otg, struct usb_gadget *gadget) argument 191 gpio_vbus_set_power(struct otg_transceiver *otg, unsigned mA) argument 203 gpio_vbus_set_suspend(struct otg_transceiver *otg, int suspend) argument [all...] |
H A D | isp1301_omap.c | 32 #include <linux/usb/otg.h> 55 struct otg_transceiver otg; member in struct:isp1301 259 return state_string(isp->otg.state); 274 isp->otg.state = OTG_STATE_UNDEFINED; 303 if (!isp->otg.host) 309 dev = isp->otg.host->controller; 321 if (!isp->otg.host) 324 dev = isp->otg.host->controller; 331 isp->otg.gadget->b_hnp_enable = 0; 332 isp->otg 1295 isp1301_set_host(struct otg_transceiver *otg, struct usb_bus *host) argument 1350 isp1301_set_peripheral(struct otg_transceiver *otg, struct usb_gadget *gadget) argument [all...] |
H A D | Makefile | 6 obj-$(CONFIG_USB_OTG_UTILS) += otg.o
|
H A D | otg.c | 2 * otg.c -- USB OTG utility code 15 #include <linux/usb/otg.h>
|
H A D | twl4030-usb.c | 35 #include <linux/usb/otg.h> 148 struct otg_transceiver otg; member in struct:twl4030_usb 169 #define xceiv_to_twl(x) container_of((x), struct twl4030_usb, otg); 286 twl->otg.default_a = true; 287 twl->otg.state = OTG_STATE_A_IDLE; 289 twl->otg.default_a = false; 290 twl->otg.state = OTG_STATE_B_IDLE; 491 blocking_notifier_call_chain(&twl->otg.notifier, status, 492 twl->otg.gadget); 513 blocking_notifier_call_chain(&twl->otg [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-mx3/ |
H A D | mx31moboard-devboard.c | 23 #include <linux/usb/otg.h> 161 static int devboard_isp1105_init(struct otg_transceiver *otg) argument 180 static int devboard_isp1105_set_vbus(struct otg_transceiver *otg, bool on) argument 198 struct otg_transceiver *otg; local 200 otg = kzalloc(sizeof(*otg), GFP_KERNEL); 201 if (!otg) 204 otg->label = "ISP1105"; 205 otg->init = devboard_isp1105_init; 206 otg [all...] |
H A D | mx31moboard-marxbot.c | 26 #include <linux/usb/otg.h> 277 static int marxbot_isp1105_init(struct otg_transceiver *otg) argument 296 static int marxbot_isp1105_set_vbus(struct otg_transceiver *otg, bool on) argument 314 struct otg_transceiver *otg; local 316 otg = kzalloc(sizeof(*otg), GFP_KERNEL); 317 if (!otg) 320 otg->label = "ISP1105"; 321 otg->init = marxbot_isp1105_init; 322 otg [all...] |
H A D | mach-cpuimx35.c | 31 #include <linux/usb/otg.h> 194 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|
H A D | mx31moboard-smartbot.c | 24 #include <linux/usb/otg.h> 136 otg_host_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|
H A D | mach-mx31lilly.c | 33 #include <linux/usb/otg.h> 247 usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, 249 usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|
H A D | mach-mx31lite.c | 27 #include <linux/usb/otg.h> 258 usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/ |
H A D | ulpi.c | 24 #include <linux/usb/otg.h> 60 static int ulpi_read(struct otg_transceiver *otg, u32 reg) argument 63 void __iomem *view = otg->io_priv; 86 static int ulpi_write(struct otg_transceiver *otg, u32 val, u32 reg) argument 89 void __iomem *view = otg->io_priv;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-omap/ |
H A D | usb.c | 61 if (config->otg) 80 if (config->otg) 81 printk(", Mini-AB on usb%d", config->otg - 1); 101 if (config->otg || config->register_dev) { 113 if (config->otg || config->register_host) { 125 if (config->otg) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/include/mach/ |
H A D | mxc_ehci.h | 47 struct otg_transceiver *otg; member in struct:mxc_usbh_platform_data
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/ |
H A D | ehci-mxc.c | 23 #include <linux/usb/otg.h> 208 if (pdata->otg) { 209 pdata->otg->io_priv = hcd->regs + ULPI_VIEWPORT_OFFSET; 210 ret = otg_init(pdata->otg); 216 ret = otg_set_vbus(pdata->otg, 1); 264 if (pdata->otg) 265 otg_shutdown(pdata->otg);
|
H A D | ohci-omap.c | 193 int need_transceiver = (config->otg != 0); 198 if (config->otg) { 199 ohci_to_hcd(ohci)->self.otg_port = config->otg; 430 if (config->otg || config->rwc) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-mx25/ |
H A D | mach-cpuimx25.c | 28 #include <linux/usb/otg.h> 140 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-omap1/ |
H A D | board-generic.c | 51 .otg = 1,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-omap/include/plat/ |
H A D | board.h | 69 * ... for OTG use as device OR host, initialize "otg" 73 u8 otg; /* port number, 1-based: usb1 == 2 */ member in struct:omap_usb_config 77 /* implicitly true if otg: host supports remote wakeup? */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-imx/ |
H A D | mach-cpuimx27.c | 29 #include <linux/usb/otg.h> 281 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, 287 usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|
H A D | mach-pca100.c | 30 #include <linux/usb/otg.h> 414 gpio_request(OTG_PHY_CS_GPIO, "usb-otg-cs"); 421 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, 427 usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
|