Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define TRACE_SYSTEM usb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #undef TRACE_INCLUDE_PATH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define TRACE_INCLUDE_PATH trace/hooks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #if !defined(_TRACE_HOOK_USB_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _TRACE_HOOK_USB_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/usb.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <trace/hooks/vendor_hooks.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * Following tracepoints are not exported in tracefs and provide a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  * mechanism for vendor modules to hook and extend functionality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) DECLARE_HOOK(android_vh_usb_dev_suspend,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	TP_PROTO(struct usb_device *udev, pm_message_t msg, int *bypass),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	TP_ARGS(udev, msg, bypass));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) DECLARE_HOOK(android_vh_usb_dev_resume,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	TP_PROTO(struct usb_device *udev, pm_message_t msg, int *bypass),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	TP_ARGS(udev, msg, bypass));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif /* _TRACE_HOOK_USB_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #include <trace/define_trace.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)