1 #ifndef _USB_MSG_BASE_H_ 2 #define _USB_MSG_BASE_H_ 3 4 int _usb_internal_ctrll_msg(struct usb_host_virt_dev *usb_dev, 5 u32 pipe, struct usb_ctrlrequest *cmd, 6 void *data, s32 len, s32 timeout); 7 8 int _usb_internal_bulk_msg(struct usb_host_virt_dev *usb_dev, unsigned int pipe, 9 void *data, int len, int *actual_length, int timeout); 10 11 int usb_get_string(struct usb_host_virt_dev *dev, u16 langid, 12 u8 index, void *buf, s32 size); 13 int _usb_string_sub(struct usb_host_virt_dev *dev, u32 langid, u32 index, u8 *buf); 14 15 #endif 16