I’m trying to make a embedded device work as a MTP device, using USB gadget driver. I know have Android switched from mass storage gadget to MTP gadget for quite a while, and found the source code for MTP gadget driver in a few Android repositories. However in the mainline kernel code I didn’t find that particular file, nor equivalents.