Home
last modified time | relevance | path

Searched refs:ep_type (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_stm32.c157 uint8_t ep_type; /** Endpoint type (STM32 HAL enum) */ member
564 usb_dc_stm32_state.out_ep_state[EP0_IDX].ep_type = EP_TYPE_CTRL; in usb_dc_stm32_init()
566 usb_dc_stm32_state.in_ep_state[EP0_IDX].ep_type = EP_TYPE_CTRL; in usb_dc_stm32_init()
749 cfg->ep_type); in usb_dc_ep_check_cap()
751 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
775 ep_cfg->ep_type); in usb_dc_ep_configure()
778 if (ep_cfg->ep_type == USB_DC_EP_ISOCHRONOUS) { in usb_dc_ep_configure()
788 if (ep_cfg->ep_type == USB_DC_EP_ISOCHRONOUS) { in usb_dc_ep_configure()
801 if (ep_cfg->ep_type == USB_DC_EP_ISOCHRONOUS) { in usb_dc_ep_configure()
810 switch (ep_cfg->ep_type) { in usb_dc_ep_configure()
[all …]
Dusb_dc_sam_usbhs.c256 .ep_type = USB_DC_EP_CONTROL, in usb_dc_isr()
434 if (cfg->ep_type != USB_DC_EP_CONTROL) { in usb_dc_ep_check_cap()
451 (cfg->ep_type == USB_DC_EP_CONTROL && cfg->ep_mps > 64)) { in usb_dc_ep_check_cap()
483 cfg->ep_type); in usb_dc_ep_configure()
491 switch (cfg->ep_type) { in usb_dc_ep_configure()
510 cfg->ep_type == USB_DC_EP_CONTROL) { in usb_dc_ep_configure()
525 if (cfg->ep_type == USB_DC_EP_ISOCHRONOUS) { in usb_dc_ep_configure()
Dusb_dc_dw.c360 uint32_t ep_mps, enum usb_dc_ep_transfer_type ep_type) in usb_dw_ep_set() argument
366 LOG_DBG("%s ep %x, mps %d, type %d", __func__, ep, ep_mps, ep_type); in usb_dw_ep_set()
414 switch (ep_type) { in usb_dw_ep_set()
944 cfg->ep_type); in usb_dc_ep_check_cap()
946 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
984 usb_dw_ep_set(ep, ep_cfg->ep_mps, ep_cfg->ep_type); in usb_dc_ep_configure()
Dusb_dc_sam_usbc.c849 if (cfg->ep_type != USB_DC_EP_CONTROL) { in usb_dc_ep_check_cap()
866 (cfg->ep_type == USB_DC_EP_CONTROL && cfg->ep_mps > 64)) { in usb_dc_ep_check_cap()
894 cfg->ep_addr, cfg->ep_mps, cfg->ep_type); in usb_dc_ep_configure()
896 switch (cfg->ep_type) { in usb_dc_ep_configure()
914 cfg->ep_type == USB_DC_EP_CONTROL) { in usb_dc_ep_configure()
929 if (cfg->ep_type != USB_DC_EP_CONTROL) { in usb_dc_ep_configure()
Dusb_dc_rpi_pico.c592 cfg->ep_addr, cfg->ep_mps, cfg->ep_type); in usb_dc_ep_check_cap()
594 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
618 ep_cfg->ep_mps, ep_cfg->ep_type); in usb_dc_ep_configure()
621 ep_state->type = ep_cfg->ep_type; in usb_dc_ep_configure()
Dusb_dc_it82xx2.c153 enum usb_dc_ep_transfer_type ep_type; member
1071 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx > EP0) { in usb_dc_ep_check_cap()
1141 switch (cfg->ep_type) { in usb_dc_ep_configure()
1156 udata0.ep_data[ep_idx].ep_type = cfg->ep_type; in usb_dc_ep_configure()
1158 LOG_DBG("EP%d Configured: 0x%2X(%d)", ep_idx, !!(in), cfg->ep_type); in usb_dc_ep_configure()
Dusb_dc_native_posix.c160 cfg->ep_type); in usb_dc_ep_check_cap()
162 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
Dusb_dc_kinetis.c279 switch (cfg->ep_type) { in usb_dc_ep_check_cap()
343 cfg->ep_type); in usb_dc_ep_configure()
384 switch (cfg->ep_type) { in usb_dc_ep_configure()
860 ep_cfg.ep_type = USB_DC_EP_CONTROL; in reenable_control_endpoints()
Dusb_dc_nrfx.c1384 ep_cfg->ep_type); in usb_dc_ep_check_cap()
1386 if ((ep_cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
1396 if ((ep_cfg->ep_type == USB_DC_EP_ISOCHRONOUS) && in usb_dc_ep_check_cap()
1402 if ((ep_cfg->ep_type != USB_DC_EP_ISOCHRONOUS) && in usb_dc_ep_check_cap()
1435 ep_ctx->cfg.type = ep_cfg->ep_type; in usb_dc_ep_configure()
Dusb_dc_smartbond.c1278 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, cfg->ep_type); in usb_dc_ep_check_cap()
1280 if ((cfg->ep_type == USB_DC_EP_CONTROL && ep_idx != 0) || in usb_dc_ep_check_cap()
1281 (cfg->ep_type != USB_DC_EP_CONTROL && ep_idx == 0)) { in usb_dc_ep_check_cap()
1448 ep_state->iso = ep_cfg->ep_type == USB_DC_EP_ISOCHRONOUS; in usb_dc_ep_configure()
1451 if (ep_cfg->ep_type == USB_DC_EP_CONTROL) { in usb_dc_ep_configure()
Dusb_dc_numaker.c635 if (ep_cfg->ep_type == USB_DC_EP_CONTROL) { in numaker_usbd_ep_config_major()
646 if (ep_cfg->ep_type == USB_DC_EP_ISOCHRONOUS) { in numaker_usbd_ep_config_major()
1357 if ((ep_cfg->ep_type == USB_DC_EP_CONTROL) && USB_EP_GET_IDX(ep_cfg->ep_addr) != 0) { in usb_dc_ep_check_cap()
1367 if (config->disallow_iso_inout_same && ep_cfg->ep_type != USB_DC_EP_CONTROL) { in usb_dc_ep_check_cap()
1436 LOG_DBG("EP=0x%02x, MPS=%d, Type=%d", ep_cfg->ep_addr, ep_cfg->ep_mps, ep_cfg->ep_type); in usb_dc_ep_configure()
Dusb_dc_sam0.c367 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
394 switch (cfg->ep_type) { in usb_dc_ep_configure()
Dusb_dc_mcux.c265 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx) { in usb_dc_ep_check_cap()
289 ep_init.transferType = cfg->ep_type; in usb_dc_ep_configure()
/Zephyr-latest/include/zephyr/drivers/usb/
Dusb_dc.h123 enum usb_dc_ep_transfer_type ep_type; member
/Zephyr-latest/drivers/usb/udc/
Dudc_stm32.c644 uint8_t ep_type; in udc_stm32_ep_enable() local
651 ep_type = EP_TYPE_CTRL; in udc_stm32_ep_enable()
654 ep_type = EP_TYPE_BULK; in udc_stm32_ep_enable()
657 ep_type = EP_TYPE_INTR; in udc_stm32_ep_enable()
660 ep_type = EP_TYPE_ISOC; in udc_stm32_ep_enable()
672 udc_mps_ep_size(ep_cfg), ep_type); in udc_stm32_ep_enable()
/Zephyr-latest/subsys/usb/device/
Dusb_device.c566 ep_cfg.ep_type = ep_desc->bmAttributes & USB_EP_TRANSFER_TYPE_MASK; in set_endpoint()
569 ep_cfg.ep_addr, ep_cfg.ep_type, ep_cfg.ep_mps); in set_endpoint()
642 ep_cfg.ep_type = ep_desc->bmAttributes & USB_EP_TRANSFER_TYPE_MASK; in reset_endpoint()
645 ep_cfg.ep_addr, ep_cfg.ep_type); in reset_endpoint()
1658 ep0_cfg.ep_type = USB_DC_EP_CONTROL; in usb_enable()
Dusb_descriptor.c267 ep_cfg.ep_type = (ep_descr->bmAttributes & in usb_validate_ep_cfg_data()
386 .ep_type = USB_DC_EP_CONTROL, in usb_desc_update_mps0()