Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 25 of 51) sorted by relevance

123

/Zephyr-latest/include/zephyr/
Dspinlock.h65 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/
Dmain.c61 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/
Dmutexes.rst23 * 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/
Dclock_control_nrf_auxpll.c38 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/
Dcsip_set_member.c26 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/
Dcsip_set_member.c26 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/include/zephyr/bluetooth/audio/
Dcsip.h113 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/
Dcsip_notify_server_test.c43 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()
Dcsip_set_member_test.c37 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()
Dcsip_set_coordinator_test.c130 bool locked) in csip_lock_changed_cb() argument
132 printk("inst %p %s\n", inst, locked ? "locked" : "released"); in csip_lock_changed_cb()
144 bool locked, struct bt_csip_set_coordinator_set_member *member) in csip_set_coordinator_ordered_access_cb() argument
148 } else if (locked) { in csip_set_coordinator_ordered_access_cb()
Dcsip_notify_client_test.c40 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/
Dnpcx4m8f_evb-pinctrl.dtsi11 pinmux-locked; /* Lock pinmuxing */
/Zephyr-latest/boards/nuvoton/npcx7m6fb_evb/
Dnpcx7m6fb_evb-pinctrl.dtsi11 pinmux-locked; /* Lock pinmuxing */
/Zephyr-latest/boards/nuvoton/npcx9m6f_evb/
Dnpcx9m6f_evb-pinctrl.dtsi11 pinmux-locked; /* Lock pinmuxing */
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_csis.c102 bool locked) in lock_changed_cb() argument
104 LOG_DBG("%s", locked ? "locked" : "unlocked"); in lock_changed_cb()
Dbtp_csip.c134 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/
Dcsip_set_member.c40 bool locked) in locked_cb() argument
44 locked ? "locked" : "released"); in locked_cb()
51 addr, locked ? "locked" : "released"); in locked_cb()
Dcap_acceptor.c54 bool locked) in locked_cb() argument
58 locked ? "locked" : "released"); in locked_cb()
65 addr, locked ? "locked" : "released"); in locked_cb()
Dcsip_set_coordinator.c142 bool locked, struct bt_csip_set_coordinator_set_member *member) in csip_set_coordinator_ordered_access_cb() argument
146 } else if (locked) { in csip_set_coordinator_ordered_access_cb()
/Zephyr-latest/subsys/shell/
Dshell_log_backend.c161 bool locked, bool colors) in process_log_msg() argument
174 if (locked) { in process_log_msg()
193 if (locked) { in process_log_msg()
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dcsip.rst14 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/
Dcsip_set_member.c386 bool locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in set_lock() local
388 svc_inst->cb->lock_changed(conn, svc_inst, locked); in set_lock()
453 bool locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in set_lock_timer_handler() local
455 svc_inst->cb->lock_changed(NULL, svc_inst, locked); in set_lock_timer_handler()
498 bool locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in handle_csip_disconnect() local
500 svc_inst->cb->lock_changed(conn, svc_inst, locked); in handle_csip_disconnect()
Dcsip_set_coordinator.c291 static void lock_changed(struct bt_csip_set_coordinator_csis_inst *inst, bool locked) in lock_changed() argument
299 listener->lock_changed(inst, locked); in lock_changed()
342 int err, bool locked, in ordered_access_complete() argument
352 listener->ordered_access(set_info, err, locked, member); in ordered_access_complete()
519 bool locked; in lock_notify_func() local
530 locked = svc_inst->set_lock == BT_CSIP_LOCK_VALUE; in lock_notify_func()
532 locked ? "locked" : "released"); in lock_notify_func()
537 lock_changed(inst, locked); in lock_notify_func()
1210 static void csip_set_coordinator_lock_state_read_cb(int err, bool locked) in csip_set_coordinator_lock_state_read_cb() argument
1215 if (err || locked) { in csip_set_coordinator_lock_state_read_cb()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/transport/
DKconfig.shell42 the shell from becoming locked if it never receives the full packet
/Zephyr-latest/boards/silabs/radio_boards/xg24_rb4187c/doc/
Dindex.rst43 locked to the 39 MHz external crystal oscillator on the board.

123