Home
last modified time | relevance | path

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

/subsys/bluetooth/audio/
A Dbap_iso.c59 atomic_val_t old; in bt_bap_iso_ref() local
69 old = atomic_get(&iso->ref); in bt_bap_iso_ref()
71 if (!old) { in bt_bap_iso_ref()
74 } while (!atomic_cas(&iso->ref, old, old + 1)); in bt_bap_iso_ref()
81 atomic_val_t old; in bt_bap_iso_unref() local
85 old = atomic_dec(&iso->ref); in bt_bap_iso_unref()
87 __ASSERT(old > 0, "iso reference counter is 0"); in bt_bap_iso_unref()
A Dpacs.c1256 uint16_t old = POINTER_TO_UINT(client->snk_available_contexts); in pacs_disconnected() local
1262 atomic_set_bit_to(client->flags, FLAG_AVAILABLE_AUDIO_CONTEXT_CHANGED, old != new); in pacs_disconnected()
1269 uint16_t old = POINTER_TO_UINT(client->src_available_contexts); in pacs_disconnected() local
1275 atomic_set_bit_to(client->flags, FLAG_AVAILABLE_AUDIO_CONTEXT_CHANGED, old != new); in pacs_disconnected()
1450 enum bt_audio_context old = pacs_get_available_contexts_for_conn(conn, dir); in bt_pacs_conn_set_available_contexts_for_conn() local
1497 if (pacs_get_available_contexts_for_conn(conn, dir) == old) { in bt_pacs_conn_set_available_contexts_for_conn()
/subsys/bluetooth/services/
A Ddis.c303 static void dis_update_udi_value(const char *new, char *old, settings_read_cb read_cb, in dis_update_udi_value() argument
315 size_t without_old = merged_size - DIS_STR_SIZE(old); in dis_update_udi_value()
326 int16_t len = read_cb((void *)new, (void *)old, CONFIG_BT_DIS_STR_MAX); in dis_update_udi_value()
331 old[len] = '\0'; in dis_update_udi_value()
333 LOG_DBG("UDI %s set to %s", logkey, old); in dis_update_udi_value()
/subsys/testsuite/arch/unit_testing/
A DKconfig5 # Current the use of X86 is for consistency with old testsuite/ztest which
/subsys/mgmt/mcumgr/
A DKconfig33 the old behaviour where the rc field will be present in the response.
/subsys/net/ip/
A Droute.c311 static inline bool route_preference_is_lower(uint8_t old, uint8_t new) in route_preference_is_lower() argument
318 old = (old + 1) & 0x3; in route_preference_is_lower()
321 return new < old; in route_preference_is_lower()
A Dtp.c494 bool new_value, old = *((bool *) value); in tp_new_find_and_apply() local
498 tp_dbg("%s %d->%d", key, old, new_value); in tp_new_find_and_apply()
A DKconfig.tcp56 an old, closed connection in a special "TIME_WAIT" state for
A DKconfig.ipv6257 prepared to use new IPv6 addresses when old ones will expire.
/subsys/bluetooth/host/
A Dconn.c1462 atomic_val_t old; in bt_conn_ref() local
1472 old = atomic_get(&conn->ref); in bt_conn_ref()
1474 if (!old) { in bt_conn_ref()
1477 } while (!atomic_cas(&conn->ref, old, old + 1)); in bt_conn_ref()
1479 LOG_DBG("handle %u ref %ld -> %ld", conn->handle, old, old + 1); in bt_conn_ref()
1498 atomic_val_t old; in bt_conn_unref() local
1513 old = atomic_dec(&conn->ref); in bt_conn_unref()
1515 deallocated = (atomic_get(&old) == 1); in bt_conn_unref()
1521 LOG_DBG("handle %u ref %ld -> %ld", conn_handle, old, (old - 1)); in bt_conn_unref()
1523 __ASSERT(old > 0, "Conn reference counter is 0"); in bt_conn_unref()
A DKconfig621 to create a new bond the old bond has to be explicitly deleted with
/subsys/net/lib/dns/
A DKconfig143 bool "Cleanup old DNS server entries when reconfiguring"
147 remove the old entries before setting up the new ones.
/subsys/bluetooth/host/classic/
A Dl2cap_br.c420 __maybe_unused atomic_t old = atomic_set(&br_chan->_pdu_ready_lock, 0); in lower_data_ready() local
422 __ASSERT_NO_MSG(old); in lower_data_ready()
/subsys/bluetooth/controller/
A DKconfig.ll_sw_split547 instead of the old sets based one. The new implementation has a much lighter

Completed in 57 milliseconds