Home
last modified time | relevance | path

Searched refs:USB_LOG_ERR (Results 1 – 25 of 43) sorted by relevance

12

/components/drivers/usb/cherryusb/common/
A Dusb_log.h71 #define USB_LOG_ERR(fmt, ...) usb_dbg_log_line("E", 31, fmt, ##__VA_ARGS__) macro
73 #define USB_LOG_ERR(...) {} macro
82 USB_LOG_ERR("ASSERT FAIL [%s] @ %s:%d\r\n", #f, __FILE__, __LINE__); \
91 USB_LOG_ERR("ASSERT FAIL [%s] @ %s:%d\r\n", #f, __FILE__, __LINE__); \
92 USB_LOG_ERR(fmt "\r\n", ##__VA_ARGS__); \
/components/drivers/usb/cherryusb/class/hub/
A Dusbh_hub.c176 USB_LOG_ERR("invalid device bLength 0x%02x\r\n", desc->bLength); in parse_hub_descriptor()
179 USB_LOG_ERR("unexpected descriptor 0x%02x\r\n", desc->bDescriptorType); in parse_hub_descriptor()
200 USB_LOG_ERR("invalid device bLength 0x%02x\r\n", desc->bLength); in parse_hub_ss_descriptor()
203 USB_LOG_ERR("unexpected descriptor 0x%02x\r\n", desc->bDescriptorType); in parse_hub_ss_descriptor()
322 USB_LOG_ERR("Fail to alloc hub_class\r\n"); in usbh_hub_connect()
335 USB_LOG_ERR("Hub depth(%d) is overflow\r\n", hport->depth); in usbh_hub_connect()
348 USB_LOG_ERR("Unable to set hub depth \r\n"); in usbh_hub_connect()
421 USB_LOG_ERR("No memory to alloc int_timer\r\n"); in usbh_hub_connect()
557 USB_LOG_ERR("Failed to debounce port %u\r\n", port + 1); in usbh_hub_events()
694 USB_LOG_ERR("Failed to create hub mq\r\n"); in usbh_hub_initialize()
[all …]
/components/drivers/usb/cherryusb/core/
A Dusbh_core.c130 USB_LOG_ERR("invalid device bLength 0x%02x\r\n", desc->bLength); in parse_device_descriptor()
186 USB_LOG_ERR("invalid config bLength 0x%02x\r\n", desc->bLength); in parse_config_descriptor()
403 USB_LOG_ERR("Parse device descriptor fail\r\n"); in usbh_enumerate()
425 USB_LOG_ERR("Failed to allocate devaddr,errorcode:%d\r\n", ret); in usbh_enumerate()
438 USB_LOG_ERR("Failed to set devaddr,errorcode:%d\r\n", ret); in usbh_enumerate()
487 USB_LOG_ERR("Parse config descriptor fail\r\n"); in usbh_enumerate()
514 USB_LOG_ERR("Parse config descriptor fail\r\n"); in usbh_enumerate()
522 USB_LOG_ERR("No memory to alloc for raw_config_desc\r\n"); in usbh_enumerate()
584 USB_LOG_ERR("Failed to set configuration,errorcode:%d\r\n", ret); in usbh_enumerate()
665 USB_LOG_ERR("bus overflow\r\n"); in usbh_initialize()
[all …]
A Dusbd_core.c98 USB_LOG_ERR("Setup: " in usbd_print_setup()
259 USB_LOG_ERR("string size overflow\r\n"); in usbd_get_descriptor()
808 USB_LOG_ERR("ep:%02x clear halt\r\n", ep);
819 USB_LOG_ERR("ep:%02x set halt\r\n", ep);
1071 USB_LOG_ERR("standard request error\r\n");
1078 USB_LOG_ERR("class request error\r\n");
1085 USB_LOG_ERR("vendor request error\r\n");
1186 USB_LOG_ERR("Request buffer too small\r\n");
1216 USB_LOG_ERR("Request buffer too small\r\n");
1540 USB_LOG_ERR("bus overflow\r\n");
[all …]
/components/drivers/usb/cherryusb/osal/
A Dusb_osal_rtthread.c18 USB_LOG_ERR("Create thread %s failed\r\n", name); in usb_osal_thread_create()
58 USB_LOG_ERR("Create semaphore failed\r\n"); in usb_osal_sem_create()
105 USB_LOG_ERR("Create mutex failed\r\n"); in usb_osal_mutex_create()
169 USB_LOG_ERR("Create usb_osal_timer failed\r\n"); in usb_osal_timer_create()
177 USB_LOG_ERR("Create timer failed\r\n"); in usb_osal_timer_create()
/components/drivers/usb/cherryusb/class/wireless/
A Dusbh_rndis.c71 USB_LOG_ERR("init send error, ret: %d\r\n", ret); in usbh_rndis_init_msg_transfer()
87 USB_LOG_ERR("init recv error, ret: %d\r\n", ret); in usbh_rndis_init_msg_transfer()
129 USB_LOG_ERR("oid:%08x send error, ret: %d\r\n", (unsigned int)oid, ret); in usbh_rndis_query_msg_transfer()
145 USB_LOG_ERR("oid:%08x recv error, ret: %d\r\n", (unsigned int)oid, ret); in usbh_rndis_query_msg_transfer()
186 USB_LOG_ERR("oid:%08x send error, ret: %d\r\n", (unsigned int)oid, ret); in usbh_rndis_set_msg_transfer()
202 USB_LOG_ERR("oid:%08x recv error, ret: %d\r\n", (unsigned int)oid, ret); in usbh_rndis_set_msg_transfer()
253 USB_LOG_ERR("keepalive send error, ret: %d\r\n", ret); in usbh_rndis_keepalive()
269 USB_LOG_ERR("keepalive recv error, ret: %d\r\n", ret); in usbh_rndis_keepalive()
412 USB_LOG_ERR("rndis query iod:%08x error\r\n", (unsigned int)oid); in usbh_rndis_connect()
524 USB_LOG_ERR("Error rndis packet message\r\n");
[all …]
/components/drivers/usb/cherryusb/class/vendor/net/
A Dusbh_asix.c202 USB_LOG_ERR("Failed to send software reset: %d\r\n", ret); in usbh_asix_sw_reset()
236 USB_LOG_ERR("Error reading Medium Status register: %02x\r\n", in usbh_asix_read_medium_status()
264 USB_LOG_ERR("Failed to write GPIO value 0x%04x: %d\r\n", in usbh_asix_write_gpio()
306 USB_LOG_ERR("Select PHY #1 failed: %d\r\n", ret); in usbh_ax88772_hw_reset()
346 USB_LOG_ERR("Write IPG,IPG1,IPG2 failed: %d\r\n", ret); in usbh_ax88772_hw_reset()
385 USB_LOG_ERR("Select PHY #1 failed: %d\r\n", ret); in usbh_ax88772a_hw_reset()
415 USB_LOG_ERR("Write BQ setting failed: %d\r\n", ret); in usbh_ax88772a_hw_reset()
449 USB_LOG_ERR("Write IPG,IPG1,IPG2 failed: %d\r\n", ret); in usbh_ax88772a_hw_reset()
554 USB_LOG_ERR("Failed to read phy addr: %d\r\n", ret); in usbh_asix_connect()
562 USB_LOG_ERR("Failed to read STATMNGSTS_REG: %d\r\n", ret); in usbh_asix_connect()
[all …]
/components/drivers/usb/cherryusb/port/dwc2/
A Dusb_glue_kendryte.c118 USB_LOG_ERR("reset usb0 fail\n"); in usb_hc_low_level_init()
133 USB_LOG_ERR("reset usb1 fail\n"); in usb_hc_low_level_init()
169 USB_LOG_ERR("reset usb0 fail\n"); in usb_dc_low_level_init()
180 USB_LOG_ERR("reset usb1 fail\n"); in usb_dc_low_level_init()
A Dusb_glue_esp.c157 USB_LOG_ERR("USB Phy Init Failed!\r\n"); in usb_dc_low_level_init()
165 USB_LOG_ERR("USB Interrupt Init Failed!\r\n"); in usb_dc_low_level_init()
208 USB_LOG_ERR("USB Phy Init Failed!\r\n"); in usb_hc_low_level_init()
216 USB_LOG_ERR("USB Interrupt Init Failed!\r\n"); in usb_hc_low_level_init()
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbh_serial.c200 USB_LOG_ERR("serial get align buf failed\n"); in usbh_serial_write()
633 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_cdc_acm_callback()
659 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_cdc_acm_run()
695 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_ftdi_callback()
721 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_ftdi_run()
755 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_ch34x_callback()
781 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_ch34x_run()
815 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_cp210x_callback()
841 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_cp210x_run()
875 USB_LOG_ERR("usbh_submit_urb failed: %d\n", ret); in usbh_pl2303_callback()
[all …]
A Dusb_msh.c18 USB_LOG_ERR("please input correct command: usbh_init <busid> <reg_base>\r\n"); in usbh_init()
34 USB_LOG_ERR("please input correct command: usbh_deinit <busid>\r\n"); in usbh_deinit()
A Dusbd_serial.c80 USB_LOG_ERR("USB device is not configured\n"); in usbd_serial_open()
130 USB_LOG_ERR("serial get align buf failed\n"); in usbd_serial_write()
141 USB_LOG_ERR("serial write timeout\n"); in usbd_serial_write()
258 USB_LOG_ERR("No more serial device available\n"); in usbd_cdc_acm_serial_init()
273 USB_LOG_ERR("Failed to register serial device\n"); in usbd_cdc_acm_serial_init()
/components/drivers/usb/cherryusb/class/msc/
A Dusbh_msc.c137 USB_LOG_ERR("cbw transfer error: %d\r\n", nbytes); in usbh_bulk_cbw_csw_xfer()
156 USB_LOG_ERR("msc data transfer error: %d\r\n", nbytes); in usbh_bulk_cbw_csw_xfer()
165 USB_LOG_ERR("csw transfer error: %d\r\n", nbytes); in usbh_bulk_cbw_csw_xfer()
173 USB_LOG_ERR("csw signature error\r\n"); in usbh_bulk_cbw_csw_xfer()
178 USB_LOG_ERR("csw bStatus %d\r\n", csw->bStatus); in usbh_bulk_cbw_csw_xfer()
273 USB_LOG_ERR("Fail to alloc msc_class\r\n"); in usbh_msc_connect()
367 USB_LOG_ERR("Fail to scsi_testunitready\r\n"); in usbh_msc_scsi_init()
376 USB_LOG_ERR("Fail to scsi_inquiry\r\n"); in usbh_msc_scsi_init()
382 USB_LOG_ERR("Fail to scsi_readcapacity10\r\n"); in usbh_msc_scsi_init()
390 USB_LOG_ERR("Invalid block size\r\n"); in usbh_msc_scsi_init()
A Dusbd_msc.c108 USB_LOG_ERR("No memory to alloc for g_usbd_msc[busid].usbd_msc_mq\r\n"); in msc_storage_notify_handler()
112 USB_LOG_ERR("No memory to alloc for g_usbd_msc[busid].usbd_msc_thread\r\n"); in msc_storage_notify_handler()
691 USB_LOG_ERR("size != sizeof(cbw)\r\n"); in SCSI_CBWDecode()
776 USB_LOG_ERR("Command: 0x%02x decode err\r\n", g_usbd_msc[busid].cbw.CB[0]); in mass_storage_bulk_out()
917 USB_LOG_ERR("CONFIG_USBDEV_MSC_MAX_BUFSIZE must be a multiple of block size\r\n"); in usbd_msc_init_intf()
/components/drivers/usb/cherryusb/class/cdc/
A Dusbh_cdc_ncm.c146 USB_LOG_ERR("Do not find cdc ncm mac string\r\n"); in usbh_cdc_ncm_connect()
175USB_LOG_ERR("CDC NCM Max Segment Size is overflow, default is %u, but now %u\r\n", CONFIG_USBHOST_… in usbh_cdc_ncm_connect()
303 USB_LOG_ERR("invalid rx nth16\r\n");
310 USB_LOG_ERR("invalid rx ndp16\r\n");
335USB_LOG_ERR("Rx packet is overflow, please reduce tcp window size or increase CONFIG_USBHOST_CDC_N…
A Dusbh_cdc_ecm.c119 USB_LOG_ERR("Do not find cdc ecm mac string\r\n"); in usbh_cdc_ecm_connect()
148USB_LOG_ERR("CDC ECM Max Segment Size is overflow, default is %u, but now %u\r\n", CONFIG_USBHOST_… in usbh_cdc_ecm_connect()
/components/drivers/usb/cherryusb/class/dfu/
A Dusbd_dfu.c161 USB_LOG_ERR("Dfu_request_upload unsupported g_usbd_dfu.wblock_num\r\n"); in dfu_request_upload()
170 USB_LOG_ERR("Dfu_request_upload unsupported state\r\n"); in dfu_request_upload()
205 USB_LOG_ERR("Dfu_request_dnload unsupported state\r\n"); in dfu_request_dnload()
220USB_LOG_ERR("Dfu_request_dnload End of DNLOAD operation but dev_state %02x \r\n", g_usbd_dfu.dev_s… in dfu_request_dnload()
258 USB_LOG_ERR("Reset the global length and block number\r\n"); in dfu_getstatus_special_handler()
377 USB_LOG_ERR("dfu_getstatus_special_handler error \r\n"); in dfu_request_getstatus()
/components/drivers/usb/cherryusb/class/hid/
A Dusbh_hid.c207 USB_LOG_ERR("Fail to alloc hid_class\r\n"); in usbh_hid_connect()
226 USB_LOG_ERR("HID descriptor not found\r\n"); in usbh_hid_connect()
231 USB_LOG_ERR("HID report descriptor not found\r\n"); in usbh_hid_connect()
248 USB_LOG_ERR("HID interface not found\r\n"); in usbh_hid_connect()
/components/drivers/usb/cherryusb/class/audio/
A Dusbh_audio.c394 USB_LOG_ERR("Fail to alloc audio_class\r\n"); in usbh_audio_ctrl_connect()
441USB_LOG_ERR("Do not support %02x subtype\r\n", p[DESC_bDescriptorSubType]); in usbh_audio_ctrl_connect()
479 USB_LOG_ERR("Audio control descriptor is invalid\r\n"); in usbh_audio_ctrl_connect()
484 USB_LOG_ERR("Audio descriptor must have iad descriptor\r\n"); in usbh_audio_ctrl_connect()
561 USB_LOG_ERR("Audio stream search fail\r\n"); in usbh_audio_ctrl_connect()
569USB_LOG_ERR("Fail to close audio stream :%s\r\n", audio_class->as_msg_table[i].stream_name); in usbh_audio_ctrl_connect()
/components/drivers/usb/cherryusb/class/template/
A Dusbh_xxx.c42 USB_LOG_ERR("Fail to alloc xxx_class\r\n"); in usbh_xxx_connect()
/components/drivers/usb/cherryusb/port/aic/
A Dusb_dc_aic.c128 USB_LOG_ERR("alloc error.\r\n"); in aic_udc_ep_buf_alloc()
777 USB_LOG_ERR("Ep addr %d overflow\r\n", ep->bEndpointAddress); in usbd_ep_open()
884 USB_LOG_ERR("%s: timeout USBINTSTS.GOUTNAKEFF\n", __func__); in usbd_ep_close()
900 USB_LOG_ERR("%s: timeout OUTEPCFG.EPDisable\n", __func__); in usbd_ep_close()
936 USB_LOG_ERR("%s: timeout INEPINT.NAKEFF\n", __func__); in usbd_ep_close()
951 USB_LOG_ERR("%s: timeout USBINTSTS.GOUTNAKEFF\n", __func__); in usbd_ep_close()
968 USB_LOG_ERR("%s: timeout OUTEPCFG.EPDisable\n", __func__); in usbd_ep_close()
1045 USB_LOG_ERR("%s: timeout USBINTSTS.GOUTNAKEFF\n", __func__); in usbd_npinep_rewrite()
1086 USB_LOG_ERR("%s: ep%d timeout OUTEPCFG.EPDisable\n", __func__, fail-1); in usbd_npinep_rewrite()
1321 USB_LOG_ERR("ep%d AIC_UDC_REG->outepcfg[ep_idx] = 0x%x.\n", in usbd_ep_start_read_raw()
/components/drivers/usb/cherryusb/port/ohci/
A Dusb_hc_ohci.c39 USB_LOG_ERR("struct ohci_ed_hw is not align 32\r\n"); in ohci_init()
44 USB_LOG_ERR("struct ohci_td_hw is not align 32\r\n"); in ohci_init()
/components/drivers/usb/cherryusb/class/vendor/xbox/
A Dusbh_xbox.c47 USB_LOG_ERR("Fail to alloc xbox_class\r\n"); in usbh_xbox_connect()
/components/drivers/usb/cherryusb/class/video/
A Dusbh_video.c277 USB_LOG_ERR("Fail to open video in step %u\r\n", step); in usbh_video_open()
374 USB_LOG_ERR("Fail to alloc video_class\r\n"); in usbh_video_ctrl_connect()
387 USB_LOG_ERR("Fail to close video device\r\n"); in usbh_video_ctrl_connect()
/components/drivers/usb/cherryusb/port/hpmicro/
A Dusb_dc_hpm.c286 USB_LOG_ERR("usbd intr error!\r\n"); in USBD_IRQHandler()
342 USB_LOG_ERR("usbd transfer error!\r\n"); in USBD_IRQHandler()

Completed in 38 milliseconds

12