Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_past.c390 uint32_t offset_us; in lp_past_tx() local
393 offset_us = ctx->data.periodic_sync.offset_us - in lp_past_tx()
397 offset_us); in lp_past_tx()
Dull_llcp_pdu.c1000 void llcp_pdu_fill_sync_info_offset(struct pdu_adv_sync_info *si, uint32_t offset_us) in llcp_pdu_fill_sync_info_offset() argument
1005 if (offset_us >= OFFS_ADJUST_US) { in llcp_pdu_fill_sync_info_offset()
1006 offset_us -= OFFS_ADJUST_US; in llcp_pdu_fill_sync_info_offset()
1010 offset_us = offset_us / OFFS_UNIT_30_US; in llcp_pdu_fill_sync_info_offset()
1011 if (!!(offset_us >> OFFS_UNIT_BITS)) { in llcp_pdu_fill_sync_info_offset()
1012 offset_us = offset_us / (OFFS_UNIT_300_US / OFFS_UNIT_30_US); in llcp_pdu_fill_sync_info_offset()
1017 PDU_ADV_SYNC_INFO_OFFS_SET(si, offset_us, offset_units, offset_adjust); in llcp_pdu_fill_sync_info_offset()
Dull_adv_aux.c3141 uint32_t offset_us; in ull_adv_aux_lll_auxptr_fill() local
3157 offset_us = HAL_TICKER_TICKS_TO_US(lll_aux->ticks_pri_pdu_offset) + in ull_adv_aux_lll_auxptr_fill()
3159 if (((offset_us / OFFS_UNIT_30_US) * OFFS_UNIT_30_US) < (EVENT_MAFS_MIN_US + pdu_us)) { in ull_adv_aux_lll_auxptr_fill()
3164 offset_us = offset_us + interval_us; in ull_adv_aux_lll_auxptr_fill()
3165 lll_aux->ticks_pri_pdu_offset = HAL_TICKER_US_TO_TICKS(offset_us); in ull_adv_aux_lll_auxptr_fill()
3166 lll_aux->us_pri_pdu_offset = offset_us - in ull_adv_aux_lll_auxptr_fill()
3201 uint32_t offset_us; in mfy_aux_offset_get() local
3282 offset_us = HAL_TICKER_TICKS_TO_US(lll_aux->ticks_pri_pdu_offset) + in mfy_aux_offset_get()
3284 if (((offset_us / OFFS_UNIT_30_US) * OFFS_UNIT_30_US) < (EVENT_MAFS_MIN_US + pdu_us)) { in mfy_aux_offset_get()
3289 offset_us = offset_us + interval_us; in mfy_aux_offset_get()
[all …]
Dull_llcp.h290 void ull_lp_past_offset_calc_reply(struct ll_conn *conn, uint32_t offset_us,
Dull_llcp.c1467 void ull_lp_past_offset_calc_reply(struct ll_conn *conn, uint32_t offset_us, argument
1479 if (offset_us > max_offset) {
1486 conn_event_offset = DIV_ROUND_UP(offset_us - max_offset, conn_interval_us);
1489 offset_us = offset_us - (conn_event_offset * conn_interval_us);
1495 llcp_pdu_fill_sync_info_offset(&ctx->data.periodic_sync.sync_info, offset_us);
1498 ctx->data.periodic_sync.offset_us = offset_us;
Dull_llcp_cc.c175 uint32_t offset_us; in llcp_rp_cc_tx_rsp() local
179 offset_us = (iso_intervals * iso_interval_us) - in llcp_rp_cc_tx_rsp()
182 ctx->data.cis_create.cis_offset_min += offset_us; in llcp_rp_cc_tx_rsp()
183 ctx->data.cis_create.cis_offset_max += offset_us; in llcp_rp_cc_tx_rsp()
Dull_scan.c591 uint32_t offset_us = 0U; local
597 &ticks_ref, &offset_us);
605 HAL_TICKER_US_TO_TICKS(offset_us);
Dull_llcp_internal.h327 uint32_t offset_us; member
802 void llcp_pdu_fill_sync_info_offset(struct pdu_adv_sync_info *si, uint32_t offset_us);
/Zephyr-latest/soc/nordic/nrf53/
Dsync_rtc.c182 uint32_t offset_us = in remote_callback() local
189 nrf53_sync_offset, offset_us); in remote_callback()