Lines Matching refs:chan_id

18 static uint16_t chan_prn_s(uint16_t counter, uint16_t chan_id);
19 static uint16_t chan_prn_e(uint16_t counter, uint16_t chan_id);
23 static uint16_t chan_prn_subevent_se(uint16_t chan_id,
71 uint8_t lll_chan_sel_2(uint16_t counter, uint16_t chan_id, uint8_t *chan_map, in lll_chan_sel_2() argument
77 prn_e = chan_prn_e(counter, chan_id); in lll_chan_sel_2()
99 uint8_t lll_chan_iso_event(uint16_t counter, uint16_t chan_id, in lll_chan_iso_event() argument
106 *prn_s = chan_prn_s(counter, chan_id); in lll_chan_iso_event()
107 prn_e = *prn_s ^ chan_id; in lll_chan_iso_event()
126 uint8_t lll_chan_iso_subevent(uint16_t chan_id, uint8_t *chan_map, in lll_chan_iso_subevent() argument
134 prn_subevent_se = chan_prn_subevent_se(chan_id, prn_subevent_lu); in lll_chan_iso_subevent()
218 static uint16_t chan_prn_s(uint16_t counter, uint16_t chan_id) in chan_prn_s() argument
223 prn_s = counter ^ chan_id; in chan_prn_s()
227 prn_s = chan_mam(prn_s, chan_id); in chan_prn_s()
233 static uint16_t chan_prn_e(uint16_t counter, uint16_t chan_id) in chan_prn_e() argument
237 prn_e = chan_prn_s(counter, chan_id); in chan_prn_e()
238 prn_e ^= chan_id; in chan_prn_e()
286 static uint16_t chan_prn_subevent_se(uint16_t chan_id, in chan_prn_subevent_se() argument
294 lu = chan_mam(lu, chan_id); in chan_prn_subevent_se()
298 prn_subevent_se = lu ^ chan_id; in chan_prn_subevent_se()
346 uint16_t const chan_id = 0x305F; in lll_chan_sel_2_ut() local
351 m = lll_chan_sel_2(0U, chan_id, chan_map_1, chan_map_1_37_used); in lll_chan_sel_2_ut()
354 m = lll_chan_sel_2(1U, chan_id, chan_map_1, chan_map_1_37_used); in lll_chan_sel_2_ut()
357 m = lll_chan_sel_2(2U, chan_id, chan_map_1, chan_map_1_37_used); in lll_chan_sel_2_ut()
360 m = lll_chan_sel_2(3U, chan_id, chan_map_1, chan_map_1_37_used); in lll_chan_sel_2_ut()
364 m = lll_chan_sel_2(6U, chan_id, chan_map_2, chan_map_2_9_used); in lll_chan_sel_2_ut()
367 m = lll_chan_sel_2(7U, chan_id, chan_map_2, chan_map_2_9_used); in lll_chan_sel_2_ut()
370 m = lll_chan_sel_2(8U, chan_id, chan_map_2, chan_map_2_9_used); in lll_chan_sel_2_ut()
377 m = lll_chan_sel_2(11U, chan_id, chan_map_3, chan_map_3_2_used); in lll_chan_sel_2_ut()
380 m = lll_chan_sel_2(12U, chan_id, chan_map_3, chan_map_3_2_used); in lll_chan_sel_2_ut()
383 m = lll_chan_sel_2(13U, chan_id, chan_map_3, chan_map_3_2_used); in lll_chan_sel_2_ut()
393 prn_s = 56857U ^ chan_id; in lll_chan_sel_2_ut()
395 prn_subevent_se = chan_prn_subevent_se(chan_id, &prn_subevent_lu); in lll_chan_sel_2_ut()
399 prn_subevent_se = chan_prn_subevent_se(chan_id, &prn_subevent_lu); in lll_chan_sel_2_ut()
403 prn_subevent_se = chan_prn_subevent_se(chan_id, &prn_subevent_lu); in lll_chan_sel_2_ut()
408 m = lll_chan_iso_event(0U, chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
409 LL_ASSERT((prn_s ^ chan_id) == 56857U); in lll_chan_sel_2_ut()
414 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
419 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
424 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
429 m = lll_chan_iso_event(1U, chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
430 LL_ASSERT((prn_s ^ chan_id) == 1685U); in lll_chan_sel_2_ut()
435 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
440 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
445 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
450 m = lll_chan_iso_event(2U, chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
451 LL_ASSERT((prn_s ^ chan_id) == 38301U); in lll_chan_sel_2_ut()
456 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
461 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
466 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
471 m = lll_chan_iso_event(3U, chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
472 LL_ASSERT((prn_s ^ chan_id) == 27475U); in lll_chan_sel_2_ut()
477 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
482 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
487 m = lll_chan_iso_subevent(chan_id, chan_map_1, chan_map_1_37_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
493 m = lll_chan_iso_event(6U, chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
494 LL_ASSERT((prn_s ^ chan_id) == 10975U); in lll_chan_sel_2_ut()
499 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
504 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
509 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
514 m = lll_chan_iso_event(7U, chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
515 LL_ASSERT((prn_s ^ chan_id) == 5490U); in lll_chan_sel_2_ut()
520 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
525 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
530 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
535 m = lll_chan_iso_event(8U, chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
536 LL_ASSERT((prn_s ^ chan_id) == 46970U); in lll_chan_sel_2_ut()
541 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
546 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
551 m = lll_chan_iso_subevent(chan_id, chan_map_2, chan_map_2_9_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
560 m = lll_chan_iso_event(11U, chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
561 LL_ASSERT((prn_s ^ chan_id) == 8628U); in lll_chan_sel_2_ut()
566 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
571 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
576 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
581 m = lll_chan_iso_event(12U, chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
582 LL_ASSERT((prn_s ^ chan_id) == 34748U); in lll_chan_sel_2_ut()
587 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
592 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
597 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
602 m = lll_chan_iso_event(13U, chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
603 LL_ASSERT((prn_s ^ chan_id) == 22072U); in lll_chan_sel_2_ut()
608 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
613 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()
618 m = lll_chan_iso_subevent(chan_id, chan_map_3, chan_map_3_2_used, &prn_s, &remap_idx); in lll_chan_sel_2_ut()