/openbmc/linux/include/linux/usb/ |
H A D | gadget.h | 303 struct usb_gadget; 311 int (*get_frame)(struct usb_gadget *); 312 int (*wakeup)(struct usb_gadget *); 319 int (*ioctl)(struct usb_gadget *, 323 int (*udc_start)(struct usb_gadget *, 325 int (*udc_stop)(struct usb_gadget *); 412 struct usb_gadget { struct 468 static inline struct usb_gadget *usb_get_gadget(struct usb_gadget *gadget) in usb_get_gadget() 731 int (*setup)(struct usb_gadget *, 736 void (*reset)(struct usb_gadget *); [all …]
|
H A D | composite.h | 244 int config_ep_by_speed_and_alt(struct usb_gadget *g, struct usb_function *f, 247 int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f, 422 void check_remote_wakeup_config(struct usb_gadget *g, 455 struct usb_gadget *gadget; 510 extern void composite_disconnect(struct usb_gadget *gadget); 511 extern void composite_reset(struct usb_gadget *gadget); 513 extern int composite_setup(struct usb_gadget *gadget, 515 extern void composite_suspend(struct usb_gadget *gadget); 516 extern void composite_resume(struct usb_gadget *gadget);
|
H A D | otg.h | 23 struct usb_gadget *gadget; 32 struct usb_gadget *gadget); 96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
|
/openbmc/u-boot/include/linux/usb/ |
H A D | gadget.h | 432 struct usb_gadget; 439 int (*get_frame)(struct usb_gadget *); 440 int (*wakeup)(struct usb_gadget *); 445 int (*ioctl)(struct usb_gadget *, 447 int (*udc_start)(struct usb_gadget *, 449 int (*udc_stop)(struct usb_gadget *); 498 struct usb_gadget { struct 806 int (*bind)(struct usb_gadget *); 807 void (*unbind)(struct usb_gadget *); 808 int (*setup)(struct usb_gadget *, [all …]
|
H A D | composite.h | 144 ep_choose(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_choose() 321 struct usb_gadget *gadget;
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | core.c | 55 struct usb_gadget *gadget; 510 int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup() 743 int usb_gadget_connect(struct usb_gadget *gadget) in usb_gadget_connect() 871 int usb_gadget_activate(struct usb_gadget *gadget) in usb_gadget_activate() 1261 struct usb_gadget *gadget = udc->gadget; in usb_gadget_udc_set_speed() 1287 struct usb_gadget *gadget = udc->gadget; in usb_gadget_enable_async_callbacks() 1316 struct usb_gadget *gadget = udc->gadget; in usb_gadget_disable_async_callbacks() 1375 int usb_add_gadget(struct usb_gadget *gadget) in usb_add_gadget() 1518 void usb_del_gadget(struct usb_gadget *gadget) in usb_del_gadget() 1766 struct usb_gadget *gadget = udc->gadget; in state_show() [all …]
|
H A D | trace.h | 21 TP_PROTO(struct usb_gadget *g, int ret), 85 TP_PROTO(struct usb_gadget *g, int ret), 90 TP_PROTO(struct usb_gadget *g, int ret), 95 TP_PROTO(struct usb_gadget *g, int ret), 100 TP_PROTO(struct usb_gadget *g, int ret), 105 TP_PROTO(struct usb_gadget *g, int ret), 110 TP_PROTO(struct usb_gadget *g, int ret), 115 TP_PROTO(struct usb_gadget *g, int ret), 120 TP_PROTO(struct usb_gadget *g, int ret), 125 TP_PROTO(struct usb_gadget *g, int ret), [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/ |
H A D | gadget-stop | 6 if [ -e /sys/kernel/config/usb_gadget/"$i"/idVendor ]; then 7 if [ -e /sys/kernel/config/usb_gadget/"$i"/idProduct ]; then 8 idVendor=$(cat /sys/kernel/config/usb_gadget/"$i"/idVendor) 9 idProduct=$(cat /sys/kernel/config/usb_gadget/"$i"/idProduct)
|
H A D | gadget-start | 16 echo ${configured_udc} > /sys/kernel/config/usb_gadget/"$i"/UDC 18 ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/"$i"/UDC
|
/openbmc/u-boot/drivers/usb/gadget/udc/ |
H A D | udc-core.c | 38 struct usb_gadget *gadget; 49 int usb_gadget_map_request(struct usb_gadget *gadget, in usb_gadget_map_request() 62 void usb_gadget_unmap_request(struct usb_gadget *gadget, in usb_gadget_unmap_request() 91 void usb_gadget_set_state(struct usb_gadget *gadget, in usb_gadget_set_state() 109 void usb_gadget_udc_reset(struct usb_gadget *gadget, in usb_gadget_udc_reset() 176 int usb_add_gadget_udc_release(struct device *parent, struct usb_gadget *gadget, in usb_add_gadget_udc_release() 217 int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget) in usb_add_gadget_udc() 243 void usb_del_gadget_udc(struct usb_gadget *gadget) in usb_del_gadget_udc()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_ether.h | 91 struct eth_dev *gether_setup_name(struct usb_gadget *g, 108 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup() 151 void gether_set_gadget(struct net_device *net, struct usb_gadget *g); 270 static inline bool can_support_ecm(struct usb_gadget *gadget) in can_support_ecm() 283 static inline unsigned int gether_bitrate(struct usb_gadget *g) in gether_bitrate()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_dfu.c | 50 struct usb_gadget *, 265 struct usb_gadget *gadget, in state_app_idle() 292 struct usb_gadget *gadget, in state_app_detach() 315 struct usb_gadget *gadget, in state_dfu_idle() 375 struct usb_gadget *gadget, in state_dfu_dnload_sync() 398 struct usb_gadget *gadget, in state_dfu_dnbusy() 418 struct usb_gadget *gadget, in state_dfu_dnload_idle() 452 struct usb_gadget *gadget, in state_dfu_manifest_sync() 479 struct usb_gadget *gadget, in state_dfu_manifest() 505 struct usb_gadget *gadget, in state_dfu_upload_idle() [all …]
|
H A D | epautoconf.c | 47 struct usb_gadget *gadget, in ep_matches() 174 find_ep(struct usb_gadget *gadget, const char *name) in find_ep() 216 struct usb_gadget *gadget, in usb_ep_autoconfig() 304 void usb_ep_autoconfig_reset(struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
|
H A D | g_dnl.c | 94 struct usb_gadget *gadget = cdev->gadget; in g_dnl_unbind() 196 struct usb_gadget *gadget = cdev->gadget; in g_dnl_get_bcd_device_number() 221 struct usb_gadget *gadget = cdev->gadget; in g_dnl_bind()
|
H A D | at91_udc.h | 116 struct usb_gadget gadget; 137 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc()
|
H A D | composite.c | 216 struct usb_gadget *gadget = cdev->gadget; in config_desc() 248 struct usb_gadget *gadget = cdev->gadget; in count_configs() 308 struct usb_gadget *gadget = cdev->gadget; in set_config() 699 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup() 924 static void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect() 934 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind() 981 static int composite_bind(struct usb_gadget *gadget) in composite_bind() 1027 composite_suspend(struct usb_gadget *gadget) in composite_suspend() 1046 composite_resume(struct usb_gadget *gadget) in composite_resume()
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | epautoconf.c | 64 struct usb_gadget *gadget, in usb_ep_autoconfig_ss() 150 struct usb_gadget *gadget, in usb_ep_autoconfig() 203 void usb_ep_autoconfig_reset (struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/ |
H A D | android-gadget-cleanup | 3 [ -d /sys/kernel/config/usb_gadget ] || exit 0 5 cd /sys/kernel/config/usb_gadget
|
H A D | android-gadget-setup | 13 [ -d /sys/kernel/config/usb_gadget ] || modprobe libcomposite 15 cd /sys/kernel/config/usb_gadget
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/ |
H A D | android-gadget-cleanup | 3 [ -d /sys/kernel/config/usb_gadget ] || exit 0 5 cd /sys/kernel/config/usb_gadget
|
H A D | android-gadget-setup | 13 [ -d /sys/kernel/config/usb_gadget ] || modprobe libcomposite 15 cd /sys/kernel/config/usb_gadget
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-ampere/network/ampere-usbnet/ |
H A D | ampere_usbnet.sh | 16 echo 0x0103 > /sys/kernel/config/usb_gadget/usbnet/idProduct 17 echo "OpenBMC usbnet Device" > /sys/kernel/config/usb_gadget/usbnet/strings/0x409/product
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vudc.h | 31 struct usb_gadget *gadget; 87 struct usb_gadget gadget; 134 struct usb_gadget *_gadget) in usb_gadget_to_vudc()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | dbgp.c | 27 struct usb_gadget *gadget; 209 static void dbgp_disconnect(struct usb_gadget *gadget) in dbgp_disconnect() 218 static void dbgp_unbind(struct usb_gadget *gadget) in dbgp_unbind() 235 static int dbgp_configure_endpoints(struct usb_gadget *gadget) in dbgp_configure_endpoints() 277 static int dbgp_bind(struct usb_gadget *gadget, in dbgp_bind() 337 static int dbgp_setup(struct usb_gadget *gadget, in dbgp_setup()
|
/openbmc/openbmc/meta-phosphor/recipes-connectivity/jsnbd/jsnbd/ |
H A D | state_hook | 13 gadget_dir=/sys/kernel/config/usb_gadget/$gadget_name 30 GADGET_BASE=/sys/kernel/config/usb_gadget
|