/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_central.c | 86 uint16_t event_counter; in prepare_cb() local 104 event_counter = lll->event_counter + lll->latency_event; in prepare_cb() 107 lll->event_counter = (event_counter + 1); in prepare_cb() 114 data_chan_use = lll_chan_sel_2(event_counter, lll->data_chan_id, in prepare_cb()
|
D | lll_peripheral.c | 99 uint16_t event_counter; in prepare_cb() local 118 event_counter = lll->event_counter + lll->latency_event; in prepare_cb() 121 lll->event_counter = (event_counter + 1); in prepare_cb() 128 data_chan_use = lll_chan_sel_2(event_counter, lll->data_chan_id, in prepare_cb()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_central.c | 97 uint16_t event_counter; in prepare_cb() local 127 event_counter = lll->event_counter + lll->latency_event; in prepare_cb() 130 lll->event_counter = (event_counter + 1); in prepare_cb() 137 data_chan_use = lll_chan_sel_2(event_counter, lll->data_chan_id, in prepare_cb()
|
D | lll_adv_sync.c | 101 static bool is_instant_or_past(uint16_t event_counter, uint16_t instant) in is_instant_or_past() argument 105 instant_latency = (event_counter - instant) & in is_instant_or_past() 118 uint16_t event_counter; local 137 event_counter = lll->event_counter + lll->latency_event; 140 lll->event_counter = (event_counter + 1); 147 is_instant_or_past(event_counter, lll->chm_instant)) { 155 data_chan_use = lll_chan_sel_2(event_counter, lll->data_chan_id, 331 is_instant_or_past(lll->event_counter, lll->chm_instant)) {
|
D | lll_peripheral.c | 101 uint16_t event_counter; local 131 event_counter = lll->event_counter + lll->latency_event; 134 lll->event_counter = (event_counter + 1); 141 data_chan_use = lll_chan_sel_2(event_counter, lll->data_chan_id,
|
D | lll_adv_iso.c | 59 static void next_chan_calc(struct lll_adv_iso *lll, uint16_t event_counter, 182 uint16_t event_counter; in prepare_cb_common() local 204 event_counter = (lll->payload_count / lll->bn) + lll->latency_event; in prepare_cb_common() 232 data_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in prepare_cb_common() 333 lll->ctrl_instant = event_counter + in prepare_cb_common() 341 lll->ctrl_instant = event_counter + lll->ctrl_expire; in prepare_cb_common() 447 next_chan_calc(lll, event_counter, data_chan_id); in prepare_cb_common() 695 const uint16_t event_counter = payload_count / lll->bn; in isr_tx_common() local 698 data_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in isr_tx_common() 798 const uint16_t event_counter = (lll->payload_count / lll->bn) - 1U; in isr_tx_common() local [all …]
|
D | lll_sync.c | 267 uint16_t event_counter; in create_prepare_cb() local 280 event_counter = lll->event_counter + lll->skip_event; in create_prepare_cb() 288 lll->event_counter = (event_counter + 1U); in create_prepare_cb() 355 uint16_t event_counter; in prepare_cb() local 368 event_counter = lll->event_counter + lll->skip_event; in prepare_cb() 376 lll->event_counter = (event_counter + 1U); in prepare_cb() 1274 iq_report->event_counter = lll->event_counter - 1; in iq_report_create() 1293 iq_report->event_counter = lll->event_counter - 1; in iq_report_incomplete_create() 1420 instant_latency = (lll->event_counter + lll->skip_event - lll->chm_instant) & in data_channel_calc() 1431 return lll_chan_sel_2(lll->event_counter + lll->skip_event, lll->data_chan_id, in data_channel_calc()
|
D | lll_sync_iso.c | 55 static void next_chan_calc(struct lll_sync_iso *lll, uint16_t event_counter, 205 uint16_t event_counter; in prepare_cb_common() local 225 event_counter = (lll->payload_count / lll->bn) + lll->latency_event; in prepare_cb_common() 262 data_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in prepare_cb_common() 285 data_chan_use = lll_chan_iso_event(event_counter, in prepare_cb_common() 404 next_chan_calc(lll, event_counter, data_chan_id); in prepare_cb_common() 979 const uint16_t event_counter = in isr_rx() local 983 data_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in isr_rx() 997 const uint16_t event_counter = in isr_rx() local 1001 data_chan_use = lll_chan_iso_event(event_counter, in isr_rx() [all …]
|
D | lll_df_types.h | 110 uint16_t event_counter; member
|
D | lll_central_iso.c | 130 uint16_t event_counter; in prepare_cb() local 166 event_counter = cis_lll->event_count; in prepare_cb() 170 data_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in prepare_cb() 575 uint16_t event_counter; in isr_tx() local 597 event_counter = next_cis_lll->event_count; in isr_tx() 601 next_cis_chan = lll_chan_iso_event(event_counter, data_chan_id, in isr_tx() 839 uint16_t event_counter; in isr_rx() local 846 event_counter = next_cis_lll->event_count; in isr_rx() 850 next_cis_chan = lll_chan_iso_event(event_counter, data_chan_id, in isr_rx()
|
D | lll_peripheral_iso.c | 134 uint16_t event_counter; in prepare_cb() local 168 event_counter = cis_lll->event_count; in prepare_cb() 172 data_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in prepare_cb() 772 uint16_t event_counter; in isr_rx() local 795 event_counter = next_cis_lll->event_count; in isr_rx() 799 next_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in isr_rx() 1024 uint16_t event_counter; in isr_prepare_subevent_next_cis() local 1035 event_counter = cis_lll->event_count; in isr_prepare_subevent_next_cis() 1039 next_chan_use = lll_chan_iso_event(event_counter, data_chan_id, in isr_prepare_subevent_next_cis()
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_util.c | 230 printf(" event-count: %d\n", conn->lll.event_counter); in test_print_conn() 278 conn->lll.event_counter = 0; in test_setup() 305 conn->lll.event_counter = 0; in test_setup_idx() 336 uint16_t event_counter = lll->event_counter + lll->latency_prepare; in event_prepare() local 339 lll->event_counter = event_counter + 1; in event_prepare() 384 uint16_t event_counter(struct ll_conn *conn) in event_counter() function 386 uint16_t event_counter; in event_counter() local 390 event_counter = ull_conn_event_counter(conn); in event_counter() 397 event_counter--; in event_counter() 400 return event_counter; in event_counter()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_feature_exchange/src/ |
D | main.c | 167 zassert_equal(conn.lll.event_counter, feat_to_test + 1, "Wrong event-count %d\n", in ZTEST() 168 conn.lll.event_counter); in ZTEST() 350 zassert_equal(conn.lll.event_counter, CENTRAL_NR_OF_EVENTS * (feat_to_test), in ZTEST() 351 "Wrong event-count %d\n", conn.lll.event_counter); in ZTEST() 438 zassert_equal(conn.lll.event_counter, CENTRAL_NR_OF_EVENTS * (feat_to_test), in ZTEST() 439 "Wrong event-count %d\n", conn.lll.event_counter); in ZTEST() 481 zassert_equal(conn.lll.event_counter, 1, "Wrong event-count %d\n", in ZTEST() 482 conn.lll.event_counter); in ZTEST() 527 zassert_equal(conn.lll.event_counter, 2, "Wrong event-count %d\n", in ZTEST() 528 conn.lll.event_counter); in ZTEST()
|
D | main_hci.c | 135 zassert_equal(conn_from_pool->lll.event_counter, feat_counter + 1, in ZTEST() 136 "Wrong event count %d\n", conn_from_pool->lll.event_counter); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_conn_update/src/ |
D | main.c | 206 lll->event_counter = 0; in conn_update_setup() 211 return ((event_counter(conn) - instant) & 0xFFFF) <= 0x7FFF; in is_instant_reached() 265 conn_param_req.reference_conn_event_count = event_counter(&conn); in ZTEST() 283 conn_update_ind.instant = event_counter(&conn) + 6U; in ZTEST() 416 conn_param_req.reference_conn_event_count = event_counter(&conn); in ZTEST() 517 conn_update_ind.instant = event_counter(&conn) + 6U; in ZTEST() 573 conn_param_req.reference_conn_event_count = event_counter(&conn_3rd); in ZTEST() 637 conn_param_req.reference_conn_event_count = event_counter(&conn); in ZTEST() 706 conn_param_req.reference_conn_event_count = event_counter(&conn); in ZTEST() 779 conn_param_req.reference_conn_event_count = event_counter(&conn); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/ |
D | main.c | 120 zassert_equal(conn.lll.event_counter, 1, "Wrong event-count %d\n", in ZTEST() 121 conn.lll.event_counter); in ZTEST() 471 zassert_equal(conn.lll.event_counter, 1, "Wrong event-count %d\n", in ZTEST() 472 conn.lll.event_counter); in ZTEST() 548 zassert_equal(conn.lll.event_counter, 1, "Wrong event-count %d\n", in ZTEST() 549 conn.lll.event_counter); in ZTEST() 572 zassert_equal(conn.lll.event_counter, 2, "Wrong event-count %d\n", in ZTEST() 573 conn.lll.event_counter); in ZTEST() 614 zassert_equal(conn.lll.event_counter, 1, "Wrong event-count %d\n", in ZTEST() 615 conn.lll.event_counter); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_chmu.c | 145 uint16_t event_counter = ull_conn_event_counter(conn); in lp_chmu_check_instant() local 147 if (is_instant_reached_or_passed(ctx->data.chmu.instant, event_counter)) { in lp_chmu_check_instant() 260 uint16_t event_counter = ull_conn_event_counter(conn); in rp_chmu_check_instant() local 262 if (((event_counter - ctx->data.chmu.instant) & 0xFFFF) <= 0x7FFF) { in rp_chmu_check_instant()
|
D | lll_sync.h | 49 uint16_t event_counter; member
|
D | ull_adv_types.h | 40 uint16_t event_counter; member
|
D | ull_llcp_cc.c | 445 uint16_t event_counter; in rp_cc_check_instant() local 447 event_counter = ull_conn_event_counter(conn); in rp_cc_check_instant() 450 if (is_instant_reached_or_passed(start_event_count, event_counter)) { in rp_cc_check_instant() 451 uint16_t instant_latency = (event_counter - start_event_count) & 0xffff; in rp_cc_check_instant() 994 uint16_t event_counter; in lp_cc_check_instant() local 996 event_counter = ull_conn_event_counter(conn); in lp_cc_check_instant() 999 instant_latency = (event_counter - start_event_count) & 0xffff; in lp_cc_check_instant()
|
D | lll_adv.h | 106 uint16_t event_counter; member
|
D | lll_conn.h | 58 uint16_t event_counter; member
|
/Zephyr-latest/tests/bluetooth/controller/common/include/ |
D | helper_util.h | 17 uint16_t event_counter(struct ll_conn *conn);
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/ |
D | main.c | 120 zassert_equal(conn_from_pool->lll.event_counter, 1, "Wrong event count %d\n", in ZTEST() 121 conn_from_pool->lll.event_counter); in ZTEST() 186 zassert_equal(conn_from_pool->lll.event_counter, 1, "Wrong event count %d\n", in ZTEST() 187 conn_from_pool->lll.event_counter); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/ |
D | main.c | 794 return (uint16_t)(event_counter(conn) - instant) <= (uint16_t)0x7FFF; in is_instant_reached() 800 uint16_t event_counter; in pu_event_counter() local 805 event_counter = lll->event_counter + lll->latency_prepare; in pu_event_counter() 807 return event_counter; in pu_event_counter() 1058 instant = event_counter(&conn) + PHY_UPDATE_INSTANT_DELTA; in run_phy_update_peripheral()
|