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