Searched refs:conn_ref (Results 1 – 5 of 5) sorted by relevance
85 struct bt_conn *conn_ref; member105 memset(&info->conn_ref, 0, sizeof(info->conn_ref)); in clear_info()137 if (conn_infos[i].conn_ref == NULL) { in get_new_conn_info_ref()147 static struct conn_info *get_conn_info_ref(struct bt_conn *conn_ref) in get_conn_info_ref() argument150 if (conn_ref == conn_infos[i].conn_ref) { in get_conn_info_ref()321 if (conn_infos[i].conn_ref != NULL) { in check_if_peer_connected()322 if (!bt_addr_le_cmp(bt_conn_get_dst(conn_infos[i].conn_ref), addr)) { in check_if_peer_connected()412 __ASSERT_NO_MSG(conn_info_ref->conn_ref == NULL); in connected_cb()414 conn_info_ref->conn_ref = conn_connecting; in connected_cb()443 __ASSERT_NO_MSG(conn_info_ref->conn_ref != NULL); in disconnected()
20 src/conn_ref.c
112 struct bt_conn conn_ref = {0}; in ZTEST() local118 bt_conn_lookup_state_le_fake.return_val = &conn_ref; in ZTEST()123 expect_single_call_bt_conn_unref(&conn_ref); in ZTEST()
74 struct bt_conn *conn_ref; member143 conn_info.conn_ref = conn; in connected()372 __ASSERT_NO_MSG(conn_info.conn_ref); in disconnect()374 int err = bt_conn_disconnect(conn_info.conn_ref, in disconnect()421 subscribe_to_service(conn_info.conn_ref); in test_peripheral_main()
118 struct bt_conn conn_ref = {0}; in ZTEST() local124 bt_conn_lookup_state_le_fake.return_val = &conn_ref; in ZTEST()129 expect_single_call_bt_conn_unref(&conn_ref); in ZTEST()