Searched refs:HCD_CHECK (Results 1 – 1 of 1) sorted by relevance
166 #define HCD_CHECK(cond, ret_val) ({ \ macro1305 HCD_CHECK(port_number > 0 && port_config != NULL && port_hdl != NULL, ESP_ERR_INVALID_ARG); in hcd_port_init()1306 HCD_CHECK(port_number <= NUM_PORTS, ESP_ERR_NOT_FOUND); in hcd_port_init()1428 HCD_CHECK(speed != NULL, ESP_ERR_INVALID_ARG); in hcd_port_get_speed()1819 HCD_CHECK(port_hdl != NULL && pipe_config != NULL && pipe_hdl != NULL, ESP_ERR_INVALID_ARG); in hcd_pipe_alloc()2543 HCD_CHECK(urb->hcd_ptr == NULL && urb->hcd_var == URB_HCD_STATE_IDLE, ESP_ERR_INVALID_STATE); in hcd_urb_enqueue()