summaryrefslogtreecommitdiff
path: root/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h')
-rw-r--r--mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h28
1 files changed, 10 insertions, 18 deletions
diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h
index 8b60c8dd..d09dc1da 100644
--- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h
+++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h
@@ -1,21 +1,9 @@
-/****************************************************************************
- ****************************************************************************
- ***
- *** This header was automatically generated from a Linux kernel header
- *** of the same name, to make information necessary for userspace to
- *** call into the kernel available to libc. It contains only constants,
- *** structures, and macros generated from the original header, and thus,
- *** contains no copyrightable information.
- ***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
- ****************************************************************************
- ****************************************************************************/
+/*
+ * This file is auto-generated. Modifications will be lost.
+ *
+ * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
+ * for more information.
+ */
#ifndef _UAPI__LINUX_USB_RAW_GADGET_H
#define _UAPI__LINUX_USB_RAW_GADGET_H
#include <asm/ioctl.h>
@@ -31,6 +19,10 @@ enum usb_raw_event_type {
USB_RAW_EVENT_INVALID = 0,
USB_RAW_EVENT_CONNECT = 1,
USB_RAW_EVENT_CONTROL = 2,
+ USB_RAW_EVENT_SUSPEND = 3,
+ USB_RAW_EVENT_RESUME = 4,
+ USB_RAW_EVENT_RESET = 5,
+ USB_RAW_EVENT_DISCONNECT = 6,
};
struct usb_raw_event {
__u32 type;