Searched refs:elapsed_event (Results 1 – 6 of 6) sorted by relevance
985 uint16_t elapsed_event; in ull_conn_done() local1108 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 …]
740 uint16_t elapsed_event; in ull_sync_iso_done() local752 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()
46 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code);
1326 uint16_t elapsed_event; local1352 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;
487 static int prt_elapse(uint16_t *expire, uint16_t elapsed_event) in prt_elapse() argument490 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() argument507 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()
850 uint16_t elapsed_event; in isr_done_term() local857 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()