These are declared in <linux/usb_gadget.h>, and are used by gadget drivers to interact with USB peripheral controller drivers.
<linux/usb_gadget.h>