Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dusb_host.c39 #define HOST_CHECK_FROM_CRIT(cond, ret_val) ({ \ macro
364 HOST_CHECK_FROM_CRIT(p_host_lib_obj == NULL, ESP_ERR_INVALID_STATE); in usb_host_install()
459 HOST_CHECK_FROM_CRIT(p_host_lib_obj != NULL, ESP_ERR_INVALID_STATE); in usb_host_uninstall()
460 HOST_CHECK_FROM_CRIT(p_host_lib_obj->dynamic.process_pending_flags == 0 && in usb_host_uninstall()
539 HOST_CHECK_FROM_CRIT(p_host_lib_obj != NULL, ESP_ERR_INVALID_STATE); in usb_host_lib_unblock()
551 HOST_CHECK_FROM_CRIT(p_host_lib_obj != NULL, ESP_ERR_INVALID_STATE); in usb_host_lib_info()
853 HOST_CHECK_FROM_CRIT(_check_client_opened_device(client_obj, dev_addr), ESP_ERR_NOT_FOUND); in usb_host_device_close()
874HOST_CHECK_FROM_CRIT(p_host_lib_obj->dynamic.flags.num_clients == 0, ESP_ERR_INVALID_STATE); //… in usb_host_device_free_all()
1106 HOST_CHECK_FROM_CRIT(_check_client_opened_device(client_obj, dev_addr), ESP_ERR_INVALID_STATE); in usb_host_interface_claim()
1143 HOST_CHECK_FROM_CRIT(_check_client_opened_device(client_obj, dev_addr), ESP_ERR_INVALID_STATE); in usb_host_interface_release()