Lines Matching defs:lpn
41 #define RX_DELAY_CORRECTION(lpn) ((lpn)->adv_duration) argument
43 #define RX_DELAY_CORRECTION(lpn) 0 argument
64 #define REQ_RETRY_DURATION(lpn) (LPN_RECV_DELAY + (lpn)->adv_duration + \ argument
72 #define REQ_ATTEMPTS(lpn) MIN(REQ_ATTEMPTS_MAX, \ argument
75 #define POLL_TIMEOUT_MAX(lpn) (POLL_TIMEOUT - \ argument
118 static int32_t poll_timeout(struct bt_mesh_lpn *lpn) in poll_timeout()
188 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in friend_clear_sent() local
236 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in clear_friendship() local
317 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in friend_req_send_end() local
342 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in friend_req_send_start() local
356 static int send_friend_req(struct bt_mesh_lpn *lpn) in send_friend_req()
398 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in req_send_end() local
444 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in req_send_start() local
473 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in send_friend_poll() local
508 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_set() local
556 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friendship_end() local
565 static void friend_response_received(struct bt_mesh_lpn *lpn) in friend_response_received()
588 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_msg_received() local
618 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in friend_cred_create() local
629 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friend_offer() local
698 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friend_clear_cfm() local
729 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in lpn_group_add() local
755 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in lpn_group_del() local
786 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in sub_update() local
856 static void update_timeout(struct bt_mesh_lpn *lpn) in update_timeout()
883 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in lpn_timeout() local
989 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friend_sub_cfm() local
1049 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friend_update() local
1169 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_init() local