Home
last modified time | relevance | path

Searched full:flag (Results 1 – 25 of 904) sorted by relevance

12345678910>>...37

/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Ddebug.h107 #define DEBUG_CPU_SLEEP(flag) gpio_pin_set(DEBUG0_PORT, DEBUG0_PIN, flag) argument
109 #define DEBUG_TICKER_ISR(flag) gpio_pin_set(DEBUG1_PORT, DEBUG1_PIN, flag) argument
111 #define DEBUG_TICKER_TASK(flag) gpio_pin_set(DEBUG1_PORT, DEBUG1_PIN, flag) argument
113 #define DEBUG_TICKER_JOB(flag) gpio_pin_set(DEBUG2_PORT, DEBUG2_PIN, flag) argument
115 #define DEBUG_RADIO_ISR(flag) gpio_pin_set(DEBUG7_PORT, DEBUG7_PIN, flag) argument
117 #define DEBUG_RADIO_XTAL(flag) gpio_pin_set(DEBUG8_PORT, DEBUG8_PIN, flag) argument
119 #define DEBUG_RADIO_ACTIVE(flag) gpio_pin_set(DEBUG9_PORT, DEBUG9_PIN, flag) argument
121 #define DEBUG_RADIO_CLOSE(flag) \ argument
123 if (!flag) { \
124 gpio_pin_set(DEBUG3_PORT, DEBUG3_PIN, flag); \
[all …]
/Zephyr-Core-3.7.0/tests/bsim/babblekit/include/babblekit/
Dflags.h18 /* Declare a flag that has been defined in another file */
19 #define DECLARE_FLAG(flag) extern atomic_t flag argument
21 /* Define a new binary flag.
24 * @param flag Name of the flag
26 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
28 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
29 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
31 #define IS_FLAG_SET(flag) (atomic_get(&flag) != false) argument
33 /* Block until `flag` is equal to `val` */
39 /* Block until `flag` is true */
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Ddebug.h109 #define DEBUG_CPU_SLEEP(flag) \ argument
111 if (flag) { \
120 #define DEBUG_TICKER_ISR(flag) \ argument
122 if (flag) { \
131 #define DEBUG_TICKER_TASK(flag) \ argument
133 if (flag) { \
142 #define DEBUG_TICKER_JOB(flag) \ argument
144 if (flag) { \
153 #define DEBUG_RADIO_ISR(flag) \ argument
155 if (flag) { \
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/pipeline/common/
Dutils.h15 #define DECLARE_FLAG(flag) extern atomic_t flag argument
16 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
17 #define TEST_FLAG(flag) (bool)atomic_get(&flag) argument
18 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
19 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
25 #define WAIT_FOR_FLAG(flag) \ argument
26 while (!(bool)atomic_get(&flag)) { \
29 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
30 while ((bool)atomic_get(&flag)) { \
33 #define TAKE_FLAG(flag) \ argument
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/split/common/
Dutils.h16 #define DECLARE_FLAG(flag) extern atomic_t flag argument
17 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
18 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
19 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
21 #define WAIT_FOR_FLAG(flag) \ argument
22 while (!(bool)atomic_get(&flag)) { \
25 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
26 while ((bool)atomic_get(&flag)) { \
29 #define TAKE_FLAG(flag) \ argument
30 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/adv/extended/src/
Dcommon.h20 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
21 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
22 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true) argument
23 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
24 #define WAIT_FOR_FLAG(flag) \ argument
25 while (!(bool)atomic_get(&flag)) { \
28 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
29 while ((bool)atomic_get(&flag)) { \
32 #define TAKE_FLAG(flag) \ argument
33 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/hfc/src/
Dutils.h16 #define DECLARE_FLAG(flag) extern atomic_t flag argument
17 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t)false argument
18 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
19 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
25 #define WAIT_FOR_FLAG(flag) \ argument
26 while (!(bool)atomic_get(&flag)) { \
29 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
30 while ((bool)atomic_get(&flag)) { \
33 #define TAKE_FLAG(flag) \ argument
34 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dbs_bt_utils.h15 #define DECLARE_FLAG(flag) extern atomic_t flag argument
16 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
17 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
18 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
19 #define WAIT_FOR_FLAG(flag) \ argument
20 while (!(bool)atomic_get(&flag)) { \
23 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
24 while ((bool)atomic_get(&flag)) { \
27 #define TAKE_FLAG(flag) \ argument
28 while (!(bool)atomic_cas(&flag, true, false)) { \
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/sequential/common/
Dutils.h16 #define DECLARE_FLAG(flag) extern atomic_t flag argument
17 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
18 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
19 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
25 #define WAIT_FOR_FLAG(flag) \ argument
26 while (!(bool)atomic_get(&flag)) { \
29 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
30 while ((bool)atomic_get(&flag)) { \
33 #define TAKE_FLAG(flag) \ argument
34 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/retry_on_sec_err/
Dtest_utils.h8 #define DECLARE_FLAG(flag) extern atomic_t flag argument
9 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
10 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
11 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
12 #define WAIT_FOR_FLAG(flag) \ argument
13 while (!(bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/iso/cis/src/
Dcommon.h17 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t) false argument
18 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
19 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
20 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t) true) argument
21 #define WAIT_FOR_FLAG_SET(flag) \ argument
22 while (!(bool)atomic_get(&flag)) { \
25 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
26 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/disconnect/common/
Dutils.h16 #define DECLARE_FLAG(flag) extern atomic_t flag argument
17 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
18 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
19 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
29 #define WAIT_FOR_FLAG(flag) \ argument
30 while (!(bool)atomic_get(&flag)) { \
33 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
34 while ((bool)atomic_get(&flag)) { \
37 #define TAKE_FLAG(flag) \ argument
38 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/gatt/settings/src/
Dutils.h18 #define DECLARE_FLAG(flag) extern atomic_t flag argument
19 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
20 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
21 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
22 #define WAIT_FOR_FLAG(flag) \ argument
23 while (!(bool)atomic_get(&flag)) { \
26 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
27 while ((bool)atomic_get(&flag)) { \
30 #define TAKE_FLAG(flag) \ argument
31 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/security/security_changed_callback/src/
Dbs_bt_utils.h27 #define DECLARE_FLAG(flag) extern atomic_t flag argument
28 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
29 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
30 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
31 #define WAIT_FOR_FLAG(flag) \ argument
32 while (!(bool)atomic_get(&flag)) { \
35 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
36 while ((bool)atomic_get(&flag)) { \
39 #define TAKE_FLAG(flag) \ argument
40 while (!(bool)atomic_cas(&flag, true, false)) { \
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/security/bond_per_connection/src/
Dbs_bt_utils.h29 #define DECLARE_FLAG(flag) extern atomic_t flag argument
30 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
31 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
32 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
33 #define WAIT_FOR_FLAG(flag) \ argument
34 while (!(bool)atomic_get(&flag)) { \
37 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
38 while ((bool)atomic_get(&flag)) { \
41 #define TAKE_FLAG(flag) \ argument
42 while (!(bool)atomic_cas(&flag, true, false)) { \
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/privacy/central/src/
Dbs_bt_utils.h27 #define DECLARE_FLAG(flag) extern atomic_t flag argument
28 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
29 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
30 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
31 #define WAIT_FOR_FLAG(flag) \ argument
32 while (!(bool)atomic_get(&flag)) { \
35 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
36 while ((bool)atomic_get(&flag)) { \
39 #define TAKE_FLAG(flag) \ argument
40 while (!(bool)atomic_cas(&flag, true, false)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/security/id_addr_update/common/
Dbs_bt_utils.h33 #define DECLARE_FLAG(flag) extern atomic_t flag argument
34 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
35 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
36 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
37 #define WAIT_FOR_FLAG(flag) \ argument
38 while (!(bool)atomic_get(&flag)) { \
41 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
42 while ((bool)atomic_get(&flag)) { \
45 #define TAKE_FLAG(flag) \ argument
46 while (!(bool)atomic_cas(&flag, true, false)) { \
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dcommon.h15 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
16 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
17 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
18 #define WAIT_FOR_FLAG_SET(flag) \ argument
19 while (!(bool)atomic_get(&flag)) { \
22 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
23 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dcommon.h15 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
16 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
17 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
18 #define WAIT_FOR_FLAG_SET(flag) \ argument
19 while (!(bool)atomic_get(&flag)) { \
22 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
23 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/general/src/
Dcommon.h23 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
24 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
25 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
26 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true) argument
27 #define WAIT_FOR_FLAG_SET(flag) \ argument
28 while (!(bool)atomic_get(&flag)) { \
31 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
32 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/many_conns/src/
Dcommon.h25 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
26 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
27 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true) argument
29 #define WAIT_FOR_FLAG_SET(flag) \ argument
30 while (!(bool)atomic_get(&flag)) { \
33 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/credits/src/
Dcommon.h25 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
26 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
27 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true) argument
29 #define WAIT_FOR_FLAG_SET(flag) \ argument
30 while (!(bool)atomic_get(&flag)) { \
33 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/stress/src/
Dcommon.h25 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
26 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
27 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true) argument
29 #define WAIT_FOR_FLAG_SET(flag) \ argument
30 while (!(bool)atomic_get(&flag)) { \
33 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/
Dcommon.h25 #define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false argument
26 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)true) argument
27 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t)false) argument
28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true) argument
29 #define WAIT_FOR_FLAG_SET(flag) \ argument
30 while (!(bool)atomic_get(&flag)) { \
33 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/
Dbs_bt_utils.h29 #define DECLARE_FLAG(flag) extern atomic_t flag argument
30 #define DEFINE_FLAG(flag) atomic_t flag = (atomic_t) false argument
31 #define SET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) true) argument
32 #define UNSET_FLAG(flag) (void)atomic_set(&flag, (atomic_t) false) argument
33 #define WAIT_FOR_FLAG(flag) \ argument
34 while (!(bool)atomic_get(&flag)) { \
37 #define WAIT_FOR_FLAG_UNSET(flag) \ argument
38 while ((bool)atomic_get(&flag)) { \
41 #define TAKE_FLAG(flag) \ argument
42 while (!(bool)atomic_cas(&flag, true, false)) { \

12345678910>>...37