blob: f0709b41c09ff5364623768ccfac7e4b7ca57d15 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0 */
Stephen Warren6488e642016-06-17 09:43:59 -06002/*
3 * Copyright (c) 2016, NVIDIA CORPORATION.
Stephen Warren6488e642016-06-17 09:43:59 -06004 */
5
6#ifndef __SANDBOX_RESET_H
7#define __SANDBOX_RESET_H
8
Stephen Warren6488e642016-06-17 09:43:59 -06009struct udevice;
10
11int sandbox_reset_query(struct udevice *dev, unsigned long id);
Jean-Jacques Hiblot880c5c72020-09-09 15:37:04 +053012int sandbox_reset_is_requested(struct udevice *dev, unsigned long id);
Stephen Warren6488e642016-06-17 09:43:59 -060013
14int sandbox_reset_test_get(struct udevice *dev);
Jean-Jacques Hiblot880c5c72020-09-09 15:37:04 +053015int sandbox_reset_test_get_devm(struct udevice *dev);
Neil Armstrong20c633d2018-04-03 11:40:51 +020016int sandbox_reset_test_get_bulk(struct udevice *dev);
Jean-Jacques Hiblot880c5c72020-09-09 15:37:04 +053017int sandbox_reset_test_get_bulk_devm(struct udevice *dev);
Stephen Warren6488e642016-06-17 09:43:59 -060018int sandbox_reset_test_assert(struct udevice *dev);
Neil Armstrong20c633d2018-04-03 11:40:51 +020019int sandbox_reset_test_assert_bulk(struct udevice *dev);
Stephen Warren6488e642016-06-17 09:43:59 -060020int sandbox_reset_test_deassert(struct udevice *dev);
Neil Armstrong20c633d2018-04-03 11:40:51 +020021int sandbox_reset_test_deassert_bulk(struct udevice *dev);
Stephen Warren6488e642016-06-17 09:43:59 -060022int sandbox_reset_test_free(struct udevice *dev);
Neil Armstrong20c633d2018-04-03 11:40:51 +020023int sandbox_reset_test_release_bulk(struct udevice *dev);
Stephen Warren6488e642016-06-17 09:43:59 -060024
25#endif