Lines Matching refs:serial_printf
28 #define usberr(fmt,args...) serial_printf("ERROR: %s(), %d: "fmt"\n",__FUNCTION__,__LINE__,##args)
34 #define usbdbg(fmt,args...) serial_printf("debug: %s(), %d: "fmt"\n",__FUNCTION__,__LINE__,##args)
40 #define usbinfo(fmt,args...) serial_printf("info: %s(), %d: "fmt"\n",__FUNCTION__,__LINE__,##args)
678 serial_printf("urb %p\n", (u)); in print_urb()
679 serial_printf("\tendpoint %p\n", u->endpoint); in print_urb()
680 serial_printf("\tdevice %p\n", u->device); in print_urb()
681 serial_printf("\tbuffer %p\n", u->buffer); in print_urb()
682 serial_printf("\tbuffer_length %d\n", u->buffer_length); in print_urb()
683 serial_printf("\tactual_length %d\n", u->actual_length); in print_urb()
684 serial_printf("\tstatus %d\n", u->status); in print_urb()
685 serial_printf("\tdata %d\n", u->data); in print_urb()
690 serial_printf("usb request\n"); in print_usb_device_request()
691 serial_printf("\tbmRequestType 0x%2.2x\n", r->bmRequestType); in print_usb_device_request()
693 serial_printf("\t\tDirection : To device\n"); in print_usb_device_request()
695 serial_printf("\t\tDirection : To host\n"); in print_usb_device_request()
697 serial_printf("\t\tType : Standard\n"); in print_usb_device_request()
699 serial_printf("\t\tType : Standard\n"); in print_usb_device_request()
701 serial_printf("\t\tType : Standard\n"); in print_usb_device_request()
703 serial_printf("\t\tType : Standard\n"); in print_usb_device_request()
706 serial_printf("\t\tRecipient : Device\n"); in print_usb_device_request()
709 serial_printf("\t\tRecipient : Interface\n"); in print_usb_device_request()
712 serial_printf("\t\tRecipient : Endpoint\n"); in print_usb_device_request()
715 serial_printf("\t\tRecipient : Other\n"); in print_usb_device_request()
716 serial_printf("\tbRequest 0x%2.2x\n", r->bRequest); in print_usb_device_request()
718 serial_printf("\t\tGET_STATUS\n"); in print_usb_device_request()
720 serial_printf("\t\tSET_ADDRESS\n"); in print_usb_device_request()
722 serial_printf("\t\tSET_FEATURE\n"); in print_usb_device_request()
724 serial_printf("\t\tGET_DESCRIPTOR\n"); in print_usb_device_request()
726 serial_printf("\t\tSET_CONFIGURATION\n"); in print_usb_device_request()
728 serial_printf("\t\tUSB_REQ_SET_INTERFACE\n"); in print_usb_device_request()
730 serial_printf("\tUNKNOWN %d\n", r->bRequest); in print_usb_device_request()
731 serial_printf("\twValue 0x%4.4x\n", r->wValue); in print_usb_device_request()
735 serial_printf("\tDEVICE\n"); in print_usb_device_request()
738 serial_printf("\tCONFIGURATION\n"); in print_usb_device_request()
741 serial_printf("\tSTRING\n"); in print_usb_device_request()
744 serial_printf("\tINTERFACE\n"); in print_usb_device_request()
747 serial_printf("\tENDPOINT\n"); in print_usb_device_request()
750 serial_printf("\tDEVICE_QUALIFIER\n"); in print_usb_device_request()
753 serial_printf("\tOTHER_SPEED_CONFIGURATION\n"); in print_usb_device_request()
756 serial_printf("\tINTERFACE_POWER\n"); in print_usb_device_request()
759 serial_printf("\tHID\n"); in print_usb_device_request()
762 serial_printf("\tREPORT\n"); in print_usb_device_request()
765 serial_printf("\tUNKNOWN TYPE\n"); in print_usb_device_request()
769 serial_printf("\twIndex 0x%4.4x\n", r->wIndex); in print_usb_device_request()
770 serial_printf("\twLength 0x%4.4x\n", r->wLength); in print_usb_device_request()