Lines Matching refs:USBH_CHECK
115 #define USBH_CHECK(cond, ret_val) ({ \ macro
304 USBH_CHECK(usbh_config != NULL, ESP_ERR_INVALID_ARG); in usbh_install()
483 USBH_CHECK(num_devs_ret != NULL, ESP_ERR_INVALID_ARG); in usbh_num_devs()
496 USBH_CHECK(dev_addr_list != NULL && num_dev_ret != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_addr_list_fill()
526 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_open()
565 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_close()
641 USBH_CHECK(dev_hdl != NULL && dev_addr != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_get_addr()
654 USBH_CHECK(dev_hdl != NULL && dev_info != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_get_info()
683 USBH_CHECK(dev_hdl != NULL && dev_desc_ret != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_get_desc()
696 USBH_CHECK(dev_hdl != NULL && config_desc_ret != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_get_config_desc()
717 USBH_CHECK(dev_hdl != NULL && urb != NULL, ESP_ERR_INVALID_ARG); in usbh_dev_submit_ctrl_urb()
749 USBH_CHECK(dev_hdl != NULL && ep_config != NULL && pipe_hdl_ret != NULL, ESP_ERR_INVALID_ARG); in usbh_ep_alloc()
809 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_ep_free()
850 USBH_CHECK(dev_hdl != NULL && in usbh_ep_get_context()
888 USBH_CHECK(hub_req_callback != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_is_installed()
905 USBH_CHECK(new_dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_add_dev()
921 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_pass_event()
965 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_enum_fill_dev_addr()
979 USBH_CHECK(dev_hdl != NULL && device_desc != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_enum_fill_dev_desc()
988 USBH_CHECK(dev_hdl != NULL && config_desc_full != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_enum_fill_config_desc()
1005 …USBH_CHECK(dev_hdl != NULL && str_desc != NULL && (select >= 0 && select < 3), ESP_ERR_INVALID_ARG… in usbh_hub_enum_fill_str_desc()
1034 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_enum_done()
1059 USBH_CHECK(dev_hdl != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_enum_failed()