#include <linux/kernel.h>
#include <linux/usb/ch9.h>
static void usb_decode_get_status(__u8 bRequestType, __u16 wIndex,
__u16 wLength, char *str, size_t size)
{ … }
static const char *usb_decode_device_feature(u16 wValue)
{ … }
static const char *usb_decode_test_mode(u16 wIndex)
{ … }
static void usb_decode_set_clear_feature(__u8 bRequestType,
__u8 bRequest, __u16 wValue,
__u16 wIndex, char *str, size_t size)
{ … }
static void usb_decode_set_address(__u16 wValue, char *str, size_t size)
{ … }
static void usb_decode_get_set_descriptor(__u8 bRequestType, __u8 bRequest,
__u16 wValue, __u16 wIndex,
__u16 wLength, char *str, size_t size)
{ … }
static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size)
{ … }
static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size)
{ … }
static void usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str,
size_t size)
{ … }
static void usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str,
size_t size)
{ … }
static void usb_decode_synch_frame(__u16 wIndex, __u16 wLength,
char *str, size_t size)
{ … }
static void usb_decode_set_sel(__u16 wLength, char *str, size_t size)
{ … }
static void usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size)
{ … }
static void usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType,
__u8 bRequest, __u16 wValue, __u16 wIndex,
__u16 wLength)
{ … }
static void usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType,
__u8 bRequest, __u16 wValue, __u16 wIndex,
__u16 wLength)
{ … }
const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType,
__u8 bRequest, __u16 wValue, __u16 wIndex,
__u16 wLength)
{ … }
EXPORT_SYMBOL_GPL(…);