Searched refs:iso_state (Results 1 – 3 of 3) sorted by relevance
467 enum bt_iso_state iso_state; in bt_bap_stream_can_disconnect() local479 iso_state = stream_ep->iso->chan.state; in bt_bap_stream_can_disconnect()481 if (iso_state == BT_ISO_STATE_CONNECTED || iso_state == BT_ISO_STATE_CONNECTING) { in bt_bap_stream_can_disconnect()
3370 enum bt_iso_state iso_state; in bt_bap_unicast_client_connect() local3392 iso_state = iso_chan->state; in bt_bap_unicast_client_connect()3393 if (iso_state == BT_ISO_STATE_DISCONNECTED) { in bt_bap_unicast_client_connect()3404 } else if (iso_state == BT_ISO_STATE_CONNECTING || iso_state == BT_ISO_STATE_CONNECTED) { in bt_bap_unicast_client_connect()3405 LOG_DBG("iso_chan %p already connecting or connected (%u)", iso_chan, iso_state); in bt_bap_unicast_client_connect()3410 LOG_DBG("iso_chan %p in invalid state state (%u), cannot connect", iso_chan, iso_state); in bt_bap_unicast_client_connect()3485 enum bt_iso_state iso_state; in bt_bap_unicast_client_stop() local3513 iso_state = ep->iso->chan.state; in bt_bap_unicast_client_stop()3514 if (iso_state != BT_ISO_STATE_CONNECTED && iso_state != BT_ISO_STATE_CONNECTING) { in bt_bap_unicast_client_stop()
1793 enum bt_iso_state iso_state; in can_stop_stream() local1803 iso_state = bap_stream_get_iso_state(bap_stream); in can_stop_stream()1804 if (iso_state != BT_ISO_STATE_CONNECTED && iso_state != BT_ISO_STATE_CONNECTING) { in can_stop_stream()