Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dusb_host.c34 #define HOST_CHECK(cond, ret_val) ({ \ macro
362 HOST_CHECK(config != NULL, ESP_ERR_INVALID_ARG); in usb_host_install()
547 HOST_CHECK(info_ret != NULL, ESP_ERR_INVALID_ARG); in usb_host_lib_info()
615 HOST_CHECK(p_host_lib_obj, ESP_ERR_INVALID_STATE); in usb_host_client_register()
616 HOST_CHECK(client_config != NULL && client_hdl_ret != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_register()
617 HOST_CHECK(client_config->max_num_event_msg > 0, ESP_ERR_INVALID_ARG); in usb_host_client_register()
620 HOST_CHECK(client_config->async.client_event_callback != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_register()
668 HOST_CHECK(client_hdl != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_deregister()
718 HOST_CHECK(client_hdl != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_handle_events()
782 HOST_CHECK(client_hdl != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_unblock()
[all …]