Lines Matching refs:HCD_CHECK_FROM_CRIT
171 #define HCD_CHECK_FROM_CRIT(cond, ret_val) ({ \ macro
997 HCD_CHECK_FROM_CRIT(s_hcd_obj == NULL, ESP_ERR_INVALID_STATE); in hcd_install()
1332 …HCD_CHECK_FROM_CRIT(s_hcd_obj != NULL && !s_hcd_obj->port_obj->initialized, ESP_ERR_INVALID_STATE); in hcd_port_init()
1361 HCD_CHECK_FROM_CRIT(s_hcd_obj != NULL && port->initialized in hcd_port_deinit()
1431 HCD_CHECK_FROM_CRIT(port->flags.conn_dev_ena, ESP_ERR_INVALID_STATE); in hcd_port_get_speed()
1481 …HCD_CHECK_FROM_CRIT(s_hcd_obj != NULL && port->initialized && port->state == HCD_PORT_STATE_RECOVE… in hcd_port_recover()
1823 HCD_CHECK_FROM_CRIT(port->initialized && port->flags.conn_dev_ena, ESP_ERR_INVALID_STATE); in hcd_pipe_alloc()
1913 HCD_CHECK_FROM_CRIT(!pipe->multi_buffer_control.buffer_is_executing in hcd_pipe_free()
1937 HCD_CHECK_FROM_CRIT(!pipe->cs_flags.pipe_cmd_processing && in hcd_pipe_update_mps()
1953 HCD_CHECK_FROM_CRIT(!pipe->cs_flags.pipe_cmd_processing && in hcd_pipe_update_dev_addr()
1969 HCD_CHECK_FROM_CRIT(!pipe->cs_flags.pipe_cmd_processing && in hcd_pipe_update_callback()
1984 HCD_CHECK_FROM_CRIT(!pipe->cs_flags.pipe_cmd_processing && in hcd_pipe_set_persist_reset()
2548 …HCD_CHECK_FROM_CRIT(pipe->port->state == HCD_PORT_STATE_ENABLED //The pipe's port must be … in hcd_urb_enqueue()
2614 …HCD_CHECK_FROM_CRIT(urb->hcd_ptr != NULL && urb->hcd_var != URB_HCD_STATE_IDLE, ESP_ERR_INVALID_ST… in hcd_urb_abort()