Home
last modified time | relevance | path

Searched refs:free_call (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dtbs.c496 struct bt_tbs_call *free_call = NULL; in call_alloc() local
500 free_call = &inst->calls[i]; in call_alloc()
505 if (free_call == NULL) { in call_alloc()
509 __ASSERT_NO_MSG(uri_len < sizeof(free_call->remote_uri)); in call_alloc()
511 memset(free_call, 0, sizeof(*free_call)); in call_alloc()
514 free_call->index = next_free_call_index(); in call_alloc()
515 __ASSERT_NO_MSG(free_call->index != BT_TBS_FREE_CALL_INDEX); in call_alloc()
517 free_call->state = state; in call_alloc()
518 (void)memcpy(free_call->remote_uri, uri, uri_len); in call_alloc()
519 free_call->remote_uri[uri_len] = '\0'; in call_alloc()
[all …]