Lines Matching refs:clear
788 if (frnd->clear.frnd == prev_friend) { in find_clear()
800 k_work_reschedule(&frnd->clear.timer, in friend_clear_sent()
801 K_SECONDS(frnd->clear.repeat_sec)); in friend_clear_sent()
802 frnd->clear.repeat_sec *= 2U; in friend_clear_sent()
814 .addr = frnd->clear.frnd, in send_friend_clear()
838 clear.timer); in clear_timeout()
841 if (frnd->clear.frnd == BT_MESH_ADDR_UNASSIGNED) { in clear_timeout()
846 LOG_DBG("LPN 0x%04x (old) Friend 0x%04x", frnd->lpn, frnd->clear.frnd); in clear_timeout()
848 duration = k_uptime_get_32() - frnd->clear.start; in clear_timeout()
851 frnd->clear.frnd = BT_MESH_ADDR_UNASSIGNED; in clear_timeout()
860 LOG_DBG("LPN 0x%04x (old) Friend 0x%04x", frnd->lpn, frnd->clear.frnd); in clear_procedure_start()
862 frnd->clear.start = k_uptime_get_32(); in clear_procedure_start()
863 frnd->clear.repeat_sec = 1U; in clear_procedure_start()
901 (void)k_work_cancel_delayable(&frnd->clear.timer); in bt_mesh_friend_clear_cfm()
902 frnd->clear.frnd = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_friend_clear_cfm()
1051 frnd->clear.frnd = sys_be16_to_cpu(msg->prev_addr); in bt_mesh_friend_req()
1063 if (BT_MESH_ADDR_IS_UNICAST(frnd->clear.frnd) && in bt_mesh_friend_req()
1064 !bt_mesh_has_addr(frnd->clear.frnd)) { in bt_mesh_friend_req()
1358 k_work_init_delayable(&frnd->clear.timer, clear_timeout); in bt_mesh_friend_init()