Home
last modified time | relevance | path

Searched refs:gfs_otg_desc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/gadget/legacy/
H A Dg_ffs.c87 static const struct usb_descriptor_header *gfs_otg_desc[2]; variable
388 if (gadget_is_otg(cdev->gadget) && !gfs_otg_desc[0]) { in gfs_bind()
397 gfs_otg_desc[0] = usb_desc; in gfs_bind()
398 gfs_otg_desc[1] = NULL; in gfs_bind()
421 kfree(gfs_otg_desc[0]); in gfs_bind()
422 gfs_otg_desc[0] = NULL; in gfs_bind()
461 kfree(gfs_otg_desc[0]); in gfs_unbind()
462 gfs_otg_desc[0] = NULL; in gfs_unbind()
482 c->descriptors = gfs_otg_desc; in gfs_do_config()