Lines Matching refs:instant
105 static bool is_instant_reached(struct ll_conn *conn, uint16_t instant) in is_instant_reached() argument
107 return ((event_counter(conn) - instant) & 0xFFFF) <= 0x7FFF; in is_instant_reached()
124 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 8, in ZTEST()
131 uint16_t instant; in ZTEST() local
210 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
216 while (!is_instant_reached(&conn, instant)) { in ZTEST()
383 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 8, in ZTEST()
386 uint16_t instant; in ZTEST() local
448 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
454 while (!is_instant_reached(&conn, instant)) { in ZTEST()
496 uint16_t instant; in ZTEST() local
542 phy_update_ind.instant = instant = event_counter(&conn) + 6; in ZTEST()
552 while (!is_instant_reached(&conn, instant)) { in ZTEST()
593 uint16_t instant; in ZTEST() local
638 phy_update_ind.instant = instant = event_counter(&conn) + 6; in ZTEST()
681 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 7, in ZTEST()
684 uint16_t instant; in ZTEST() local
717 ind.instant = instant = event_counter(&conn) + 6; in ZTEST()
736 while (!is_instant_reached(&conn, instant)) { in ZTEST()
904 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 9, in ZTEST()
907 uint16_t instant; in ZTEST() local
1022 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
1028 while (!is_instant_reached(&conn, instant)) { in ZTEST()
1074 struct pdu_data_llctrl_phy_upd_ind ind_1 = { .instant = 7, in ZTEST()
1078 .instant = 15, .c_to_p_phy = PHY_2M, .p_to_c_phy = 0}; in ZTEST()
1079 uint16_t instant; in ZTEST() local
1129 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
1135 while (!is_instant_reached(&conn, instant)) { in ZTEST()
1216 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
1222 while (!is_instant_reached(&conn, instant)) { in ZTEST()
1264 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 7, in ZTEST()
1267 uint16_t instant; in ZTEST() local
1344 ind.instant = instant = event_counter(&conn) + 6; in ZTEST()
1360 while (!is_instant_reached(&conn, instant)) { in ZTEST()
1404 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 0, .c_to_p_phy = 0, .p_to_c_phy = 0 }; in ZTEST()
1405 uint16_t instant; in ZTEST() local
1459 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
1462 zassert_equal(instant, 0, "Unexpected instant %d", instant); in ZTEST()
1486 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 0, .c_to_p_phy = 0, .p_to_c_phy = 0 }; in ZTEST()
1487 uint16_t instant; in ZTEST() local
1528 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
1531 zassert_equal(instant, 0, "Unexpected instant %d", instant); in ZTEST()
1553 struct pdu_data_llctrl_phy_upd_ind phy_update_ind = { .instant = 0, in ZTEST()
1630 struct pdu_data_llctrl_phy_upd_ind ind = { .instant = 0, .c_to_p_phy = 0, .p_to_c_phy = 0 }; in ZTEST()