/drivers/mfd/ |
H A D | Kconfig | 683 provide numerous interfaces including USB host controller, USB gadget,
|
/drivers/misc/ |
H A D | Kconfig | 386 bool "PCIe gadget support for SPEAr13XX platform" 390 This option enables gadget support for PCIe controller. If
|
/drivers/net/usb/ |
H A D | Kconfig | 125 - An intelligent USB gadget, perhaps embedding a Linux system.
|
/drivers/phy/ |
H A D | phy-omap-usb2.c | 93 struct usb_gadget *gadget) 97 otg->gadget = gadget; 98 if (!gadget) 92 omap_usb_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) argument
|
H A D | phy-twl4030-usb.c | 602 struct usb_gadget *gadget) 607 otg->gadget = gadget; 608 if (!gadget) 601 twl4030_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) argument
|
/drivers/power/ |
H A D | isp1704_charger.c | 38 #include <linux/usb/gadget.h> 270 if (isp->phy->otg->gadget) 271 usb_gadget_connect(isp->phy->otg->gadget); 300 if (isp->phy->otg->gadget) 301 usb_gadget_disconnect(isp->phy->otg->gadget); 486 * gadget is loaded. 488 if (isp->phy->otg->gadget) 489 usb_gadget_disconnect(isp->phy->otg->gadget);
|
/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 2 * drivers/usb/gadget/emxx_udc.c 40 #include <linux/usb/gadget.h> 492 udc->gadget.dev.parent, 502 udc->gadget.dev.parent, 539 dma_unmap_single(udc->gadget.dev.parent, 548 dma_sync_single_for_cpu(udc->gadget.dev.parent, 1781 nret = udc->driver->setup(&udc->gadget, &udc->ctrl); 1893 if (udc->gadget.speed == USB_SPEED_UNKNOWN) 1894 udc->gadget.speed = _nbu2ss_get_speed(udc); 2245 udc->gadget [all...] |
H A D | emxx_udc.h | 607 struct usb_gadget gadget; member in struct:nbu2ss_udc
|
/drivers/usb/ |
H A D | Kconfig | 150 source "drivers/usb/gadget/Kconfig" 156 This option adds LED triggers for USB host and/or gadget activity. 160 gadget.
|
H A D | Makefile | 60 obj-$(CONFIG_USB_GADGET) += gadget/
|
/drivers/usb/chipidea/ |
H A D | ci.h | 19 #include <linux/usb/gadget.h> 63 * @ep: endpoint structure for gadget drivers 101 * struct ci_role_driver - host/gadget role driver 105 * @name: role name string (host/gadget) 149 * @gadget: device side representation for peripheral controller 150 * @driver: gadget driver 188 struct usb_gadget gadget; member in struct:ci_hdrc
|
H A D | ci_hdrc_msm.c | 13 #include <linux/usb/gadget.h> 22 struct device *dev = ci->gadget.dev.parent;
|
H A D | ci_hdrc_pci.c | 17 #include <linux/usb/gadget.h>
|
H A D | ci_hdrc_zevio.c | 14 #include <linux/usb/gadget.h>
|
H A D | core.c | 22 * - GADGET: gadget operations (Gadget API) 59 #include <linux/usb/gadget.h> 662 dev_info(dev, "doesn't support gadget\n"); 690 * role switch, the defalt role is gadget, and the
|
H A D | debug.c | 9 #include <linux/usb/gadget.h> 26 struct usb_gadget *gadget = &ci->gadget; local 28 seq_printf(s, "speed = %d\n", gadget->speed); 29 seq_printf(s, "max_speed = %d\n", gadget->max_speed); 30 seq_printf(s, "is_otg = %d\n", gadget->is_otg); 31 seq_printf(s, "is_a_peripheral = %d\n", gadget->is_a_peripheral); 32 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); 33 seq_printf(s, "a_hnp_support = %d\n", gadget->a_hnp_support); 34 seq_printf(s, "a_alt_hnp_support = %d\n", gadget [all...] |
H A D | otg.c | 19 #include <linux/usb/gadget.h> 65 usb_gadget_vbus_connect(&ci->gadget); 67 usb_gadget_vbus_disconnect(&ci->gadget);
|
H A D | otg_fsm.c | 23 #include <linux/usb/gadget.h> 559 usb_gadget_vbus_connect(&ci->gadget); 561 usb_gadget_vbus_disconnect(&ci->gadget); 582 * when there is no gadget class driver 608 * when register gadget driver with vbus on 686 /* if gadget driver is binded */ 689 ci->gadget.is_a_peripheral = 1; 792 otg->gadget = &ci->gadget;
|
H A D | udc.c | 22 #include <linux/usb/gadget.h> 410 * @gadget: gadget 429 ret = usb_gadget_map_request(&ci->gadget, &hwreq->req, hwep->dir); 527 * @gadget: gadget 585 usb_gadget_unmap_request(&hwep->ci->gadget, &hwreq->req, hwep->dir); 643 * @gadget: gadget 647 static int _gadget_stop_activity(struct usb_gadget *gadget) argument 1636 ci_udc_start(struct usb_gadget *gadget, struct usb_gadget_driver *driver) argument 1685 ci_udc_stop(struct usb_gadget *gadget, struct usb_gadget_driver *driver) argument [all...] |
/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 29 #include <linux/usb/gadget.h> 265 else if (fsm->b_sess_vld && fsm->otg->gadget) 279 gadget->b_hnp_enable && fsm->a_bus_suspend)
|
/drivers/usb/dwc2/ |
H A D | Makefile | 10 # this location and renamed gadget.c. When building for dynamically linked 14 # At present the host and gadget driver will be separate drivers, but there 28 dwc2_gadget-y := gadget.o
|
H A D | core.h | 42 #include <linux/usb/gadget.h> 92 * @ep: The gadget layer representation of the endpoint. 160 * @driver: USB gadget driver 180 * @eps: The endpoints being supplied to the gadget framework 212 struct usb_gadget gadget; member in struct:s3c_hsotg 220 * @req: The USB gadget request 234 if ((_hs)->gadget.speed != USB_SPEED_UNKNOWN && \ 237 (_hs)->driver->_entry(&(_hs)->gadget); \
|
H A D | gadget.c | 34 #include <linux/usb/gadget.h> 51 static inline struct s3c_hsotg *to_hsotg(struct usb_gadget *gadget) argument 53 return container_of(gadget, struct s3c_hsotg, gadget); 296 usb_gadget_unmap_request(&hsotg->gadget, req, hs_ep->dir_in); 721 ret = usb_gadget_map_request(&hsotg->gadget, req, hs_ep->dir_in); 1077 * gadget driver). 1137 ret = hsotg->driver->setup(&hsotg->gadget, ctrl); 1459 * send ZLP when we have an asynchronous request from gadget 1942 hsotg->gadget 2868 s3c_hsotg_udc_start(struct usb_gadget *gadget, struct usb_gadget_driver *driver) argument 2924 s3c_hsotg_udc_stop(struct usb_gadget *gadget, struct usb_gadget_driver *driver) argument 2958 s3c_hsotg_gadget_getframe(struct usb_gadget *gadget) argument 2970 s3c_hsotg_pullup(struct usb_gadget *gadget, int is_on) argument [all...] |
/drivers/usb/dwc3/ |
H A D | Makefile | 16 dwc3-y += gadget.o ep0.o
|
H A D | core.c | 37 #include <linux/usb/gadget.h> 43 #include "gadget.h" 571 dev_err(dev, "failed to initialize gadget\n"); 593 dev_err(dev, "failed to initialize gadget\n");
|