Lines Matching refs:pipe
153 hcd_pipe_handle_t pipe; /**< Default pipe handle of the device being enumerated */ member
277 enum_ctrl->pipe = enum_dflt_pipe_hdl; in enum_stage_start()
283 …ESP_ERROR_CHECK(hcd_pipe_set_persist_reset(enum_ctrl->pipe)); //Persist the default pipe through … in enum_stage_second_reset()
402 if (hcd_urb_enqueue(enum_ctrl->pipe, enum_ctrl->urb) != ESP_OK) { in enum_stage_transfer()
412 urb_t *dequeued_enum_urb = hcd_urb_dequeue(enum_ctrl->pipe); in enum_stage_transfer_check()
439 if (hcd_pipe_update_mps(enum_ctrl->pipe, device_desc->bMaxPacketSize0) != ESP_OK) { in enum_stage_transfer_check()
451 ESP_ERROR_CHECK(hcd_pipe_update_dev_addr(enum_ctrl->pipe, ENUM_DEV_ADDR)); in enum_stage_transfer_check()
590 enum_ctrl->pipe = NULL; in enum_stage_cleanup()
601 ESP_ERROR_CHECK(hcd_pipe_command(enum_ctrl->pipe, HCD_PIPE_CMD_HALT)); in enum_stage_cleanup_failed()
602 ESP_ERROR_CHECK(hcd_pipe_command(enum_ctrl->pipe, HCD_PIPE_CMD_FLUSH)); in enum_stage_cleanup_failed()
603 hcd_urb_dequeue(enum_ctrl->pipe); //This could return NULL if there in enum_stage_cleanup_failed()
608 enum_ctrl->pipe = NULL; in enum_stage_cleanup_failed()