Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dusbh.c120 #define USBH_CHECK_FROM_CRIT(cond, ret_val) ({ \ macro
306 USBH_CHECK_FROM_CRIT(p_usbh_obj == NULL, ESP_ERR_INVALID_STATE); in usbh_install()
360 USBH_CHECK_FROM_CRIT(p_usbh_obj != NULL, ESP_ERR_INVALID_STATE); in usbh_uninstall()
394 USBH_CHECK_FROM_CRIT(p_usbh_obj != NULL, ESP_ERR_INVALID_STATE); in usbh_process()
645 USBH_CHECK_FROM_CRIT(dev_obj->constant.address > 0, ESP_ERR_INVALID_STATE); in usbh_dev_get_addr()
687USBH_CHECK_FROM_CRIT(dev_obj->dynamic.state == USB_DEVICE_STATE_CONFIGURED, ESP_ERR_INVALID_STATE); in usbh_dev_get_desc()
721USBH_CHECK_FROM_CRIT(dev_obj->dynamic.state == USB_DEVICE_STATE_CONFIGURED, ESP_ERR_INVALID_STATE); in usbh_dev_submit_ctrl_urb()
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()