Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2016, NVIDIA CORPORATION. |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __SANDBOX_RESET_H |
| 7 | #define __SANDBOX_RESET_H |
| 8 | |
| 9 | #include <common.h> |
| 10 | |
| 11 | struct udevice; |
| 12 | |
| 13 | int sandbox_reset_query(struct udevice *dev, unsigned long id); |
Jean-Jacques Hiblot | bad2433 | 2020-09-09 15:37:04 +0530 | [diff] [blame] | 14 | int sandbox_reset_is_requested(struct udevice *dev, unsigned long id); |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 15 | |
| 16 | int sandbox_reset_test_get(struct udevice *dev); |
Jean-Jacques Hiblot | bad2433 | 2020-09-09 15:37:04 +0530 | [diff] [blame] | 17 | int sandbox_reset_test_get_devm(struct udevice *dev); |
Neil Armstrong | 91f5f8b | 2018-04-03 11:40:51 +0200 | [diff] [blame] | 18 | int sandbox_reset_test_get_bulk(struct udevice *dev); |
Jean-Jacques Hiblot | bad2433 | 2020-09-09 15:37:04 +0530 | [diff] [blame] | 19 | int sandbox_reset_test_get_bulk_devm(struct udevice *dev); |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 20 | int sandbox_reset_test_assert(struct udevice *dev); |
Neil Armstrong | 91f5f8b | 2018-04-03 11:40:51 +0200 | [diff] [blame] | 21 | int sandbox_reset_test_assert_bulk(struct udevice *dev); |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 22 | int sandbox_reset_test_deassert(struct udevice *dev); |
Neil Armstrong | 91f5f8b | 2018-04-03 11:40:51 +0200 | [diff] [blame] | 23 | int sandbox_reset_test_deassert_bulk(struct udevice *dev); |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 24 | int sandbox_reset_test_free(struct udevice *dev); |
Neil Armstrong | 91f5f8b | 2018-04-03 11:40:51 +0200 | [diff] [blame] | 25 | int sandbox_reset_test_release_bulk(struct udevice *dev); |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 26 | |
| 27 | #endif |