Searched refs:tmp_conn (Results 1 – 1 of 1) sorted by relevance
349 struct sensing_connection *tmp_conn; in open_sensor() local356 tmp_conn = malloc(sizeof(*tmp_conn)); in open_sensor()357 if (!tmp_conn) { in open_sensor()361 init_connection(tmp_conn, sensor, NULL); in open_sensor()363 *conn = tmp_conn; in open_sensor()370 struct sensing_connection *tmp_conn = *conn; in close_sensor() local372 if (tmp_conn == NULL) { in close_sensor()377 __ASSERT(!tmp_conn->sink, "sensor derived from device tree cannot be closed"); in close_sensor()379 __ASSERT(tmp_conn->source, "reporter should not be NULL"); in close_sensor()381 sys_slist_find_and_remove(&tmp_conn->source->client_list, &tmp_conn->snode); in close_sensor()[all …]