Searched refs:HCD_CHECK_FROM_CRIT (Results 1 – 1 of 1) sorted by relevance
171 #define HCD_CHECK_FROM_CRIT(cond, ret_val) ({ \ macro997 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()[all …]