/Zephyr-latest/include/zephyr/ |
D | spinlock.h | 65 atomic_t locked; 206 while (!atomic_cas(&l->locked, 0, 1)) { in k_spin_lock() 261 if (!atomic_cas(&l->locked, 0, 1)) { in k_spin_trylock() 328 (void)atomic_clear(&l->locked); in k_spin_unlock() 353 return l->locked; in z_spin_is_locked() 369 (void)atomic_clear(&l->locked); in k_spin_release()
|
/Zephyr-latest/tests/kernel/spinlock/src/ |
D | main.c | 61 int i, locked; in bounce_once() local 67 locked = 0; in bounce_once() 81 locked = 1; in bounce_once() 89 if (!locked && bounce_done) { in bounce_once() 93 zassert_true(locked, "Other cpu did not get lock in 10000 tries"); in bounce_once()
|
/Zephyr-latest/doc/kernel/services/synchronization/ |
D | mutexes.rst | 23 * A **lock count** that indicates the number of times the mutex has been locked 24 by the thread that has locked it. A count of zero indicates that the mutex 27 * An **owning thread** that identifies the thread that has locked the mutex, 28 when it is locked. 34 to access it by **locking** the associated mutex. If the mutex is already locked 44 Any number of threads may wait on a locked mutex simultaneously. 45 When the mutex becomes unlocked it is then locked by the highest-priority 54 A thread is permitted to lock a mutex it has already locked. 56 in its execution when the mutex may or may not already be locked. 58 A mutex that is repeatedly locked by a thread must be unlocked an equal number [all …]
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_nrf_auxpll.c | 38 bool locked; in clock_control_nrf_auxpll_on() local 46 locked = nrf_auxpll_mode_locked_check(config->auxpll); in clock_control_nrf_auxpll_on() 47 if (!locked) { in clock_control_nrf_auxpll_on() 51 } while (wait < AUXPLL_LOCK_TIME_MAX_MS && !locked); in clock_control_nrf_auxpll_on() 53 return locked ? 0 : -ETIMEDOUT; in clock_control_nrf_auxpll_on()
|
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
D | csip_set_member.c | 26 bool locked) in csip_lock_changed_cb() argument 28 printk("Client %p %s the lock\n", conn, locked ? "locked" : "released"); in csip_lock_changed_cb()
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | csip_set_member.c | 22 bool locked) in csip_lock_changed_cb() argument 24 printk("Client %p %s the lock\n", conn, locked ? "locked" : "released"); in csip_lock_changed_cb()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | csip.h | 113 bool locked); 373 struct bt_csip_set_coordinator_csis_inst *inst, bool locked); 401 int err, bool locked,
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | csip_notify_server_test.c | 43 bool locked) in csip_set_member_lock_changed_cb() argument 45 printk("Client %p %s the lock\n", conn, locked ? "locked" : "released"); in csip_set_member_lock_changed_cb()
|
D | csip_set_member_test.c | 37 bool locked) in csip_lock_changed_cb() argument 39 printk("Client %p %s the lock\n", conn, locked ? "locked" : "released"); in csip_lock_changed_cb() 40 g_locked = locked; in csip_lock_changed_cb()
|
D | csip_set_coordinator_test.c | 129 bool locked) in csip_lock_changed_cb() argument 131 printk("inst %p %s\n", inst, locked ? "locked" : "released"); in csip_lock_changed_cb() 143 bool locked, struct bt_csip_set_coordinator_set_member *member) in csip_set_coordinator_ordered_access_cb() argument 147 } else if (locked) { in csip_set_coordinator_ordered_access_cb()
|
D | csip_notify_client_test.c | 40 static void csip_lock_changed(struct bt_csip_set_coordinator_csis_inst *inst, bool locked) in csip_lock_changed() argument
|
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/ |
D | npcx4m8f_evb-pinctrl.dtsi | 11 pinmux-locked; /* Lock pinmuxing */
|
/Zephyr-latest/boards/nuvoton/npcx7m6fb_evb/ |
D | npcx7m6fb_evb-pinctrl.dtsi | 11 pinmux-locked; /* Lock pinmuxing */
|
/Zephyr-latest/boards/nuvoton/npcx9m6f_evb/ |
D | npcx9m6f_evb-pinctrl.dtsi | 11 pinmux-locked; /* Lock pinmuxing */
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_csis.c | 102 bool locked) in lock_changed_cb() argument 104 LOG_DBG("%s", locked ? "locked" : "unlocked"); in lock_changed_cb()
|
D | btp_csip.c | 134 bool locked) in csip_lock_changed_cb() argument 141 bool locked, struct bt_csip_set_coordinator_set_member *member) in csip_set_coordinator_ordered_access_cb() argument 147 } else if (locked) { in csip_set_coordinator_ordered_access_cb()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | csip_set_member.c | 40 bool locked) in locked_cb() argument 44 locked ? "locked" : "released"); in locked_cb() 51 addr, locked ? "locked" : "released"); in locked_cb()
|
D | cap_acceptor.c | 54 bool locked) in locked_cb() argument 58 locked ? "locked" : "released"); in locked_cb() 65 addr, locked ? "locked" : "released"); in locked_cb()
|
D | csip_set_coordinator.c | 143 bool locked, struct bt_csip_set_coordinator_set_member *member) in csip_set_coordinator_ordered_access_cb() argument 147 } else if (locked) { in csip_set_coordinator_ordered_access_cb()
|
/Zephyr-latest/subsys/shell/ |
D | shell_log_backend.c | 161 bool locked, bool colors) in process_log_msg() argument 173 if (locked) { in process_log_msg() 192 if (locked) { in process_log_msg()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | csip.rst | 14 set. While the coordinated set is locked, no other clients may lock the set. 119 <dbg> bt_csip_set_coordinator.notify_func: Instance 0 lock was locked 121 <dbg> bt_csip_set_coordinator.notify_func: Instance 0 lock was locked 122 Set locked
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | csip_set_member.c | 392 bool locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in set_lock() local 394 svc_inst->cb->lock_changed(conn, svc_inst, locked); in set_lock() 459 bool locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in set_lock_timer_handler() local 461 svc_inst->cb->lock_changed(NULL, svc_inst, locked); in set_lock_timer_handler() 504 bool locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in handle_csip_disconnect() local 506 svc_inst->cb->lock_changed(conn, svc_inst, locked); in handle_csip_disconnect()
|
D | csip_set_coordinator.c | 296 static void lock_changed(struct bt_csip_set_coordinator_csis_inst *inst, bool locked) in lock_changed() argument 304 listener->lock_changed(inst, locked); in lock_changed() 347 int err, bool locked, in ordered_access_complete() argument 357 listener->ordered_access(set_info, err, locked, member); in ordered_access_complete() 524 bool locked; in lock_notify_func() local 535 locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in lock_notify_func() 537 locked ? "locked" : "released"); in lock_notify_func() 542 lock_changed(inst, locked); in lock_notify_func() 1215 static void csip_set_coordinator_lock_state_read_cb(int err, bool locked) in csip_set_coordinator_lock_state_read_cb() argument 1220 if (err || locked) { in csip_set_coordinator_lock_state_read_cb() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/ |
D | Kconfig.shell | 42 the shell from becoming locked if it never receives the full packet
|
/Zephyr-latest/tests/drivers/flash/stm32/src/ |
D | main.c | 187 #error Block Register tests unable to run other tests, because of locked registers.
|