Home
last modified time | relevance | path

Searched refs:sync (Results 51 – 75 of 254) sorted by relevance

1234567891011

/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull_adv_sync.c26 uint16_t ull_adv_sync_handle_get(const struct ll_adv_sync_set *sync) in ull_adv_sync_handle_get() argument
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_scan_delegator_test.c89 static struct sync_state *sync_state_get_by_pa(struct bt_le_per_adv_sync *sync) in sync_state_get_by_pa() argument
92 if (sync_states[i].pa_sync == sync) { in sync_state_get_by_pa()
362 static void pa_synced_cb(struct bt_le_per_adv_sync *sync, in pa_synced_cb() argument
367 printk("PA %p synced\n", sync); in pa_synced_cb()
372 sync_states[i].pa_sync = sync; in pa_synced_cb()
377 state = sync_state_get_by_pa(sync); in pa_synced_cb()
379 FAIL("Could not get sync state from PA sync %p\n", sync); in pa_synced_cb()
388 static void pa_term_cb(struct bt_le_per_adv_sync *sync, in pa_term_cb() argument
393 printk("PA %p sync terminated\n", sync); in pa_term_cb()
395 state = sync_state_get_by_pa(sync); in pa_term_cb()
[all …]
Dpbp_public_broadcast_sink_test.c133 static void broadcast_pa_recv(struct bt_le_per_adv_sync *sync, in broadcast_pa_recv() argument
140 static void broadcast_pa_synced(struct bt_le_per_adv_sync *sync, in broadcast_pa_synced() argument
147 static void broadcast_pa_terminated(struct bt_le_per_adv_sync *sync, in broadcast_pa_terminated() argument
150 if (sync == bcast_pa_sync) { in broadcast_pa_terminated()
151 printk("PA sync %p lost with reason %u\n", sync, info->reason); in broadcast_pa_terminated()
/Zephyr-latest/subsys/net/lib/ptp/
Dport.h55 struct k_timer sync; member
65 uint16_t sync; member
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/dut/
DCMakeLists.txt10 ../common/sync.c
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c1245 per_adv_sync_sync_cb(struct bt_le_per_adv_sync *sync, in per_adv_sync_sync_cb() argument
1254 bt_le_per_adv_sync_get_index(sync), le_addr, in per_adv_sync_sync_cb()
1261 per_adv_sync_terminated_cb(struct bt_le_per_adv_sync *sync, in per_adv_sync_terminated_cb() argument
1269 bt_le_per_adv_sync_get_index(sync), le_addr); in per_adv_sync_terminated_cb()
1275 per_adv_sync_recv_cb(struct bt_le_per_adv_sync *sync, in per_adv_sync_recv_cb() argument
1285 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in per_adv_sync_recv_cb()
1310 struct bt_le_per_adv_sync *sync = NULL; in test_scanx_main() local
1507 err = bt_le_per_adv_sync_create(&sync_create_param, &sync); in test_scanx_main()
1515 err = bt_le_per_adv_sync_create(&sync_create_param, &sync); in test_scanx_main()
1531 err = bt_le_per_adv_sync_delete(sync); in test_scanx_main()
[all …]
/Zephyr-latest/tests/boards/frdm_k64f/i2c/
DREADME.rst5 on the board using its FIFO with a async and sync transfer to compare
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/
DCMakeLists.txt10 ../common/sync.c
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c253 struct k_sem *sync; /* Semaphore to synchronize with */ member
266 struct k_sem *sync = job(data->buf)->sync; in bt_recv_job_cb() local
273 k_sem_give(sync); in bt_recv_job_cb()
287 job(buf)->sync = &sync_sem; in bt_recv_job_submit()
/Zephyr-latest/drivers/spi/
Dspi_context.h35 struct k_sem sync; member
62 ._ctx_name.sync = Z_SEM_INITIALIZER(_data._ctx_name.sync, 0, 1)
167 if (k_sem_take(&ctx->sync, timeout)) { in spi_context_wait_for_completion()
190 k_sem_give(&ctx->sync); in spi_context_complete()
211 k_sem_give(&ctx->sync); in spi_context_complete()
/Zephyr-latest/include/zephyr/bluetooth/
Ddirection.h270 int bt_df_per_adv_sync_cte_rx_enable(struct bt_le_per_adv_sync *sync,
280 int bt_df_per_adv_sync_cte_rx_disable(struct bt_le_per_adv_sync *sync);
Dhci.h153 int bt_hci_get_adv_sync_handle(const struct bt_le_per_adv_sync *sync, uint16_t *sync_handle);
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_iso.c104 struct ll_adv_sync_set *sync; in big_create() local
141 lll_adv_sync = adv->lll.sync; in big_create()
278 sync = HDR_LLL2ULL(lll_adv_sync); in big_create()
279 if (sync->is_started) { in big_create()
280 ticks_slot_sync = sync->ull.ticks_slot; in big_create()
285 sync->lll.adv->phy_s, in big_create()
286 sync->lll.adv->phy_flags) + in big_create()
292 ticks_slot_overhead = MAX(sync->ull.ticks_active_to_start, in big_create()
293 sync->ull.ticks_prepare_to_start); in big_create()
728 lll_adv_sync = lll_adv->sync; in ll_big_terminate()
[all …]
Dull_adv.c271 if (adv->lll.sync) {
272 const struct ll_adv_sync_set *sync; local
274 sync = HDR_LLL2ULL(adv->lll.sync);
275 if (sync->is_enabled) {
297 if (adv->lll.sync &&
301 const struct ll_adv_sync_set *sync; local
303 sync = HDR_LLL2ULL(adv->lll.sync);
304 if (sync->is_enabled) {
392 if (adv->lll.sync) {
393 struct ll_adv_sync_set *sync; local
[all …]
Dull_adv_aux.c1351 if (lll->sync) { in ll_adv_aux_set_remove()
1352 struct ll_adv_sync_set *sync; in ll_adv_aux_set_remove() local
1355 if (lll->sync->iso) { in ll_adv_aux_set_remove()
1360 sync = HDR_LLL2ULL(lll->sync); in ll_adv_aux_set_remove()
1362 if (sync->is_enabled) { in ll_adv_aux_set_remove()
1366 lll->sync = NULL; in ll_adv_aux_set_remove()
1368 ull_adv_sync_release(sync); in ll_adv_aux_set_remove()
2572 struct lll_adv_sync *lll_sync = aux->lll.adv->sync; in ull_adv_sync_started_stopped()
2573 struct ll_adv_sync_set *sync; in ull_adv_sync_started_stopped() local
2578 sync = HDR_LLL2ULL(lll_sync); in ull_adv_sync_started_stopped()
[all …]
Dull_scan_types.h33 struct ll_sync_set *volatile sync; member
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/
Dwrite_shared_memory.sh35 printf %s "$WM_MSG" | dd of="$WM_LOC" ibs="$WM_SIZE" conv=sync "$WM_DD" || exit 1
/Zephyr-latest/tests/bsim/babblekit/
DCMakeLists.txt18 src/sync.c
/Zephyr-latest/drivers/input/
DKconfig.sbus38 Sends sync message to input subsys with sync bit.
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_scan_delegator.c98 static struct sync_state *sync_state_get_by_pa(struct bt_le_per_adv_sync *sync) in sync_state_get_by_pa() argument
101 if (sync_states[i].pa_sync == sync) { in sync_state_get_by_pa()
378 static void pa_synced_cb(struct bt_le_per_adv_sync *sync, in pa_synced_cb() argument
383 shell_info(ctx_shell, "PA %p synced", sync); in pa_synced_cb()
386 state = sync_state_get_by_pa(sync); in pa_synced_cb()
395 sync); in pa_synced_cb()
407 static void pa_term_cb(struct bt_le_per_adv_sync *sync, in pa_term_cb() argument
412 shell_info(ctx_shell, "PA %p sync terminated", sync); in pa_term_cb()
414 state = sync_state_get_by_pa(sync); in pa_term_cb()
418 sync); in pa_term_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/
Dsync.c17 LOG_MODULE_REGISTER(sync, LOG_LEVEL_INF);
/Zephyr-latest/tests/bsim/babblekit/src/
Dsync.c16 LOG_MODULE_REGISTER(sync, CONFIG_LOG_DEFAULT_LEVEL);
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dtest_add_cte_to_chain.c142 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in ZTEST()
146 pdu_prev = lll_adv_sync_data_peek(adv->lll.sync, NULL); in ZTEST()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c509 static void bap_pa_sync_synced_cb(struct bt_le_per_adv_sync *sync, in bap_pa_sync_synced_cb() argument
512 if (sync == broadcast_sink.pa_sync || in bap_pa_sync_synced_cb()
518 LOG_INF("PA sync %p synced for broadcast sink", (void *)sync); in bap_pa_sync_synced_cb()
521 broadcast_sink.pa_sync = sync; in bap_pa_sync_synced_cb()
548 static void bap_pa_sync_terminated_cb(struct bt_le_per_adv_sync *sync, in bap_pa_sync_terminated_cb() argument
551 if (sync == broadcast_sink.pa_sync) { in bap_pa_sync_terminated_cb()
554 LOG_INF("PA sync %p lost with reason %u", (void *)sync, info->reason); in bap_pa_sync_terminated_cb()
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h387 #define sys_port_trace_k_work_cancel_sync_enter(work, sync) argument
394 #define sys_port_trace_k_work_cancel_sync_blocking(work, sync) argument
402 #define sys_port_trace_k_work_cancel_sync_exit(work, sync, ret) argument
561 #define sys_port_trace_k_work_flush_delayable_enter(dwork, sync) argument
569 #define sys_port_trace_k_work_flush_delayable_exit(dwork, sync, ret) argument
589 #define sys_port_trace_k_work_cancel_delayable_sync_enter(dwork, sync) argument
597 #define sys_port_trace_k_work_cancel_delayable_sync_exit(dwork, sync, ret) argument

1234567891011