Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_set_member.c73 uint8_t set_lock; member
326 LOG_DBG("%u", svc_inst->set_lock); in read_set_lock()
329 &svc_inst->set_lock, in read_set_lock()
330 sizeof(svc_inst->set_lock)); in read_set_lock()
343 static uint8_t set_lock(struct bt_conn *conn, in set_lock() function
353 if (svc_inst->set_lock == BT_CSIP_LOCK_VALUE) { in set_lock()
365 notify = svc_inst->set_lock != val; in set_lock()
367 svc_inst->set_lock = val; in set_lock()
368 if (svc_inst->set_lock == BT_CSIP_LOCK_VALUE) { in set_lock()
381 LOG_DBG("%u", svc_inst->set_lock); in set_lock()
[all …]
Dcsip_internal.h31 uint8_t set_lock; member
Dcsip_set_coordinator.c521 if (length == sizeof(svc_inst->set_lock)) { in lock_notify_func()
533 (void)memcpy(&svc_inst->set_lock, data, length); in lock_notify_func()
535 locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in lock_notify_func()
1250 if (data == NULL || length != sizeof(client->cur_inst->set_lock)) { in csip_set_coordinator_read_lock_cb()
1268 client->cur_inst->set_lock = value; in csip_set_coordinator_read_lock_cb()
1337 svc_inst->set_lock = 0; in csip_set_coordinator_reset()