blob: 40d3e61c110af742d996bfb5bb08afe84688242f [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0 */
Stephen Warren4581b712016-06-17 09:43:59 -06002/*
3 * Copyright (c) 2016, NVIDIA CORPORATION.
Stephen Warren4581b712016-06-17 09:43:59 -06004 */
5
6#ifndef __SANDBOX_RESET_H
7#define __SANDBOX_RESET_H
8
9#include <common.h>
10
11struct udevice;
12
13int sandbox_reset_query(struct udevice *dev, unsigned long id);
Jean-Jacques Hiblotbad24332020-09-09 15:37:04 +053014int sandbox_reset_is_requested(struct udevice *dev, unsigned long id);
Stephen Warren4581b712016-06-17 09:43:59 -060015
16int sandbox_reset_test_get(struct udevice *dev);
Jean-Jacques Hiblotbad24332020-09-09 15:37:04 +053017int sandbox_reset_test_get_devm(struct udevice *dev);
Neil Armstrong91f5f8b2018-04-03 11:40:51 +020018int sandbox_reset_test_get_bulk(struct udevice *dev);
Jean-Jacques Hiblotbad24332020-09-09 15:37:04 +053019int sandbox_reset_test_get_bulk_devm(struct udevice *dev);
Stephen Warren4581b712016-06-17 09:43:59 -060020int sandbox_reset_test_assert(struct udevice *dev);
Neil Armstrong91f5f8b2018-04-03 11:40:51 +020021int sandbox_reset_test_assert_bulk(struct udevice *dev);
Stephen Warren4581b712016-06-17 09:43:59 -060022int sandbox_reset_test_deassert(struct udevice *dev);
Neil Armstrong91f5f8b2018-04-03 11:40:51 +020023int sandbox_reset_test_deassert_bulk(struct udevice *dev);
Stephen Warren4581b712016-06-17 09:43:59 -060024int sandbox_reset_test_free(struct udevice *dev);
Neil Armstrong91f5f8b2018-04-03 11:40:51 +020025int sandbox_reset_test_release_bulk(struct udevice *dev);
Stephen Warren4581b712016-06-17 09:43:59 -060026
27#endif