Lines Matching refs:bt_mesh
109 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_find()
110 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_find()
216 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friends_clear()
217 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friends_clear()
235 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_sec_update()
236 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_sec_update()
467 if (meta.crypto.seq_num == bt_mesh.seq) { in unseg_app_sdu_prepare()
471 LOG_DBG("Re-encrypting friend pdu (SeqNum %06x -> %06x)", meta.crypto.seq_num, bt_mesh.seq); in unseg_app_sdu_prepare()
479 meta.crypto.seq_num = bt_mesh.seq; in unseg_app_sdu_prepare()
523 iv_index = (bt_mesh.iv_index - ((bt_mesh.iv_index & 1) != ivi)); in encrypt_friend_pdu()
577 upd->iv_index = sys_cpu_to_be32(bt_mesh.iv_index); in encode_update()
785 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in find_clear()
786 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in find_clear()
1032 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_req()
1033 if (!bt_mesh.frnd[i].subnet) { in bt_mesh_friend_req()
1034 frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_req()
1306 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in subnet_evt()
1307 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in subnet_evt()
1351 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_init()
1352 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_init()
1497 sys_put_be24(bt_mesh.seq, info.seq); in friend_lpn_enqueue_tx()
1565 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_match()
1566 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_match()
1616 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_queue_has_space()
1617 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_queue_has_space()
1713 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_enqueue_rx()
1714 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_enqueue_rx()
1755 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_enqueue_tx()
1756 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_enqueue_tx()
1797 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_clear_incomplete()
1798 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_clear_incomplete()