Home
last modified time | relevance | path

Searched refs:sync_info (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c396 memcpy(&pss->sync_info, sync_rcv, sizeof(struct gptp_md_sync_info)); in gptp_mi_pss_rcv_compute()
402 pss->sync_info.rate_ratio = state->rate_ratio; in gptp_mi_pss_rcv_compute()
465 struct gptp_md_sync_info *sync_info; in gptp_mi_pss_store_last_pss() local
469 sync_info = &pss_ptr->sync_info; in gptp_mi_pss_store_last_pss()
473 memcpy(&state->last_precise_orig_ts, &sync_info->precise_orig_ts, in gptp_mi_pss_store_last_pss()
475 memcpy(&state->last_gm_phase_change, &sync_info->last_gm_phase_change, in gptp_mi_pss_store_last_pss()
479 sync_info->follow_up_correction_field; in gptp_mi_pss_store_last_pss()
480 state->last_rate_ratio = sync_info->rate_ratio; in gptp_mi_pss_store_last_pss()
481 state->last_upstream_tx_time = sync_info->upstream_tx_time; in gptp_mi_pss_store_last_pss()
482 state->last_gm_time_base_indicator = sync_info->gm_time_base_indicator; in gptp_mi_pss_store_last_pss()
[all …]
Dgptp_mi.h33 struct gptp_md_sync_info sync_info; member
/Zephyr-latest/subsys/bluetooth/host/
Dscan.c1177 struct bt_le_per_adv_sync_synced_info sync_info; in bt_hci_le_per_adv_sync_established_common() local
1258 memset(&sync_info, 0, sizeof(sync_info)); in bt_hci_le_per_adv_sync_established_common()
1259 sync_info.interval = pending_per_adv_sync->interval; in bt_hci_le_per_adv_sync_established_common()
1260 sync_info.phy = pending_per_adv_sync->phy; in bt_hci_le_per_adv_sync_established_common()
1275 sync_info.addr = &pending_per_adv_sync->addr; in bt_hci_le_per_adv_sync_established_common()
1276 sync_info.sid = pending_per_adv_sync->sid; in bt_hci_le_per_adv_sync_established_common()
1278 sync_info.num_subevents = evt->num_subevents; in bt_hci_le_per_adv_sync_established_common()
1279 sync_info.subevent_interval = evt->subevent_interval; in bt_hci_le_per_adv_sync_established_common()
1280 sync_info.response_slot_delay = evt->response_slot_delay; in bt_hci_le_per_adv_sync_established_common()
1281 sync_info.response_slot_spacing = evt->response_slot_spacing; in bt_hci_le_per_adv_sync_established_common()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c165 memset(&local_periodic_sync_ind.sync_info, 0, sizeof(struct pdu_adv_sync_info)); in ZTEST()
270 memset(&remote_periodic_sync_ind.sync_info, 0, sizeof(struct pdu_adv_sync_info)); in ZTEST()
379 memset(&local_periodic_sync_ind.sync_info, 0, sizeof(struct pdu_adv_sync_info)); in ZTEST()
380 memset(&remote_periodic_sync_ind.sync_info, 0, sizeof(struct pdu_adv_sync_info)); in ZTEST()
499 memset(&local_periodic_sync_ind.sync_info, 0, sizeof(struct pdu_adv_sync_info)); in ZTEST()
614 memset(&remote_periodic_sync_ind.sync_info, 0, sizeof(struct pdu_adv_sync_info)); in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_aux.c1753 struct pdu_adv_sync_info *sync_info; in ull_adv_aux_hdr_set_clear() local
1758 sec_hdr.sync_info = 1; in ull_adv_aux_hdr_set_clear()
1759 sync_info = NULL; in ull_adv_aux_hdr_set_clear()
1762 *(uint8_t *)hdr_data = sizeof(*sync_info); in ull_adv_aux_hdr_set_clear()
1771 sec_hdr_prev.sync_info) { in ull_adv_aux_hdr_set_clear()
1772 sec_hdr.sync_info = 1; in ull_adv_aux_hdr_set_clear()
1773 sync_info = (void *)sec_dptr_prev; in ull_adv_aux_hdr_set_clear()
1775 sync_info = NULL; in ull_adv_aux_hdr_set_clear()
1777 if (sec_hdr_prev.sync_info) { in ull_adv_aux_hdr_set_clear()
1778 sec_dptr_prev += sizeof(*sync_info); in ull_adv_aux_hdr_set_clear()
[all …]
Dull_llcp_past.c251 &ctx->data.periodic_sync.sync_info, in rp_past_st_wait_rx()
288 &ctx->data.periodic_sync.sync_info, in rp_past_st_wait_next_evt()
396 llcp_pdu_fill_sync_info_offset(&ctx->data.periodic_sync.sync_info, in lp_past_tx()
Dull_llcp_pdu.c1030 memcpy(&p->sync_info, &ctx->data.periodic_sync.sync_info, sizeof(struct pdu_adv_sync_info)); in llcp_pdu_encode_periodic_sync_ind()
1032 p->sync_info.evt_cntr = sys_cpu_to_le16(ctx->data.periodic_sync.sync_info.evt_cntr); in llcp_pdu_encode_periodic_sync_ind()
1054 memcpy(&ctx->data.periodic_sync.sync_info, &p->sync_info, sizeof(struct pdu_adv_sync_info)); in llcp_pdu_decode_periodic_sync_ind()
Dpdu.h426 uint8_t sync_info:1; member
432 uint8_t sync_info:1;
896 struct pdu_adv_sync_info sync_info; member
Dull_llcp.c1122 si = &ctx->data.periodic_sync.sync_info; in ull_cp_periodic_sync()
1124 (void)memcpy(si->sca_chm, chan_map, sizeof(ctx->data.periodic_sync.sync_info.sca_chm)); in ull_cp_periodic_sync()
1495 llcp_pdu_fill_sync_info_offset(&ctx->data.periodic_sync.sync_info, offset_us);
1505 ctx->data.periodic_sync.sync_info.evt_cntr = pa_event_counter;
Dull_adv.c1367 struct pdu_adv_sync_info *sync_info; local
1368 uint8_t value[1 + sizeof(sync_info)];
1383 memcpy(&sync_info, &value[1], sizeof(sync_info));
1384 ull_adv_sync_info_fill(sync, sync_info);
Dull_adv_sync.c489 struct pdu_adv_sync_info *sync_info; in ll_adv_sync_enable() local
490 uint8_t value[1 + sizeof(sync_info)]; in ll_adv_sync_enable()
514 (void)memcpy(&sync_info, &value[1], sizeof(sync_info)); in ll_adv_sync_enable()
515 ull_adv_sync_info_fill(sync, sync_info); in ll_adv_sync_enable()
Dull_llcp_internal.h324 struct pdu_adv_sync_info sync_info; member
Dull_scan_aux.c486 if (h->sync_info) { in ull_scan_aux_setup()
1820 if (h->sync_info) { in ull_scan_aux_setup()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_broadcast_sink.c84 struct bt_le_per_adv_sync_info sync_info; in find_recv_state_by_pa_sync_cb() local
87 err = bt_le_per_adv_sync_get_info(sync, &sync_info); in find_recv_state_by_pa_sync_cb()
94 if (bt_addr_le_eq(&recv_state->addr, &sync_info.addr) && in find_recv_state_by_pa_sync_cb()
95 recv_state->adv_sid == sync_info.sid) { in find_recv_state_by_pa_sync_cb()
461 struct bt_le_per_adv_sync_info sync_info; in broadcast_sink_add_src() local
464 err = bt_le_per_adv_sync_get_info(sink->pa_sync, &sync_info); in broadcast_sink_add_src()
467 bt_addr_le_copy(&add_src_param.addr, &sync_info.addr); in broadcast_sink_add_src()
468 add_src_param.sid = sync_info.sid; in broadcast_sink_add_src()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_scan_delegator_test.c485 struct bt_le_per_adv_sync_info sync_info; in add_source() local
490 res = bt_le_per_adv_sync_get_info(state->pa_sync, &sync_info); in add_source()
496 bt_addr_le_copy(&param.addr, &sync_info.addr); in add_source()
497 param.sid = sync_info.sid; in add_source()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_scan_delegator.c703 struct bt_le_per_adv_sync_info sync_info; in cmd_bap_scan_delegator_add_src_by_pa_sync() local
709 err = bt_le_per_adv_sync_get_info(pa_sync, &sync_info); in cmd_bap_scan_delegator_add_src_by_pa_sync()
715 bt_addr_le_copy(&param.addr, &sync_info.addr); in cmd_bap_scan_delegator_add_src_by_pa_sync()
716 param.sid = sync_info.sid; in cmd_bap_scan_delegator_add_src_by_pa_sync()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c321 zassert_false(ext_hdr->sync_info, in common_validate_per_adv_pdu()
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c518 memcpy(&pdu->llctrl.periodic_sync_ind.sync_info, &p->sync_info, in helper_pdu_encode_periodic_sync_ind()
1318 zassert_mem_equal(&pdu->llctrl.periodic_sync_ind.sync_info, &p->sync_info, in helper_pdu_verify_periodic_sync_ind()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_aux.c290 sec_pdu->adv_ext_ind.ext_hdr.sync_info) { in prepare_cb()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6877 if (h->sync_info) {
7291 if (h->sync_info) {
7804 if (h->sync_info) {