Home
last modified time | relevance | path

Searched refs:att (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dcommon.c31 static void fill_buf(int16_t *tx_block, int att) in fill_buf() argument
34 tx_block[2 * i] = data_l[i] >> att; in fill_buf()
35 tx_block[2 * i + 1] = data_r[i] >> att; in fill_buf()
39 static int verify_buf(int16_t *rx_block, int att) in verify_buf() argument
53 } while (rx_block[2 * offset] != data_l[0] >> att); in verify_buf()
63 if (rx_block[2 * i] != data_l[i] >> att) { in verify_buf()
66 att, i, data_l[i] >> att, rx_block[2 * i]); in verify_buf()
69 if (rx_block[2 * i + 1] != data_r[i] >> att) { in verify_buf()
72 att, i, data_r[i] >> att, rx_block[2 * i + 1]); in verify_buf()
108 static int tx_block_write_slab(const struct device *dev_i2s, int att, int err, in tx_block_write_slab() argument
[all …]
Di2s_api_test.h40 int tx_block_write(const struct device *dev_i2s, int att, int err);
41 int rx_block_read(const struct device *dev_i2s, int att);
/Zephyr-latest/tests/posix/common/src/
Dcond.c53 pthread_condattr_t att = {0}; in ZTEST() local
55 zassert_ok(pthread_condattr_init(&att)); in ZTEST()
57 zassert_ok(pthread_condattr_getclock(&att, &clock_id), "pthread_condattr_getclock failed"); in ZTEST()
60 zassert_ok(pthread_condattr_setclock(&att, CLOCK_REALTIME), in ZTEST()
63 zassert_ok(pthread_condattr_getclock(&att, &clock_id), "pthread_condattr_setclock failed"); in ZTEST()
66 zassert_equal(pthread_condattr_setclock(&att, 42), -EINVAL, in ZTEST()
69 zassert_ok(pthread_condattr_destroy(&att)); in ZTEST()
/Zephyr-latest/lib/posix/options/
Dcond.c172 int pthread_cond_init(pthread_cond_t *cvar, const pthread_condattr_t *att) in pthread_cond_init() argument
176 ARG_UNUSED(att); in pthread_cond_init()
225 int pthread_condattr_init(pthread_condattr_t *att) in pthread_condattr_init() argument
227 __ASSERT_NO_MSG(att != NULL); in pthread_condattr_init()
229 att->clock = CLOCK_MONOTONIC; in pthread_condattr_init()
234 int pthread_condattr_destroy(pthread_condattr_t *att) in pthread_condattr_destroy() argument
236 ARG_UNUSED(att); in pthread_condattr_destroy()
241 int pthread_condattr_getclock(const pthread_condattr_t *ZRESTRICT att, in pthread_condattr_getclock() argument
244 *clock_id = att->clock; in pthread_condattr_getclock()
249 int pthread_condattr_setclock(pthread_condattr_t *att, clockid_t clock_id) in pthread_condattr_setclock() argument
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Datt.c104 struct bt_att *att; member
302 struct bt_conn *conn = att_chan->att->conn; in att_sent()
399 err = bt_smp_sign(chan->att->conn, buf); in chan_send()
565 struct bt_att *att = chan->att; in bt_att_sent() local
572 if (!att) { in bt_att_sent()
582 if (!chan->req && !sys_slist_is_empty(&att->reqs)) { in bt_att_sent()
583 sys_snode_t *node = sys_slist_get(&att->reqs); in bt_att_sent()
590 sys_slist_prepend(&att->reqs, node); in bt_att_sent()
600 (void)process_queue(chan, &att->tx_queue); in bt_att_sent()
627 struct bt_conn *conn = chan->att->conn; in chan_req_notif_sent()
[all …]
DCMakeLists.txt49 att.c
/Zephyr-latest/scripts/tests/twister/
Dtest_platform.py123 att = getattr(platform, k)
124 if isinstance(v, list) and not isinstance(att, list):
127 assert sorted(att) == sorted(v)
129 assert att == v
/Zephyr-latest/samples/drivers/i2s/output/src/
Dmain.c30 static void fill_buf(int16_t *tx_block, int att) in fill_buf() argument
36 tx_block[2 * i] = data[i] / (1 << att); in fill_buf()
39 tx_block[2 * i + 1] = data[r_idx] / (1 << att); in fill_buf()
/Zephyr-latest/tests/drivers/i2s/i2s_speed/src/
Dtest_i2s_speed.c78 static void fill_buf(int16_t *tx_block, int att) in fill_buf() argument
81 tx_block[2 * i] = data_l[i] >> att; in fill_buf()
82 tx_block[2 * i + 1] = data_r[i] >> att; in fill_buf()
86 static int verify_buf(int16_t *rx_block, int att) in verify_buf() argument
100 } while (rx_block[2 * offset] != data_l[0] >> att); in verify_buf()
110 if (rx_block[2 * i] != data_l[i] >> att) { in verify_buf()
113 att, i, data_l[i] >> att, rx_block[2 * i]); in verify_buf()
116 if (rx_block[2 * i + 1] != data_r[i] >> att) { in verify_buf()
119 att, i, data_r[i] >> att, rx_block[2 * i + 1]); in verify_buf()
/Zephyr-latest/include/zephyr/posix/
Dpthread.h72 int pthread_cond_init(pthread_cond_t *cv, const pthread_condattr_t *att);
116 int pthread_condattr_init(pthread_condattr_t *att);
124 int pthread_condattr_destroy(pthread_condattr_t *att);
132 int pthread_condattr_getclock(const pthread_condattr_t *ZRESTRICT att,
142 int pthread_condattr_setclock(pthread_condattr_t *att, clockid_t clock_id);
232 const pthread_mutexattr_t *att);
/Zephyr-latest/doc/connectivity/bluetooth/api/
Dindex.rst39 att.rst
/Zephyr-latest/tests/bsim/bluetooth/
Dtests.nrf5340bsim_nrf5340_cpunet.txt5 tests/bsim/bluetooth/host/att/eatt_notif
/Zephyr-latest/samples/tfm_integration/psa_crypto/
DREADME.rst264 [00:00:01.215,000] <inf> app: att: System IAT size is: 545 bytes.
265 [00:00:01.215,000] <inf> app: att: Requesting IAT with 64 byte challenge.
266 [00:00:01.836,000] <inf> app: att: IAT data received: 545 bytes.
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst1932 * :github:`32408` - [Coverity CID :218741] Out-of-bounds access in subsys/bluetooth/host/att.c
1935 * :github:`32405` - [Coverity CID :218735] Out-of-bounds access in subsys/bluetooth/host/att.c
1937 * :github:`32403` - [Coverity CID :218732] Out-of-bounds access in subsys/bluetooth/host/att.c
1943 * :github:`32397` - [Coverity CID :218726] Out-of-bounds access in subsys/bluetooth/host/att.c
Drelease-notes-3.0.rst1269 * :github:`39506` - Bluetooth: crash in att.c when repeatedly scanning/connecting/disconnecting
Drelease-notes-2.0.rst653 * :github:`18383` - [Coverity CID :203447]Memory - corruptions in /subsys/bluetooth/host/att.c
Drelease-notes-2.7.rst1344 …ithub:`37947` - [Coverity CID: 237069] Dereference before null check in subsys/bluetooth/host/att.c
Drelease-notes-3.3.rst3006 * :github:`53876` - The handle of att indication violates the spec