1USB_STATE_STRING(9) Kernel Mode Gadget API USB_STATE_STRING(9)
2
3
4
6 usb_state_string - Returns human readable name for the state.
7
9 const char * usb_state_string(enum usb_device_state state);
10
12 state
13 The state to return a human-readable name for. If it's not any of
14 the states devices in usb_device_state_string enum, the string
15 UNKNOWN will be returned.
16
18 David Brownell <dbrownell@users.sourceforge.net>
19 Author.
20
22Kernel Hackers Manual 3.10 June 2019 USB_STATE_STRING(9)