Searched refs:USBH_CHECK (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/components/usb/ |
D | usbh.c | 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() [all …]
|