Searched refs:time_ticks (Results 1 – 3 of 3) sorted by relevance
2168 uint32_t time_ticks; local2188 time_ticks = HAL_TICKER_US_TO_TICKS_CEIL(time_us);2196 if (adv->ull.ticks_slot > time_ticks) {2197 ticks_minus = adv->ull.ticks_slot - time_ticks;2199 } else if (adv->ull.ticks_slot < time_ticks) {2201 ticks_plus = time_ticks - adv->ull.ticks_slot;2219 adv->ull.ticks_slot = time_ticks;
3092 uint32_t time_ticks; in aux_time_update() local3096 time_ticks = HAL_TICKER_US_TO_TICKS_CEIL(time_us); in aux_time_update()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()3109 ticks_plus = time_ticks - aux->ull.ticks_slot; in aux_time_update()3127 aux->ull.ticks_slot = time_ticks; in aux_time_update()
880 uint32_t time_ticks; in ull_adv_sync_time_update() local884 time_ticks = HAL_TICKER_US_TO_TICKS(time_us); in ull_adv_sync_time_update()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()