Searched refs:time_before (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.4.0/tests/bluetooth/ctrl_isoal/src/sub_sets/ |
D | isoal_test_tx.c | 366 static bool isoal_get_time_diff_test(uint32_t time_before, uint32_t time_after, uint32_t *result) in isoal_get_time_diff_test() argument 368 bool valid = isoal_get_time_diff(time_before, time_after, result); in isoal_get_time_diff_test() 373 time_before, in isoal_get_time_diff_test() 378 time_before, in isoal_get_time_diff_test() 1562 uint32_t time_before; in ZTEST() local 1570 time_before = ISOAL_TIME_WRAPPING_POINT_US; in ZTEST() 1572 valid = isoal_get_time_diff_test(time_before, time_after, &result); in ZTEST() 1579 time_before = 0; in ZTEST() 1581 valid = isoal_get_time_diff_test(time_before, time_after, &result); in ZTEST() 1584 time_before = ISOAL_TIME_WRAPPING_POINT_US; in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/ |
D | isoal.c | 147 static bool isoal_get_time_diff(uint32_t time_before, uint32_t time_after, uint32_t *result) in isoal_get_time_diff() argument 151 LL_ASSERT(time_before <= ISOAL_TIME_WRAPPING_POINT_US); in isoal_get_time_diff() 154 if (time_before > time_after) { in isoal_get_time_diff() 155 if (time_before >= ISOAL_TIME_MID_POINT_US && in isoal_get_time_diff() 157 if ((time_before - time_after) <= ISOAL_TIME_SPAN_HALF_US) { in isoal_get_time_diff() 161 *result = time_after + ISOAL_TIME_SPAN_FULL_US - time_before; in isoal_get_time_diff() 169 *result = time_after - time_before; in isoal_get_time_diff()
|