GADGETFS_CONNECT,
GADGETFS_DISCONNECT,
GADGETFS_SETUP,
GADGETFS_SUSPEND, /* and likely more ! */
};
/* NOTE: this structure must stay the same size and layout on *both32-bitand64-bitkernels.
*/ struct usb_gadgetfs_event { union { /* NOP, DISCONNECT, SUSPEND: nothing *...somehardwarecan'treportdisconnection
*/
/* CONNECT: just the speed */ enum usb_device_speed speed;
/* The 'g' code is also used by printer and hid gadget ioctl requests. *Don'taddanycollidingcodestoeitherdriver,andkeep *theminuniqueranges(size0x20fornow).
*/
/* endpoint ioctls */
/* IN transfers may be reported to the gadget driver as complete *whenthefifoisloaded,beforethehostreadsthedata; *OUTtransfersmaybereportedtothehost's"client"driveras *completewhenthey'resittingintheFIFOunread. *THISreturnshowmanybytesare"unclaimed"intheendpointfifo *(neededforprecisefaulthandling,whenthehardwareallowsit)
*/ #define GADGETFS_FIFO_STATUS _IO('g', 1)
/* discards any unclaimed data in the fifo. */ #define GADGETFS_FIFO_FLUSH _IO('g', 2)
/* resets endpoint halt+toggle; used to implement set_interface. *somehardware(likepxa2xx)can'tsupportthis.
*/ #define GADGETFS_CLEAR_HALT _IO('g', 3)
#endif/* __LINUX_USB_GADGETFS_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-10-02)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.