Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sched.c60 static void after_cen_offset_get(uint16_t conn_interval, uint32_t ticks_slot,
63 static bool ticker_match_cen_op_cb(uint8_t ticker_id, uint32_t ticks_slot,
68 uint32_t *ticks_slot);
77 static struct ull_hdr *ull_hdr_get_cb(uint8_t ticker_id, uint32_t *ticks_slot);
85 static bool ticker_match_any_op_cb(uint8_t ticker_id, uint32_t ticks_slot,
96 uint32_t ticks_slot; in ull_sched_adv_aux_sync_free_anchor_get() local
99 &ticks_to_expire, &ticks_slot, ticks_anchor); in ull_sched_adv_aux_sync_free_anchor_get()
108 uint32_t ticks_slot; in ull_sched_conn_iso_free_offset_get() local
112 ticks_to_expire, &ticks_slot, &ticks_anchor); in ull_sched_conn_iso_free_offset_get()
117 *ticks_to_expire += ticks_slot; in ull_sched_conn_iso_free_offset_get()
[all …]
Dull_scan.c434 scan->ull.ticks_slot =
440 scan->ull.ticks_slot + ticks_slot_overhead;
445 scan->ull.ticks_slot = 0U;
447 scan->ull.ticks_slot = ticks_interval -
489 scan->ull.ticks_slot = 0U;
491 scan->ull.ticks_slot =
546 scan->ull.ticks_slot = 0U;
548 scan->ull.ticks_slot =
595 (scan->ull.ticks_slot +
623 (scan->ull.ticks_slot + ticks_slot_overhead),
Dull_conn.c1300 uint32_t ready_delay, rx_time, tx_time, ticks_slot, slot_us; in ull_conn_done() local
1350 ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_conn_done()
1351 if (ticks_slot > conn->ull.ticks_slot) { in ull_conn_done()
1352 ticks_slot_plus = ticks_slot - conn->ull.ticks_slot; in ull_conn_done()
1354 ticks_slot_minus = conn->ull.ticks_slot - ticks_slot; in ull_conn_done()
1356 conn->ull.ticks_slot = ticks_slot; in ull_conn_done()
2195 (ticks_slot_overhead + conn->ull.ticks_slot), in ull_conn_update_ticker()
2314 conn->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_conn_update_parameters()
2326 conn->ull.ticks_slot = in ull_conn_update_parameters()
2718 static bool ticker_op_id_match_func(uint8_t ticker_id, uint32_t ticks_slot, in ticker_op_id_match_func() argument
[all …]
Dull_adv.c1284 adv->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(time_us);
1329 (adv->ull.ticks_slot + ticks_slot_overhead),
1331 (adv->ull.ticks_slot + ticks_slot_overhead),
1357 const uint32_t ticks_slot = adv->ull.ticks_slot + local
1411 ticks_anchor + ticks_slot +
1439 ticks_slot_aux = aux->ull.ticks_slot +
1532 ULL_ADV_RANDOM_DELAY + ticks_slot;
1566 ticks_slot,
2196 if (adv->ull.ticks_slot > time_ticks) {
2197 ticks_minus = adv->ull.ticks_slot - time_ticks;
[all …]
Dull_adv_iso.c251 ticks_slot_aux = aux->ull.ticks_slot; in big_create()
280 ticks_slot_sync = sync->ull.ticks_slot; in big_create()
1223 uint32_t ticks_slot; in adv_iso_start() local
1237 adv_iso->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in adv_iso_start()
1246 ticks_slot = adv_iso->ull.ticks_slot + ticks_slot_overhead; in adv_iso_start()
1251 err = ull_sched_adv_aux_sync_free_anchor_get(ticks_slot, &ticks_anchor); in adv_iso_start()
1269 TICKER_NULL_LAZY, ticks_slot, ticker_cb, adv_iso, in adv_iso_start()
Dull_adv_aux.c2530 aux->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(time_us); in ull_adv_aux_evt_init()
2541 uint32_t ticks_slot; in ull_adv_aux_evt_init() local
2547 ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(time_us); in ull_adv_aux_evt_init()
2549 ticks_slot = aux->ull.ticks_slot; in ull_adv_aux_evt_init()
2552 err = ull_sched_adv_aux_sync_free_anchor_get((ticks_slot + in ull_adv_aux_evt_init()
2612 ULL_ADV_RANDOM_DELAY + aux->ull.ticks_slot; in ull_adv_aux_start()
2649 (aux->ull.ticks_slot + ticks_slot_overhead), in ull_adv_aux_start()
3104 if (aux->ull.ticks_slot > time_ticks) { in aux_time_update()
3105 ticks_minus = aux->ull.ticks_slot - time_ticks; in aux_time_update()
3107 } else if (aux->ull.ticks_slot < time_ticks) { in aux_time_update()
[all …]
Dull_conn_iso.c834 uint32_t ticks_slot; in ull_conn_iso_start() local
1025 ticks_slot = 0U; in ull_conn_iso_start()
1062 cig->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_conn_iso_start()
1074 ticks_slot = cig->ull.ticks_slot + ticks_slot_overhead; in ull_conn_iso_start()
1087 TICKER_NULL_LAZY, ticks_slot, in ull_conn_iso_start()
Dull_adv_sync.c540 err = ull_sched_adv_aux_sync_free_anchor_get(sync->ull.ticks_slot, in ll_adv_sync_enable()
565 ticks_slot_overhead_aux + aux->ull.ticks_slot + in ll_adv_sync_enable()
813 sync->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(time_us); in ull_adv_sync_evt_init()
863 (sync->ull.ticks_slot + ticks_slot_overhead), in ull_adv_sync_start()
892 if (sync->ull.ticks_slot > time_ticks) { in ull_adv_sync_time_update()
893 ticks_minus = sync->ull.ticks_slot - time_ticks; in ull_adv_sync_time_update()
895 } else if (sync->ull.ticks_slot < time_ticks) { in ull_adv_sync_time_update()
897 ticks_plus = time_ticks - sync->ull.ticks_slot; in ull_adv_sync_time_update()
914 sync->ull.ticks_slot = time_ticks; in ull_adv_sync_time_update()
Dull_peripheral.c409 conn->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us);
487 (conn->ull.ticks_slot +
Dull_central_iso.c608 cig->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ll_cig_parameters_commit()
911 cis_offset = HAL_TICKER_TICKS_TO_US(conn->ull.ticks_slot) + in ull_central_iso_setup()
998 *cis_offset_min = HAL_TICKER_TICKS_TO_US(conn->ull.ticks_slot) + in ull_central_iso_cis_offset_get()
1038 err = ull_sched_conn_iso_free_offset_get(cig->ull.ticks_slot, in mfy_cig_offset_get()
Dull_sync.c401 sync->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_sync_setup_from_sync_transfer()
430 (sync->ull.ticks_slot + ticks_slot_overhead), in ull_sync_setup_from_sync_transfer()
1140 sync->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_sync_setup()
1160 (sync->ull.ticks_slot + ticks_slot_overhead), in ull_sync_setup()
Dull_peripheral_iso.c112 cis_offset_min = HAL_TICKER_TICKS_TO_US(conn->ull.ticks_slot) + in ll_cis_accept()
Dlll.h229 uint32_t ticks_slot; member
Dull_central.c375 conn->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ll_create_connection()
887 (conn->ull.ticks_slot + ticks_slot_overhead),
Dull_sync_iso.c646 sync_iso->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_sync_iso_setup()
690 (sync_iso->ull.ticks_slot + ticks_slot_overhead), in ull_sync_iso_setup()
Dull_scan_aux.c848 aux->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL( in ull_scan_aux_setup()
898 (aux->ull.ticks_slot + in ull_scan_aux_setup()
2668 scan_aux_set.ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL( in chain_start_ticker()
2720 (scan_aux_set.ull.ticks_slot + in chain_start_ticker()
/Zephyr-latest/subsys/bluetooth/controller/ticker/
Dticker.c73 uint32_t ticks_slot; /* Air-time reservation for node */ member
182 uint32_t ticks_slot; /* Air-time reservation ticks */ member
399 uint32_t ticks_slot) in ticker_by_slot_get() argument
408 if (ticks_slot <= ticks_to_expire) { in ticker_by_slot_get()
413 if (ticker->ticks_slot) { in ticker_by_slot_get()
420 ticks_slot -= ticks_to_expire; in ticker_by_slot_get()
493 uint32_t ticks_slot = 0; local
496 ticks_slot += ticker->ticks_slot;
500 if (fp_match_op_func(_ticker_id_head, ticks_slot,
514 if (ticker->ticks_slot) {
[all …]
Dticker.h154 typedef bool (*ticker_op_match_func) (uint8_t ticker_id, uint32_t ticks_slot,
182 uint32_t ticks_slot, ticker_timeout_func fp_timeout_func,
189 uint16_t lazy, uint32_t ticks_slot,
267 uint32_t ticks_slot,
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dticker.c23 uint32_t remainder_periodic, uint16_t lazy, uint32_t ticks_slot, in ticker_start() argument
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c708 if (pdu_end_us > (HAL_TICKER_TICKS_TO_US(ull->ticks_slot) -
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan.c1160 if (pdu_end_us > (HAL_TICKER_TICKS_TO_US(ull->ticks_slot) -
Dlll_scan_aux.c996 if (pdu_end_us > (HAL_TICKER_TICKS_TO_US(ull->ticks_slot) -