Searched refs:otg (Results 1 - 25 of 51) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/usb/
H A Dotg.h52 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 Dulpi.h14 #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 Dulpi.c29 #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 Dnop-usb-xceiv.c2 * 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 Dgpio_vbus.c23 #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 Disp1301_omap.c32 #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 DMakefile6 obj-$(CONFIG_USB_OTG_UTILS) += otg.o
H A Dotg.c2 * otg.c -- USB OTG utility code
15 #include <linux/usb/otg.h>
H A Dtwl4030-usb.c35 #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 Dmx31moboard-devboard.c23 #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 Dmx31moboard-marxbot.c26 #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 Dmach-cpuimx35.c31 #include <linux/usb/otg.h>
194 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
H A Dmx31moboard-smartbot.c24 #include <linux/usb/otg.h>
136 otg_host_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
H A Dmach-mx31lilly.c33 #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 Dmach-mx31lite.c27 #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 Dulpi.c24 #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 Dusb.c61 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 Dmxc_ehci.h47 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 Dehci-mxc.c23 #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 Dohci-omap.c193 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 Dmach-cpuimx25.c28 #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 Dboard-generic.c51 .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 Dboard.h69 * ... 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 Dmach-cpuimx27.c29 #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 Dmach-pca100.c30 #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,

Completed in 189 milliseconds

123