this function will receive enum usb_device_state and return a human-readable string from it or, case an unknown value is passed as argument, the string "UNKNOWN".
···4343 */4444extern const char *usb_speed_string(enum usb_device_speed speed);45454646+4747+/**4848+ * usb_state_string - Returns human readable name for the state.4949+ * @state: The state to return a human-readable name for. If it's not5050+ * any of the states devices in usb_device_state_string enum,5151+ * the string UNKNOWN will be returned.5252+ */5353+extern const char *usb_state_string(enum usb_device_state state);5454+4655#endif /* __LINUX_USB_CH9_H */