Home
last modified time | relevance | path

Searched refs:ull (Results 1 – 25 of 61) sorted by relevance

123

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_types.h12 struct ull_hdr ull; member
82 struct ull_hdr ull; member
99 struct ull_hdr ull; member
114 struct ull_hdr ull; member
Dull_sched.c183 ticks_slot_overhead = MAX(conn->ull.ticks_active_to_start, in ull_sched_mfy_after_cen_offset_get()
184 conn->ull.ticks_prepare_to_start); in ull_sched_mfy_after_cen_offset_get()
194 (ticks_slot_overhead + conn->ull.ticks_slot), in ull_sched_mfy_after_cen_offset_get()
211 ticks_slot_overhead = MAX(conn->ull.ticks_active_to_start, in ull_sched_mfy_win_offset_use()
212 conn->ull.ticks_prepare_to_start); in ull_sched_mfy_win_offset_use()
342 *ticks_anchor += sync->ull.ticks_slot; in group_free_slot_get()
643 *ticks_slot = aux->ull.ticks_slot; in ull_hdr_get_cb()
650 if (sync->ull.ticks_slot > *ticks_slot) { in ull_hdr_get_cb()
651 *ticks_slot = sync->ull.ticks_slot; in ull_hdr_get_cb()
657 return &aux->ull; in ull_hdr_get_cb()
[all …]
Dull_scan_types.h8 struct ull_hdr ull; member
65 struct ull_hdr ull; member
Dull_scan.c408 ull_hdr_init(&scan->ull);
415 scan->ull.ticks_active_to_start = 0U;
416 scan->ull.ticks_prepare_to_start =
418 scan->ull.ticks_preempt_to_start =
422 ticks_slot_overhead = MAX(scan->ull.ticks_active_to_start,
423 scan->ull.ticks_prepare_to_start);
434 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 -
[all …]
Dull_sync_types.h16 struct ull_hdr ull; member
118 struct ull_hdr ull; member
Dull_peripheral.c133 invalid_release(&adv->ull, lll, link, rx);
164 invalid_release(&adv->ull, lll, link, rx);
404 conn->ull.ticks_active_to_start = 0U;
405 conn->ull.ticks_prepare_to_start =
407 conn->ull.ticks_preempt_to_start =
409 conn->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us);
411 ticks_slot_offset = MAX(conn->ull.ticks_active_to_start,
412 conn->ull.ticks_prepare_to_start);
487 (conn->ull.ticks_slot +
574 ref = ull_ref_inc(&conn->ull);
Dull_adv_iso.c251 ticks_slot_aux = aux->ull.ticks_slot; in big_create()
254 MAX(aux->ull.ticks_active_to_start, in big_create()
255 aux->ull.ticks_prepare_to_start); in big_create()
269 MAX(adv->ull.ticks_active_to_start, in big_create()
270 adv->ull.ticks_prepare_to_start); in big_create()
280 ticks_slot_sync = sync->ull.ticks_slot; 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()
1010 adv_iso = CONTAINER_OF(done->param, struct ll_adv_iso_set, ull); in ull_adv_iso_done_complete()
1040 adv_iso = CONTAINER_OF(done->param, struct ll_adv_iso_set, ull); in ull_adv_iso_done_terminate()
[all …]
Dull_sync_iso.c230 ull_hdr_init(&sync_iso->ull); in ll_big_sync_create()
641 sync_iso->ull.ticks_active_to_start = 0U; in ull_sync_iso_setup()
642 sync_iso->ull.ticks_prepare_to_start = in ull_sync_iso_setup()
644 sync_iso->ull.ticks_preempt_to_start = in ull_sync_iso_setup()
646 sync_iso->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_sync_iso_setup()
648 ticks_slot_offset = MAX(sync_iso->ull.ticks_active_to_start, in ull_sync_iso_setup()
649 sync_iso->ull.ticks_prepare_to_start); in ull_sync_iso_setup()
690 (sync_iso->ull.ticks_slot + ticks_slot_overhead), in ull_sync_iso_setup()
708 sync_iso = CONTAINER_OF(done->param, struct ll_sync_iso_set, ull); in ull_sync_iso_estab_done()
746 sync_iso = CONTAINER_OF(done->param, struct ll_sync_iso_set, ull); in ull_sync_iso_done()
[all …]
Dull_scan_aux.c684 ull_hdr_init(&aux->ull); in ull_scan_aux_setup()
843 aux->ull.ticks_active_to_start = 0; in ull_scan_aux_setup()
844 aux->ull.ticks_prepare_to_start = in ull_scan_aux_setup()
846 aux->ull.ticks_preempt_to_start = in ull_scan_aux_setup()
848 aux->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL( in ull_scan_aux_setup()
853 ticks_slot_offset = MAX(aux->ull.ticks_active_to_start, in ull_scan_aux_setup()
854 aux->ull.ticks_prepare_to_start); in ull_scan_aux_setup()
898 (aux->ull.ticks_slot + in ull_scan_aux_setup()
988 aux = CONTAINER_OF(done->param, struct ll_scan_aux_set, ull); in ull_scan_aux_done()
994 sync = CONTAINER_OF(done->param, struct ll_sync_set, ull); in ull_scan_aux_done()
[all …]
Dull_central.c320 conn->ull.ticks_active_to_start = 0U; in ll_create_connection()
321 conn->ull.ticks_prepare_to_start = in ll_create_connection()
323 conn->ull.ticks_preempt_to_start = in ll_create_connection()
336 ull_hdr_init(&conn->ull); in ll_create_connection()
375 conn->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ll_create_connection()
805 ticks_slot_offset = MAX(conn->ull.ticks_active_to_start,
806 conn->ull.ticks_prepare_to_start);
887 (conn->ull.ticks_slot + ticks_slot_overhead),
953 ref = ull_ref_inc(&conn->ull);
1037 hdr = &scan->ull;
Dull_sync.c396 sync->ull.ticks_active_to_start = 0U; in ull_sync_setup_from_sync_transfer()
397 sync->ull.ticks_prepare_to_start = in ull_sync_setup_from_sync_transfer()
399 sync->ull.ticks_preempt_to_start = in ull_sync_setup_from_sync_transfer()
401 sync->ull.ticks_slot = HAL_TICKER_US_TO_TICKS_CEIL(slot_us); in ull_sync_setup_from_sync_transfer()
403 ticks_slot_offset = MAX(sync->ull.ticks_active_to_start, in ull_sync_setup_from_sync_transfer()
404 sync->ull.ticks_prepare_to_start); in ull_sync_setup_from_sync_transfer()
430 (sync->ull.ticks_slot + ticks_slot_overhead), in ull_sync_setup_from_sync_transfer()
1135 sync->ull.ticks_active_to_start = 0U; in ull_sync_setup()
1136 sync->ull.ticks_prepare_to_start = in ull_sync_setup()
1138 sync->ull.ticks_preempt_to_start = in ull_sync_setup()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll.c273 struct ull_hdr *ull; in lll_done() local
281 ull = NULL; in lll_done()
295 ull = HDR_LLL2ULL(param); in lll_done()
307 ull = HDR_LLL2ULL(param); in lll_done()
319 evdone = ull_event_done(ull); in lll_done()
386 uint32_t lll_event_offset_get(struct ull_hdr *ull) in lll_event_offset_get() argument
390 } else if (ull->ticks_prepare_to_start & XON_BITMASK) { in lll_event_offset_get()
391 return MAX(ull->ticks_active_to_start, in lll_event_offset_get()
392 ull->ticks_preempt_to_start); in lll_event_offset_get()
395 return MAX(ull->ticks_active_to_start, in lll_event_offset_get()
[all …]
Dlll_internal.h16 uint32_t lll_event_offset_get(struct ull_hdr *ull);
17 uint32_t lll_preempt_calc(struct ull_hdr *ull, uint8_t ticker_id,
Dlll_central.c90 struct ull_hdr *ull; in prepare_cb() local
159 ull = HDR_LLL2ULL(lll); in prepare_cb()
160 ticks_at_event += lll_event_offset_get(ull); in prepare_cb()
191 if (lll_preempt_calc(ull, (TICKER_ID_CONN_BASE + lll->handle), in prepare_cb()
Dlll_peripheral.c103 struct ull_hdr *ull; in prepare_cb() local
185 ull = HDR_LLL2ULL(lll); in prepare_cb()
186 ticks_at_event += lll_event_offset_get(ull); in prepare_cb()
239 if (lll_preempt_calc(ull, (TICKER_ID_CONN_BASE + lll->handle), in prepare_cb()
Dlll_scan.c131 struct ull_hdr *ull; in prepare_cb() local
207 ull = HDR_LLL2ULL(lll); in prepare_cb()
208 ticks_at_event += lll_event_offset_get(ull); in prepare_cb()
236 if (lll_preempt_calc(ull, (TICKER_ID_SCAN_BASE + in prepare_cb()
273 struct ull_hdr *ull = HDR_LLL2ULL(p->param); in resume_prepare_cb() local
275 p->ticks_at_expire = ticker_ticks_now_get() - lll_event_offset_get(ull); in resume_prepare_cb()
683 struct ull_hdr *ull; local
707 ull = HDR_LLL2ULL(lll);
708 if (pdu_end_us > (HAL_TICKER_TICKS_TO_US(ull->ticks_slot) -
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_internal.h13 uint32_t lll_event_offset_get(struct ull_hdr *ull);
14 uint32_t lll_preempt_calc(struct ull_hdr *ull, uint8_t ticker_id,
Dlll.c500 struct ull_hdr *ull; local
521 ull = HDR_LLL2ULL(param);
523 ull = NULL;
535 ull = HDR_LLL2ULL(param);
559 evdone = ull_event_done(ull);
613 uint32_t lll_event_offset_get(struct ull_hdr *ull) argument
617 } else if (ull->ticks_prepare_to_start & XON_BITMASK) {
618 return MAX(ull->ticks_active_to_start,
619 ull->ticks_preempt_to_start);
622 return MAX(ull->ticks_active_to_start,
[all …]
Dlll_central.c101 struct ull_hdr *ull; in prepare_cb() local
214 ull = HDR_LLL2ULL(lll); in prepare_cb()
215 ticks_at_event += lll_event_offset_get(ull); in prepare_cb()
247 overhead = lll_preempt_calc(ull, (TICKER_ID_CONN_BASE + lll->handle), ticks_at_event); in prepare_cb()
Dlll_peripheral.c105 struct ull_hdr *ull; local
274 ull = HDR_LLL2ULL(lll);
275 ticks_at_event += lll_event_offset_get(ull);
334 overhead = lll_preempt_calc(ull, (TICKER_ID_CONN_BASE + lll->handle), ticks_at_event);
Dlll_adv_sync.c121 struct ull_hdr *ull; local
220 ull = HDR_LLL2ULL(lll);
221 ticks_at_event += lll_event_offset_get(ull);
262 overhead = lll_preempt_calc(ull, (TICKER_ID_ADV_SYNC_BASE +
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dthread.c69 uint64_t thread_create_sum = 0ull; in start_thread_entry()
70 uint64_t thread_start_sum = 0ull; in start_thread_entry()
71 uint64_t thread_suspend_sum = 0ull; in start_thread_entry()
72 uint64_t thread_resume_sum = 0ull; in start_thread_entry()
73 uint64_t thread_abort_sum = 0ull; in start_thread_entry()
Dint_to_thread.c61 *sum = 0ull; in int_to_interrupted_thread()
79 uint64_t sum = 0ull; in start_thread_entry()
131 *sum = 0ull; in int_to_another_thread()
Dcondvar.c27 uint64_t sum[2] = {0ull, 0ull}; in start_thread_entry()
/Zephyr-latest/tests/kernel/common/src/
Dprintk.c166 unsigned long long ull = 22; variable
207 printk("%zu %hhu %hu %u %lu %llu\n", stv, uc, usi, ui, ul, ull); in ZTEST()
229 stv, uc, usi, ui, ul, ull); in ZTEST()

123