Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sync.c212 uint32_t sync_offset_us; in ull_sync_setup_from_sync_transfer() local
325 sync_offset_us = PDU_ADV_SYNC_INFO_OFFSET_GET(si) * lll->window_size_event_us; in ull_sync_setup_from_sync_transfer()
327 sync_offset_us += (PDU_ADV_SYNC_INFO_OFFS_ADJUST_GET(si) ? OFFS_ADJUST_US : 0U); in ull_sync_setup_from_sync_transfer()
328 sync_offset_us -= EVENT_TICKER_RES_MARGIN_US; in ull_sync_setup_from_sync_transfer()
329 sync_offset_us -= EVENT_JITTER_US; in ull_sync_setup_from_sync_transfer()
330 sync_offset_us -= ready_delay_us; in ull_sync_setup_from_sync_transfer()
335 if ((int64_t)sync_offset_us + conn_offset_us < 0) { in ull_sync_setup_from_sync_transfer()
336 uint32_t total_offset_us = abs((int64_t)sync_offset_us + conn_offset_us); in ull_sync_setup_from_sync_transfer()
340 sync_offset_us = (sync_intervals * interval_us) - total_offset_us; in ull_sync_setup_from_sync_transfer()
342 sync_offset_us += conn_offset_us; in ull_sync_setup_from_sync_transfer()
[all …]