Lines Matching refs:ESP_ERR_INVALID_STATE
306 USBH_CHECK_FROM_CRIT(p_usbh_obj == NULL, ESP_ERR_INVALID_STATE); in usbh_install()
336 ret = ESP_ERR_INVALID_STATE; in usbh_install()
360 USBH_CHECK_FROM_CRIT(p_usbh_obj != NULL, ESP_ERR_INVALID_STATE); in usbh_uninstall()
369 ret = ESP_ERR_INVALID_STATE; in usbh_uninstall()
394 USBH_CHECK_FROM_CRIT(p_usbh_obj != NULL, ESP_ERR_INVALID_STATE); in usbh_process()
549 ret = ESP_ERR_INVALID_STATE; in usbh_dev_open()
645 USBH_CHECK_FROM_CRIT(dev_obj->constant.address > 0, ESP_ERR_INVALID_STATE); in usbh_dev_get_addr()
662 ret = ESP_ERR_INVALID_STATE; in usbh_dev_get_info()
687 …USBH_CHECK_FROM_CRIT(dev_obj->dynamic.state == USB_DEVICE_STATE_CONFIGURED, ESP_ERR_INVALID_STATE); in usbh_dev_get_desc()
704 ret = ESP_ERR_INVALID_STATE; in usbh_dev_get_config_desc()
721 …USBH_CHECK_FROM_CRIT(dev_obj->dynamic.state == USB_DEVICE_STATE_CONFIGURED, ESP_ERR_INVALID_STATE); in usbh_dev_submit_ctrl_urb()
728 ret = ESP_ERR_INVALID_STATE; in usbh_dev_submit_ctrl_urb()
778 ret = ESP_ERR_INVALID_STATE; in usbh_ep_alloc()
793 ret = ESP_ERR_INVALID_STATE; in usbh_ep_alloc()
826 ret = ESP_ERR_INVALID_STATE; in usbh_ep_free()
835 ret = ESP_ERR_INVALID_STATE; in usbh_ep_free()
892 USBH_CHECK_FROM_CRIT(p_usbh_obj != NULL, ESP_ERR_INVALID_STATE); in usbh_hub_is_installed()
894 USBH_CHECK_FROM_CRIT(p_usbh_obj->constant.hub_req_cb == NULL, ESP_ERR_INVALID_STATE); in usbh_hub_is_installed()