Home
last modified time | relevance | path

Searched refs:bmAttributes (Results 1 – 25 of 35) sorted by relevance

12

/components/drivers/usb/cherryusb/port/bouffalolab/
A Dusb_dc_bl.c674 g_bl_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
679 g_bl_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
697 … bflb_usb_fifo_config(USB_FIFO_F0, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 1024, 1, true); in usbd_ep_open()
717 … bflb_usb_fifo_config(USB_FIFO_F0, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 1, true); in usbd_ep_open()
719 … bflb_usb_fifo_config(USB_FIFO_F1, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 1, true); in usbd_ep_open()
721 … bflb_usb_fifo_config(USB_FIFO_F2, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 1, true); in usbd_ep_open()
723 … bflb_usb_fifo_config(USB_FIFO_F3, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 1, true); in usbd_ep_open()
755 … bflb_usb_fifo_config(USB_FIFO_F0, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 2, true); in usbd_ep_open()
758 … bflb_usb_fifo_config(USB_FIFO_F2, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 2, true); in usbd_ep_open()
777 … bflb_usb_fifo_config(USB_FIFO_F0, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), 512, 3, true); in usbd_ep_open()
[all …]
/components/drivers/usb/cherryusb/common/
A Dusb_def.h375 uint8_t bmAttributes; /* Config. characteristics */ member
401 uint8_t bmAttributes; /* Transfer type */ member
587 uint32_t bmAttributes; member
657 #define USB_CONFIG_DESCRIPTOR_INIT(wTotalLength, bNumInterfaces, bConfigurationValue, bmAttributes,… argument
664bmAttributes, /* bmAttributes */ …
678 …ONFIG_DESCRIPTOR_INIT(wTotalLength, bNumInterfaces, bConfigurationValue, bmAttributes, bMaxPower) \ argument
685bmAttributes, /* bmAttributes */ …
700 #define USB_ENDPOINT_DESCRIPTOR_INIT(bEndpointAddress, bmAttributes, wMaxPacketSize, bInterval) \ argument
704 bmAttributes, /* bmAttributes */ \
/components/drivers/usb/cherryusb/class/audio/
A Dusb_audio.h692 uint8_t bmAttributes; member
705 uint8_t bmAttributes; member
775 …alLink, bNrChannels, bSubFrameSize, bBitResolution, bEndpointAddress, bmAttributes, wMaxPacketSize… argument
812bmAttributes, /* bmAttributes */ …
914bmAttributes, /* bmAttributes */ …
978 uint8_t bmAttributes; member
1129 #define AUDIO_V2_AC_CLOCK_SOURCE_DESCRIPTOR_INIT(bClockID, bmAttributes, bmControls) \ argument
1134 bmAttributes, /* bmAttributes */ \
1174 …els, bmChannelConfig, bSubslotSize, bBitResolution, bEndpointAddress, bmAttributes, wMaxPacketSize… argument
1212bmAttributes, /* bmAttributes */ …
[all …]
/components/drivers/usb/cherryusb/port/template/
A Dusb_dc.c62 g_xxx_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
66 g_xxx_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/fsdev/
A Dusb_dc_fsdev.c141 …USB_ASSERT_MSG(USB_GET_ENDPOINT_TYPE(ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS, "iso endp… in usbd_ep_open()
146 switch (USB_GET_ENDPOINT_TYPE(ep->bmAttributes)) { in usbd_ep_open()
172 g_fsdev_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
189 g_fsdev_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
203 if (USB_GET_ENDPOINT_TYPE(ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usbd_ep_open()
/components/drivers/usb/cherryusb/class/dfu/
A Dusb_dfu.h99 uint8_t bmAttributes; /**<\brief USB DFU capabilities \ref USB_DFU_CAPAB*/ member
/components/drivers/usb/cherryusb/port/hpmicro/
A Dusb_dc_hpm.c172 tmp_ep_cfg.xfer = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
180 g_hpm_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
184 g_hpm_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/dwc2/
A Dusb_hc_dwc2.c649 USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes), in dwc2_bulk_intr_urb_init()
1026 if (((USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_ISOCHRONOUS) || in usbh_submit_urb()
1027 (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_INTERRUPT)) && in usbh_submit_urb()
1074 …} else if (urb->transfer_buffer && (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) != USB_ENDPOINT_T… in usbh_submit_urb()
1083 switch (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes)) { in usbh_submit_urb()
1204 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_CONTROL) { in dwc2_inchan_irq_handler()
1217 … } else if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in dwc2_inchan_irq_handler()
1236 switch (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes)) { in dwc2_inchan_irq_handler()
1330 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_CONTROL) { in dwc2_outchan_irq_handler()
1355 … } else if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in dwc2_outchan_irq_handler()
[all …]
A Dusb_dc_dwc2.c683 g_dwc2_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
689 … ((uint32_t)USB_GET_ENDPOINT_TYPE(ep->bmAttributes) << 18) | in usbd_ep_open()
704 g_dwc2_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
710 … ((uint32_t)USB_GET_ENDPOINT_TYPE(ep->bmAttributes) << 18) | (ep_idx << 22) | in usbd_ep_open()
/components/drivers/usb/cherryusb/port/kinetis/
A Dusb_dc_kinetis.c170 g_kinetis_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
177 g_kinetis_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
186 …regval |= (USB_GET_ENDPOINT_TYPE(ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS) ? USB_ENDPT_E… in usbd_ep_open()
190 if (USB_GET_ENDPOINT_TYPE(ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usbd_ep_open()
/components/legacy/usb/usbdevice/class/
A Duaudioreg.h70 uByte bmAttributes; member
114 uByte bmAttributes; member
/components/drivers/usb/cherryusb/port/ehci/
A Dusb_hc_ehci.c349 USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes), in ehci_control_urb_init()
444 USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes), in ehci_bulk_urb_init()
540 USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes), in ehci_intr_urb_init()
708 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_INTERRUPT) { in ehci_check_qh()
1242 switch (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes)) { in usbh_submit_urb()
1311 …USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_CONTROL) || (USB_GET_ENDPOINT_TY… in usbh_kill_urb()
1320 } else if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_INTERRUPT) { in usbh_kill_urb()
/components/drivers/include/drivers/
A Dusb_common.h302 rt_uint8_t bmAttributes; member
341 rt_uint8_t bmAttributes; member
/components/drivers/usb/cherryusb/port/nrf5x/
A Dusb_dc_nrf5x.c204 usb_dc_cfg.ep_in[epid].eptype = ep_cfg->bmAttributes; in usbd_ep_open()
207 if (ep_cfg->bmAttributes != USB_ENDPOINT_TYPE_ISOCHRONOUS) in usbd_ep_open()
236 usb_dc_cfg.ep_out[epid].eptype = ep_cfg->bmAttributes; in usbd_ep_open()
239 if (ep_cfg->bmAttributes != USB_ENDPOINT_TYPE_ISOCHRONOUS) in usbd_ep_open()
/components/drivers/usb/cherryusb/core/
A Dusbh_core.c203 USB_LOG_DBG("bmAttributes: 0x%02x \r\n", desc->bmAttributes); in parse_config_descriptor()
213 hport->config.config_desc.bmAttributes = desc->bmAttributes; in parse_config_descriptor()
303 USB_LOG_RAW("bmAttributes: 0x%02x \r\n", hport->config.config_desc.bmAttributes); in usbh_print_hubport_info()
324 …t\tbmAttributes: 0x%02x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.bmAttributes); in usbh_print_hubport_info()
380 ep->bmAttributes = USB_ENDPOINT_TYPE_CONTROL; in usbh_enumerate()
A Dusbh_core.h57 ep_desc->bmAttributes, \
/components/drivers/usb/cherryusb/port/musb/
A Dusb_dc_musb.c420 g_musb_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
456 if (USB_GET_ENDPOINT_TYPE(ep->bmAttributes) == 0x01) { in usbd_ep_open()
471 g_musb_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
501 if (USB_GET_ENDPOINT_TYPE(ep->bmAttributes) == 0x01) { in usbd_ep_open()
A Dusb_hc_musb.c730 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_CONTROL) { in usbh_submit_urb()
750 switch (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes)) { in usbh_submit_urb()
1067 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS) { in USBH_IRQHandler()
1116 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS) { in USBH_IRQHandler()
/components/drivers/usb/cherryusb/port/rp2040/
A Dusb_hc_rp2040.c169 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) != USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usb_buf_ctrl_fill()
283 …->dev_addr, urb->ep->bEndpointAddress, USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes), urb->ep->bInt… in rp2040_bulk_int_urb_init()
517 if (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes) == USB_ENDPOINT_TYPE_CONTROL) { in usbh_submit_urb()
539 switch (USB_GET_ENDPOINT_TYPE(urb->ep->bmAttributes)) { in usbh_submit_urb()
A Dusb_dc_rp2040.c225 g_rp2040_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
234 g_rp2040_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/chipidea/
A Dusb_dc_chipidea.c538 …chipidea_edpt_open(busid, ep->bEndpointAddress, USB_GET_ENDPOINT_TYPE(ep->bmAttributes), ep->wMaxP… in usbd_ep_open()
542 g_chipidea_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
546 g_chipidea_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/class/wireless/
A Dusbh_bluetooth.c56 if (USB_GET_ENDPOINT_TYPE(ep_desc->bmAttributes) == USB_ENDPOINT_TYPE_INTERRUPT) { in usbh_bluetooth_connect()
86 ep_desc->bmAttributes, in usbh_bluetooth_connect()
/components/drivers/usb/cherryusb/port/aic/
A Dusb_dc_aic.c802 g_aic_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
808 ((uint32_t)USB_GET_ENDPOINT_TYPE(ep->bmAttributes) << 18) | in usbd_ep_open()
815 g_aic_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
821 if ((USB_GET_ENDPOINT_TYPE(ep->bmAttributes) == USB_ENDPOINT_TYPE_INTERRUPT) || in usbd_ep_open()
822 (USB_GET_ENDPOINT_TYPE(ep->bmAttributes) == USB_ENDPOINT_TYPE_ISOCHRONOUS)) { in usbd_ep_open()
841 ((uint32_t)USB_GET_ENDPOINT_TYPE(ep->bmAttributes) << 18) | in usbd_ep_open()
/components/legacy/usb/usbhost/class/
A Dhid.c342 if(USB_EP_ATTR(ep_desc->bmAttributes) != USB_EP_ATTR_INT) in rt_usbh_hid_enable()
A Dadk.c314 if((ep_desc->bmAttributes & USB_EP_ATTR_TYPE_MASK) != USB_EP_ATTR_BULK) in rt_usbh_adk_enable()

Completed in 56 milliseconds

12