Home
last modified time | relevance | path

Searched refs:pipe_config (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/usb/
Dhcd.c1614 static bool pipe_alloc_check_args(const hcd_pipe_config_t *pipe_config, usb_speed_t port_speed, con… in pipe_alloc_check_args() argument
1617 if (port_speed == USB_SPEED_LOW && pipe_config->dev_speed == USB_SPEED_FULL) { in pipe_alloc_check_args()
1621 …if (pipe_config->dev_speed == USB_SPEED_LOW && (type == USB_TRANSFER_TYPE_BULK || type == USB_TRAN… in pipe_alloc_check_args()
1627 (pipe_config->ep_desc->bInterval > 0 && pipe_config->ep_desc->bInterval > 32)) { in pipe_alloc_check_args()
1632 (pipe_config->ep_desc->bInterval > 0 && pipe_config->ep_desc->bInterval > 6)) { in pipe_alloc_check_args()
1641 if (USB_EP_DESC_GET_EP_DIR(pipe_config->ep_desc)) { //IN in pipe_alloc_check_args()
1650 return (pipe_config->ep_desc->wMaxPacketSize <= limit); in pipe_alloc_check_args()
1653 static void pipe_set_ep_char(const hcd_pipe_config_t *pipe_config, usb_transfer_type_t type, bool i… in pipe_set_ep_char() argument
1675 …ep_char->mps = (pipe_config->dev_speed == USB_SPEED_FULL) ? CTRL_EP_MAX_MPS_FS : CTRL_EP_MAX_MPS_L… in pipe_set_ep_char()
1677 ep_char->bEndpointAddress = pipe_config->ep_desc->bEndpointAddress; in pipe_set_ep_char()
[all …]
Dusbh.c139 hcd_pipe_config_t pipe_config = { in device_alloc() local
148 ret = hcd_pipe_alloc(port_hdl, &pipe_config, &default_pipe_hdl); in device_alloc()
754 hcd_pipe_config_t pipe_config = { in usbh_ep_alloc() local
763 ret = hcd_pipe_alloc(dev_obj->constant.port_hdl, &pipe_config, &pipe_hdl); in usbh_ep_alloc()
/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_common.c231 hcd_pipe_config_t pipe_config = { in test_hcd_pipe_alloc() local
240 TEST_ASSERT_EQUAL(ESP_OK, hcd_pipe_alloc(port_hdl, &pipe_config, &pipe_hdl)); in test_hcd_pipe_alloc()
/hal_espressif-3.6.0/components/usb/private_include/
Dhcd.h362 esp_err_t hcd_pipe_alloc(hcd_port_handle_t port_hdl, const hcd_pipe_config_t *pipe_config, hcd_pipe…