Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * USB CDC Device Management userspace API definitions
0004  *
0005  * This program is free software; you can redistribute it and/or
0006  * modify it under the terms of the GNU General Public License
0007  * version 2 as published by the Free Software Foundation.
0008  */
0009 
0010 #ifndef _UAPI__LINUX_USB_CDC_WDM_H
0011 #define _UAPI__LINUX_USB_CDC_WDM_H
0012 
0013 #include <linux/types.h>
0014 
0015 /*
0016  * This IOCTL is used to retrieve the wMaxCommand for the device,
0017  * defining the message limit for both reading and writing.
0018  *
0019  * For CDC WDM functions this will be the wMaxCommand field of the
0020  * Device Management Functional Descriptor.
0021  */
0022 #define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16)
0023 
0024 #endif /* _UAPI__LINUX_USB_CDC_WDM_H */