Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_conn.c985 uint16_t elapsed_event; in ull_conn_done() local
1108 elapsed_event = latency_event + lll->lazy_prepare + 1U; in ull_conn_done()
1117 if (conn->connect_expire > elapsed_event) { in ull_conn_done()
1118 conn->connect_expire -= elapsed_event; in ull_conn_done()
1152 if (conn->supervision_expire > elapsed_event) { in ull_conn_done()
1153 conn->supervision_expire -= elapsed_event; in ull_conn_done()
1196 if (-ETIMEDOUT == ull_cp_prt_elapse(conn, elapsed_event, &error_code)) { in ull_conn_done()
1205 if (conn->apto_expire > elapsed_event) { in ull_conn_done()
1206 conn->apto_expire -= elapsed_event; in ull_conn_done()
1227 if (conn->appto_expire > elapsed_event) { in ull_conn_done()
[all …]
Dull_sync_iso.c740 uint16_t elapsed_event; in ull_sync_iso_done() local
752 elapsed_event = latency_event + lll->latency_prepare; in ull_sync_iso_done()
754 elapsed_event = latency_event + 1U; in ull_sync_iso_done()
792 if (sync_iso->timeout_expire > elapsed_event) { in ull_sync_iso_done()
793 sync_iso->timeout_expire -= elapsed_event; in ull_sync_iso_done()
Dull_llcp.h46 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code);
Dull_sync.c1326 uint16_t elapsed_event; local
1352 elapsed_event = skip_event + lll->lazy_prepare + 1U;
1361 if (sync->sync_expire > elapsed_event) {
1362 sync->sync_expire -= elapsed_event;
1379 if (sync->timeout_expire > elapsed_event) {
1380 sync->timeout_expire -= elapsed_event;
Dull_llcp.c487 static int prt_elapse(uint16_t *expire, uint16_t elapsed_event) in prt_elapse() argument
490 if (*expire > elapsed_event) { in prt_elapse()
491 *expire -= elapsed_event; in prt_elapse()
502 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code) in ull_cp_prt_elapse() argument
507 loc_ret = prt_elapse(&conn->llcp.local.prt_expire, elapsed_event); in ull_cp_prt_elapse()
526 rem_ret = prt_elapse(&conn->llcp.remote.prt_expire, elapsed_event); in ull_cp_prt_elapse()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_iso.c850 uint16_t elapsed_event; in isr_done_term() local
857 elapsed_event = lll->latency_event + 1U; in isr_done_term()
858 if (lll->ctrl_expire > elapsed_event) { in isr_done_term()
859 lll->ctrl_expire -= elapsed_event; in isr_done_term()