Lines Matching refs:bn
95 uint8_t bn, uint8_t irc, uint8_t pto, bool test_config) in big_create() argument
196 if (!IN_RANGE(bn, 0x01, 0x07)) { in big_create()
205 if (!IN_RANGE(pto, 0x00, bn /*0x0F*/)) { in big_create()
209 if (bn * irc + pto < nse) { in big_create()
344 lll_adv_iso->bn = bn; in big_create()
366 bn = DIV_ROUND_UP(max_sdu, lll_adv_iso->max_pdu) * sdu_per_event; in big_create()
367 if (bn > PDU_BIG_BN_MAX) { in big_create()
369 lll_adv_iso->bn = PDU_BIG_BN_MAX; in big_create()
374 bn = DIV_ROUND_UP(bn, PDU_BIG_BN_MAX) * PDU_BIG_BN_MAX; in big_create()
376 lll_adv_iso->bn = bn; in big_create()
383 iso_interval_us = ((sdu_interval * lll_adv_iso->bn * sdu_per_event) / in big_create()
384 (bn * PERIODIC_INT_UNIT_US)) * PERIODIC_INT_UNIT_US; in big_create()
405 lll_adv_iso->nse = lll_adv_iso->bn * lll_adv_iso->irc; in big_create()
458 lll_adv_iso->pto = bn / lll_adv_iso->bn; in big_create()
539 PDU_BIG_INFO_BN_SET(big_info, lll_adv_iso->bn); in big_create()
679 uint8_t framing, uint8_t bn, uint8_t irc, in ll_big_test_create() argument
686 iso_interval, nse, max_pdu, bn, irc, pto, true); in ll_big_test_create()
976 lll_iso->iso_lazy) * lll_iso->bn); in ull_adv_iso_lll_biginfo_fill()
1162 (lll->sub_interval * lll->bn * lll->num_bis)) * in ptc_calc()
1163 lll->bn; in ptc_calc()
1168 ptc = MIN(ptc, lll->bn); in ptc_calc()
1421 (((uint64_t)lll_iso->latency_prepare + lazy) * lll_iso->bn); in mfy_iso_offset_get()
1523 event_count = adv_iso->lll.payload_count / adv_iso->lll.bn; in ticker_cb()