Home
last modified time | relevance | path

Searched refs:USB_ASSERT_MSG (Results 1 – 9 of 9) sorted by relevance

/components/drivers/usb/cherryusb/common/
A Dusb_log.h88 #define USB_ASSERT_MSG(f, fmt, ...) \ macro
99 #define USB_ASSERT_MSG(f, fmt, ...) {} macro
/components/drivers/usb/cherryusb/port/dwc2/
A Dusb_dc_dwc2.c552USB_ASSERT_MSG(g_dwc2_udc[busid].hw_params.hs_phy_type != 0, "This dwc2 version does not support h… in usb_dc_init()
578USB_ASSERT_MSG(g_dwc2_udc[busid].hw_params.arch == GHWCFG2_INT_DMA_ARCH, "This dwc2 version does n… in usb_dc_init()
598USB_ASSERT_MSG(fifo_num <= g_dwc2_udc[busid].user_params.total_fifo_size, "Your fifo config is ove… in usb_dc_init()
602USB_ASSERT_MSG(g_dwc2_udc[busid].user_params.device_rx_fifo_size >= (5 + 8 + 512 / 4 + 1 + 2 * 8 +… in usb_dc_init()
604USB_ASSERT_MSG(g_dwc2_udc[busid].user_params.device_rx_fifo_size >= (5 + 8 + 64 / 4 + 1 + 2 * 8 + … in usb_dc_init()
679USB_ASSERT_MSG(ep_idx < (g_dwc2_udc[busid].hw_params.num_dev_ep + 1), "Ep addr %02x overflow", ep-… in usbd_ep_open()
701USB_ASSERT_MSG((fifo_size * 4) >= USB_GET_MAXPACKETSIZE(ep->wMaxPacketSize), "Ep addr %02x fifo ov… in usbd_ep_open()
837 USB_ASSERT_MSG(!((uint32_t)data % 0x04), "dwc2 data must be 4-byte aligned"); in usbd_ep_start_write()
840USB_ASSERT_MSG(!((uint32_t)data % CONFIG_USB_ALIGN_SIZE), "dwc2 data must be %d-byte aligned", CON… in usbd_ep_start_write()
914 USB_ASSERT_MSG(!((uint32_t)data % 0x04), "dwc2 data must be 4-byte aligned"); in usbd_ep_start_read()
[all …]
A Dusb_hc_dwc2.c713USB_ASSERT_MSG(g_dwc2_hcd[bus->hcd.hcd_id].hw_params.arch == GHWCFG2_INT_DMA_ARCH, "This dwc2 vers… in usb_hc_init()
714 USB_ASSERT_MSG((g_dwc2_hcd[bus->hcd.hcd_id].user_params.host_rx_fifo_size + in usb_hc_init()
726USB_ASSERT_MSG(g_dwc2_hcd[bus->hcd.hcd_id].hw_params.hs_phy_type != 0, "This dwc2 version does not… in usb_hc_init()
1001 USB_ASSERT_MSG(!((uintptr_t)urb->setup % 4) && !((uintptr_t)urb->transfer_buffer % 4), in usbh_submit_urb()
1005 USB_ASSERT_MSG(!((uintptr_t)urb->setup % CONFIG_USB_ALIGN_SIZE) && in usbh_submit_urb()
/components/drivers/usb/cherryusb/port/fsdev/
A Dusb_dc_fsdev.c140 USB_ASSERT_MSG(ep_idx < CONFIG_USBDEV_EP_NUM, "Ep addr %02x overflow", ep->bEndpointAddress); in usbd_ep_open()
141USB_ASSERT_MSG(USB_GET_ENDPOINT_TYPE(ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS, "iso endp… in usbd_ep_open()
175USB_ASSERT_MSG((g_fsdev_udc.pma_offset + g_fsdev_udc.out_ep[ep_idx].ep_mps) <= CONFIG_USB_FSDEV_RA… in usbd_ep_open()
192USB_ASSERT_MSG((g_fsdev_udc.pma_offset + g_fsdev_udc.in_ep[ep_idx].ep_mps) <= CONFIG_USB_FSDEV_RAM… in usbd_ep_open()
/components/drivers/usb/cherryusb/port/musb/
A Dusb_dc_musb.c337 USB_ASSERT_MSG(offset <= usb_get_musb_ram_size(), "Your fifo config is overflow, please check"); in usb_dc_init()
413 USB_ASSERT_MSG(ep_idx < CONFIG_USB_MUSB_EP_NUM, "Ep addr %02x overflow", ep->bEndpointAddress); in usbd_ep_open()
424USB_ASSERT_MSG((8 << HWREGB(USB_BASE + MUSB_RXFIFOSZ_OFFSET)) >= g_musb_udc.out_ep[ep_idx].ep_mps, in usbd_ep_open()
475USB_ASSERT_MSG((8 << HWREGB(USB_BASE + MUSB_TXFIFOSZ_OFFSET)) >= g_musb_udc.in_ep[ep_idx].ep_mps, in usbd_ep_open()
A Dusb_hc_musb.c551 USB_ASSERT_MSG(offset <= usb_get_musb_ram_size(), "Your fifo config is overflow, please check"); in usb_hc_init()
/components/drivers/usb/cherryusb/port/ehci/
A Dusb_hc_ehci.c344 USB_ASSERT_MSG(qtd_setup && qtd_status, "ctrl qtd alloc failed"); in ehci_control_urb_init()
369 USB_ASSERT_MSG(qtd_data, "ctrl qtd alloc failed"); in ehci_control_urb_init()
454 USB_ASSERT_MSG(qtd, "bulk qtd alloc failed"); in ehci_bulk_urb_init()
550 USB_ASSERT_MSG(qtd, "intr qtd alloc failed"); in ehci_intr_urb_init()
1206 USB_ASSERT_MSG(!((uintptr_t)urb->setup % CONFIG_USB_ALIGN_SIZE) && in usbh_submit_urb()
/components/drivers/usb/cherryusb/port/kinetis/
A Dusb_dc_kinetis.c166 USB_ASSERT_MSG(ep_idx < CONFIG_USBDEV_EP_NUM, "Ep addr %02x overflow", ep->bEndpointAddress); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/chipidea/
A Dusb_dc_chipidea.c536 USB_ASSERT_MSG(ep_idx < CONFIG_USBDEV_EP_NUM, "Ep addr %02x overflow", ep->bEndpointAddress); in usbd_ep_open()

Completed in 25 milliseconds